Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: pdfium.gyp

Issue 1434543003: Merge to XFA: Fix all relative includes to third_party. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Fix XFA Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 PDFium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
1 { 5 {
2 'variables': { 6 'variables': {
3 # TODO(thakis): Enable this, pdfium:29 7 # TODO(thakis): Enable this, pdfium:29
4 #'chromium_code': 1, 8 #'chromium_code': 1,
5 'pdf_use_skia%': 0, 9 'pdf_use_skia%': 0,
6 'pdf_enable_v8%': 1, 10 'pdf_enable_v8%': 1,
7 'pdf_enable_xfa%': 1, 11 'pdf_enable_xfa%': 1,
8 'conditions': [ 12 'conditions': [
9 ['OS=="linux"', { 13 ['OS=="linux"', {
10 'bundle_freetype%': 0, 14 'bundle_freetype%': 0,
11 }, { # On Android there's no system FreeType. On Windows and Mac, only a 15 }, { # On Android there's no system FreeType. On Windows and Mac, only a
12 # few methods are used from it. 16 # few methods are used from it.
13 'bundle_freetype%': 1, 17 'bundle_freetype%': 1,
14 }], 18 }],
15 ], 19 ],
16 }, 20 },
17 'target_defaults': { 21 'target_defaults': {
18 'defines' : [ 22 'defines' : [
19 'OPJ_STATIC', 23 'OPJ_STATIC',
20 'PNG_PREFIX', 24 'PNG_PREFIX',
21 'PNGPREFIX_H', 25 'PNGPREFIX_H',
22 'PNG_USE_READ_MACROS', 26 'PNG_USE_READ_MACROS',
23 'V8_DEPRECATION_WARNINGS', 27 'V8_DEPRECATION_WARNINGS',
24 '_CRT_SECURE_NO_WARNINGS', 28 '_CRT_SECURE_NO_WARNINGS',
25 ], 29 ],
26 'include_dirs': [ 30 'include_dirs': [
31 # This is implicit in GN.
32 '<(DEPTH)',
33 '.',
27 'third_party/freetype/include', 34 'third_party/freetype/include',
28 'third_party/freetype/include/freetype', 35 'third_party/freetype/include/freetype',
29 ], 36 ],
30 'conditions': [ 37 'conditions': [
31 ['pdf_use_skia==1', { 38 ['pdf_use_skia==1', {
32 'defines': ['_SKIA_SUPPORT_'], 39 'defines': ['_SKIA_SUPPORT_'],
33 }], 40 }],
34 ['pdf_enable_v8==1', { 41 ['pdf_enable_v8==1', {
35 'defines': ['PDF_ENABLE_V8'], 42 'defines': ['PDF_ENABLE_V8'],
36 }], 43 }],
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 'core/src/fpdftext/txtproc.h', 334 'core/src/fpdftext/txtproc.h',
328 'core/src/fpdftext/unicodenormalization.cpp', 335 'core/src/fpdftext/unicodenormalization.cpp',
329 'core/src/fpdftext/unicodenormalizationdata.cpp', 336 'core/src/fpdftext/unicodenormalizationdata.cpp',
330 'core/src/fpdftext/unicodenormalizationdata.h', 337 'core/src/fpdftext/unicodenormalizationdata.h',
331 ], 338 ],
332 }, 339 },
333 { 340 {
334 'target_name': 'fxcodec', 341 'target_name': 'fxcodec',
335 'type': 'static_library', 342 'type': 'static_library',
336 'dependencies': [ 343 'dependencies': [
344 '<(libjpeg_gyp_path):libjpeg',
337 'third_party/third_party.gyp:fx_lcms2', 345 'third_party/third_party.gyp:fx_lcms2',
338 'third_party/third_party.gyp:fx_libjpeg',
339 'third_party/third_party.gyp:fx_libopenjpeg', 346 'third_party/third_party.gyp:fx_libopenjpeg',
340 'third_party/third_party.gyp:fx_lpng', 347 'third_party/third_party.gyp:fx_lpng',
341 'third_party/third_party.gyp:fx_tiff', 348 'third_party/third_party.gyp:fx_tiff',
342 'third_party/third_party.gyp:fx_zlib', 349 'third_party/third_party.gyp:fx_zlib',
343 ], 350 ],
344 'sources': [ 351 'sources': [
345 'core/include/fxcodec/fx_codec.h', 352 'core/include/fxcodec/fx_codec.h',
346 'core/include/fxcodec/fx_codec_def.h', 353 'core/include/fxcodec/fx_codec_def.h',
347 'core/include/fxcodec/fx_codec_flate.h', 354 'core/include/fxcodec/fx_codec_flate.h',
348 'core/src/fxcodec/codec/codec_int.h', 355 'core/src/fxcodec/codec/codec_int.h',
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 }, 757 },
751 { 758 {
752 'target_name': 'pdfium_unittests', 759 'target_name': 'pdfium_unittests',
753 'type': 'executable', 760 'type': 'executable',
754 'dependencies': [ 761 'dependencies': [
755 '<(DEPTH)/testing/gtest.gyp:gtest_main', 762 '<(DEPTH)/testing/gtest.gyp:gtest_main',
756 '<(DEPTH)/testing/gtest.gyp:gtest', 763 '<(DEPTH)/testing/gtest.gyp:gtest',
757 'pdfium', 764 'pdfium',
758 'test_support', 765 'test_support',
759 ], 766 ],
760 'include_dirs': [
761 '<(DEPTH)'
762 ],
763 'sources': [ 767 'sources': [
764 'core/src/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp', 768 'core/src/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp',
765 'core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp', 769 'core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp',
766 'core/src/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp', 770 'core/src/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp',
767 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp', 771 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp',
768 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp', 772 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp',
769 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp', 773 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp',
770 'core/src/fxcrt/fx_basic_bstring_unittest.cpp', 774 'core/src/fxcrt/fx_basic_bstring_unittest.cpp',
771 'core/src/fxcrt/fx_basic_memmgr_unittest.cpp', 775 'core/src/fxcrt/fx_basic_memmgr_unittest.cpp',
772 'core/src/fxcrt/fx_basic_wstring_unittest.cpp', 776 'core/src/fxcrt/fx_basic_wstring_unittest.cpp',
(...skipping 14 matching lines...) Expand all
787 }, 791 },
788 { 792 {
789 'target_name': 'pdfium_embeddertests', 793 'target_name': 'pdfium_embeddertests',
790 'type': 'executable', 794 'type': 'executable',
791 'dependencies': [ 795 'dependencies': [
792 '<(DEPTH)/testing/gmock.gyp:gmock', 796 '<(DEPTH)/testing/gmock.gyp:gmock',
793 '<(DEPTH)/testing/gtest.gyp:gtest', 797 '<(DEPTH)/testing/gtest.gyp:gtest',
794 'pdfium', 798 'pdfium',
795 'test_support', 799 'test_support',
796 ], 800 ],
797 'include_dirs': [
798 '<(DEPTH)',
799 ],
800 'sources': [ 801 'sources': [
801 'core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp', 802 'core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp',
802 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp', 803 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp',
803 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp', 804 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp',
804 'core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp', 805 'core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp',
805 'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp', 806 'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp',
806 'fpdfsdk/src/fpdfdoc_embeddertest.cpp', 807 'fpdfsdk/src/fpdfdoc_embeddertest.cpp',
807 'fpdfsdk/src/fpdfformfill_embeddertest.cpp', 808 'fpdfsdk/src/fpdfformfill_embeddertest.cpp',
808 'fpdfsdk/src/fpdftext_embeddertest.cpp', 809 'fpdfsdk/src/fpdftext_embeddertest.cpp',
809 'fpdfsdk/src/fpdfview_c_api_test.c', 810 'fpdfsdk/src/fpdfview_c_api_test.c',
(...skipping 21 matching lines...) Expand all
831 }], 832 }],
832 ], 833 ],
833 }, 834 },
834 { 835 {
835 'target_name': 'test_support', 836 'target_name': 'test_support',
836 'type': 'static_library', 837 'type': 'static_library',
837 'dependencies': [ 838 'dependencies': [
838 '<(DEPTH)/testing/gmock.gyp:gmock', 839 '<(DEPTH)/testing/gmock.gyp:gmock',
839 '<(DEPTH)/testing/gtest.gyp:gtest', 840 '<(DEPTH)/testing/gtest.gyp:gtest',
840 ], 841 ],
841 'include_dirs': [
842 '<(DEPTH)',
843 ],
844 'sources': [ 842 'sources': [
845 'testing/fx_string_testhelpers.cpp', 843 'testing/fx_string_testhelpers.cpp',
846 'testing/fx_string_testhelpers.h', 844 'testing/fx_string_testhelpers.h',
847 'testing/test_support.cpp', 845 'testing/test_support.cpp',
848 'testing/test_support.h', 846 'testing/test_support.h',
849 ], 847 ],
850 'conditions': [ 848 'conditions': [
851 ['pdf_enable_v8==1', { 849 ['pdf_enable_v8==1', {
852 'include_dirs': [ 850 'include_dirs': [
853 '<(DEPTH)/v8', 851 '<(DEPTH)/v8',
854 '<(DEPTH)/v8/include', 852 '<(DEPTH)/v8/include',
855 ], 853 ],
856 'dependencies': [ 854 'dependencies': [
857 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 855 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
858 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', 856 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
859 ], 857 ],
860 }], 858 }],
861 ], 859 ],
862 }, 860 },
863 ], 861 ],
864 } 862 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp ('k') | samples/image_diff.cc » ('j') | xfa.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698