summaryrefslogtreecommitdiff
path: root/third_party/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-17 11:05:02 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-17 11:05:02 -0700
commit8be557542973c786d1024a7bfb300df230f00464 (patch)
tree128ced2e83deea3920b043404336bc7ca9b0d1ef /third_party/BUILD.gn
parentb7d358b498800e4c240d381fa6f098af17a4d95b (diff)
downloadpdfium-8be557542973c786d1024a7bfb300df230f00464.tar.xz
Merge to XFA: Move lcms2 into third_party
Original Review URL: https://codereview.chromium.org/1181943008. TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1187273006.
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r--third_party/BUILD.gn88
1 files changed, 62 insertions, 26 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 9353b112a6..f5f0626ea7 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -30,31 +30,6 @@ static_library("bigint") {
]
}
-source_set("fx_agg") {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [
- "//build/config/compiler:no_chromium_code",
- "//third_party/pdfium:pdfium_config",
- ]
- sources = [
- "agg23/agg_basics.h",
- "agg23/agg_clip_liang_barsky.h",
- "agg23/agg_conv_dash.h",
- "agg23/agg_conv_stroke.h",
- "agg23/agg_curves.cpp",
- "agg23/agg_curves.h",
- "agg23/agg_path_storage.cpp",
- "agg23/agg_path_storage.h",
- "agg23/agg_rasterizer_scanline_aa.cpp",
- "agg23/agg_rasterizer_scanline_aa.h",
- "agg23/agg_renderer_scanline.h",
- "agg23/agg_rendering_buffer.h",
- "agg23/agg_scanline_u.h",
- "agg23/agg_vcgen_dash.cpp",
- "agg23/agg_vcgen_stroke.cpp",
- ]
-}
-
source_set("freetype") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
@@ -94,6 +69,68 @@ source_set("freetype") {
]
}
+source_set("fx_agg") {
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [
+ "//build/config/compiler:no_chromium_code",
+ "//third_party/pdfium:pdfium_config",
+ ]
+ sources = [
+ "agg23/agg_basics.h",
+ "agg23/agg_clip_liang_barsky.h",
+ "agg23/agg_conv_dash.h",
+ "agg23/agg_conv_stroke.h",
+ "agg23/agg_curves.cpp",
+ "agg23/agg_curves.h",
+ "agg23/agg_path_storage.cpp",
+ "agg23/agg_path_storage.h",
+ "agg23/agg_rasterizer_scanline_aa.cpp",
+ "agg23/agg_rasterizer_scanline_aa.h",
+ "agg23/agg_renderer_scanline.h",
+ "agg23/agg_rendering_buffer.h",
+ "agg23/agg_scanline_u.h",
+ "agg23/agg_vcgen_dash.cpp",
+ "agg23/agg_vcgen_stroke.cpp",
+ ]
+}
+
+source_set("fx_lcms2") {
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [
+ "//build/config/compiler:no_chromium_code",
+ "//third_party/pdfium:pdfium_config",
+ ]
+ sources = [
+ "lcms2-2.6/include/lcms2.h",
+ "lcms2-2.6/include/lcms2_plugin.h",
+ "lcms2-2.6/src/cmscam02.c",
+ "lcms2-2.6/src/cmscgats.c",
+ "lcms2-2.6/src/cmscnvrt.c",
+ "lcms2-2.6/src/cmserr.c",
+ "lcms2-2.6/src/cmsgamma.c",
+ "lcms2-2.6/src/cmsgmt.c",
+ "lcms2-2.6/src/cmshalf.c",
+ "lcms2-2.6/src/cmsintrp.c",
+ "lcms2-2.6/src/cmsio0.c",
+ "lcms2-2.6/src/cmsio1.c",
+ "lcms2-2.6/src/cmslut.c",
+ "lcms2-2.6/src/cmsmd5.c",
+ "lcms2-2.6/src/cmsmtrx.c",
+ "lcms2-2.6/src/cmsnamed.c",
+ "lcms2-2.6/src/cmsopt.c",
+ "lcms2-2.6/src/cmspack.c",
+ "lcms2-2.6/src/cmspcs.c",
+ "lcms2-2.6/src/cmsplugin.c",
+ "lcms2-2.6/src/cmsps2.c",
+ "lcms2-2.6/src/cmssamp.c",
+ "lcms2-2.6/src/cmssm.c",
+ "lcms2-2.6/src/cmstypes.c",
+ "lcms2-2.6/src/cmsvirt.c",
+ "lcms2-2.6/src/cmswtpnt.c",
+ "lcms2-2.6/src/cmsxform.c",
+ ]
+}
+
component("pdfium_base") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
@@ -111,4 +148,3 @@ component("pdfium_base") {
"base/template_util.h",
]
}
-