blob: 18baeb2eb541833c83a546fc9d2691821f2d61fe [file] [log] [blame]
# Copyright 2014 PDFium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
group("third_party") {
deps = [
":bigint",
":freetype",
":pdfium_base",
]
}
source_set("bigint") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//third_party/pdfium:pdfium_config",
"//build/config/compiler:no_chromium_code",
]
sources = [
"bigint/BigInteger.cc",
"bigint/BigInteger.hh",
"bigint/BigIntegerLibrary.hh",
"bigint/BigIntegerUtils.cc",
"bigint/BigIntegerUtils.hh",
"bigint/BigUnsigned.cc",
"bigint/BigUnsigned.hh",
"bigint/BigUnsignedInABase.cc",
"bigint/BigUnsignedInABase.hh",
"bigint/NumberlikeArray.hh",
]
}
source_set("freetype") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//third_party/pdfium:pdfium_config",
"//build/config/compiler:no_chromium_code",
]
defines = [ "FT2_BUILD_LIBRARY" ]
sources = [
"freetype/include/freetype.h",
"freetype/include/ft2build.h",
"freetype/include/ftmm.h",
"freetype/include/ftotval.h",
"freetype/include/ftoutln.h",
"freetype/include/internal/ftobjs.h",
"freetype/include/internal/ftstream.h",
"freetype/include/internal/tttypes.h",
"freetype/include/tttables.h",
"freetype/src/base/ftbase.c",
"freetype/src/base/ftbitmap.c",
"freetype/src/base/ftglyph.c",
"freetype/src/base/ftinit.c",
"freetype/src/base/ftlcdfil.c",
"freetype/src/base/ftmm.c",
"freetype/src/base/ftsystem.c",
"freetype/src/cff/cff.c",
"freetype/src/cff/cffobjs.h",
"freetype/src/cff/cfftypes.h",
"freetype/src/cid/type1cid.c",
"freetype/src/psaux/psaux.c",
"freetype/src/pshinter/pshinter.c",
"freetype/src/psnames/psmodule.c",
"freetype/src/raster/raster.c",
"freetype/src/sfnt/sfnt.c",
"freetype/src/smooth/smooth.c",
"freetype/src/truetype/truetype.c",
"freetype/src/type1/type1.c",
]
}
source_set("pdfium_base") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//third_party/pdfium:pdfium_config",
"//build/config/compiler:no_chromium_code",
]
sources = [
"base/logging.h",
"base/macros.h",
"base/nonstd_unique_ptr.h",
"base/numerics/safe_conversions.h",
"base/numerics/safe_conversions_impl.h",
"base/numerics/safe_math.h",
"base/numerics/safe_math_impl.h",
"base/template_util.h",
]
}