OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("pdfium.gni") | 6 import("pdfium.gni") |
7 | 7 |
8 config("pdfium_config") { | 8 config("pdfium_config") { |
9 cflags = [] | 9 cflags = [] |
10 include_dirs = [ | 10 include_dirs = [ |
| 11 ".", |
11 "third_party/freetype/include", | 12 "third_party/freetype/include", |
12 "third_party/freetype/include/freetype", | 13 "third_party/freetype/include/freetype", |
13 ] | 14 ] |
14 defines = [ | 15 defines = [ |
15 "OPJ_STATIC", | 16 "OPJ_STATIC", |
16 "PNG_PREFIX", | 17 "PNG_PREFIX", |
17 "PNGPREFIX_H", | 18 "PNGPREFIX_H", |
18 "PNG_USE_READ_MACROS", | 19 "PNG_USE_READ_MACROS", |
19 "V8_DEPRECATION_WARNINGS", | 20 "V8_DEPRECATION_WARNINGS", |
20 "_CRT_SECURE_NO_WARNINGS", | 21 "_CRT_SECURE_NO_WARNINGS", |
(...skipping 21 matching lines...) Expand all Loading... |
42 } | 43 } |
43 | 44 |
44 if (is_win) { | 45 if (is_win) { |
45 cflags += [ | 46 cflags += [ |
46 "/wd4005", | 47 "/wd4005", |
47 "/wd4018", | 48 "/wd4018", |
48 "/wd4146", | 49 "/wd4146", |
49 "/wd4333", | 50 "/wd4333", |
50 "/wd4345", | 51 "/wd4345", |
51 "/wd4267", | 52 "/wd4267", |
| 53 |
52 # TODO(thestig): Fix all instances, remove this, pdfium:29 | 54 # TODO(thestig): Fix all instances, remove this, pdfium:29 |
53 "/wd4245", | 55 "/wd4245", |
54 "/wd4310", | 56 "/wd4310", |
55 "/wd4389", | 57 "/wd4389", |
56 "/wd4701", | 58 "/wd4701", |
57 "/wd4702", | 59 "/wd4702", |
58 "/wd4706", | 60 "/wd4706", |
59 "/wd4800", | 61 "/wd4800", |
60 ] | 62 ] |
61 } | 63 } |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 "testing/fx_string_testhelpers.cpp", | 164 "testing/fx_string_testhelpers.cpp", |
163 "testing/fx_string_testhelpers.h", | 165 "testing/fx_string_testhelpers.h", |
164 "testing/test_support.cpp", | 166 "testing/test_support.cpp", |
165 "testing/test_support.h", | 167 "testing/test_support.h", |
166 ] | 168 ] |
167 deps = [ | 169 deps = [ |
168 "//testing/gmock", | 170 "//testing/gmock", |
169 "//testing/gtest", | 171 "//testing/gtest", |
170 ":pdfium", | 172 ":pdfium", |
171 ] | 173 ] |
172 include_dirs = [ | 174 include_dirs = [] |
173 "." | |
174 ] | |
175 if (pdf_enable_v8) { | 175 if (pdf_enable_v8) { |
176 deps += [ | 176 deps += [ |
177 "//v8", | 177 "//v8", |
178 "//v8:v8_libplatform", | 178 "//v8:v8_libplatform", |
179 ] | 179 ] |
180 include_dirs += [ | 180 include_dirs += [ |
181 "//v8", | 181 "//v8", |
182 "//v8/include", | 182 "//v8/include", |
183 ] | 183 ] |
184 } | 184 } |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 "core/src/fpdftext/unicodenormalization.cpp", | 358 "core/src/fpdftext/unicodenormalization.cpp", |
359 "core/src/fpdftext/unicodenormalizationdata.cpp", | 359 "core/src/fpdftext/unicodenormalizationdata.cpp", |
360 "core/src/fpdftext/unicodenormalizationdata.h", | 360 "core/src/fpdftext/unicodenormalizationdata.h", |
361 ] | 361 ] |
362 configs += [ ":pdfium_config" ] | 362 configs += [ ":pdfium_config" ] |
363 } | 363 } |
364 | 364 |
365 static_library("fxcodec") { | 365 static_library("fxcodec") { |
366 deps = [ | 366 deps = [ |
367 "third_party:fx_lcms2", | 367 "third_party:fx_lcms2", |
368 "third_party:fx_libjpeg", | |
369 "third_party:fx_libopenjpeg", | 368 "third_party:fx_libopenjpeg", |
370 "third_party:fx_lpng", | 369 "third_party:fx_lpng", |
371 "third_party:fx_tiff", | 370 "third_party:fx_tiff", |
372 "third_party:fx_zlib", | 371 "third_party:fx_zlib", |
| 372 |
| 373 # This is a generic JPEG library dependency. |
| 374 "//third_party:jpeg", |
373 ] | 375 ] |
374 sources = [ | 376 sources = [ |
375 "core/include/fxcodec/fx_codec.h", | 377 "core/include/fxcodec/fx_codec.h", |
376 "core/include/fxcodec/fx_codec_def.h", | 378 "core/include/fxcodec/fx_codec_def.h", |
377 "core/include/fxcodec/fx_codec_flate.h", | 379 "core/include/fxcodec/fx_codec_flate.h", |
378 "core/src/fxcodec/codec/codec_int.h", | 380 "core/src/fxcodec/codec/codec_int.h", |
379 "core/src/fxcodec/codec/fx_codec.cpp", | 381 "core/src/fxcodec/codec/fx_codec.cpp", |
380 "core/src/fxcodec/codec/fx_codec_bmp.cpp", | 382 "core/src/fxcodec/codec/fx_codec_bmp.cpp", |
381 "core/src/fxcodec/codec/fx_codec_fax.cpp", | 383 "core/src/fxcodec/codec/fx_codec_fax.cpp", |
382 "core/src/fxcodec/codec/fx_codec_flate.cpp", | 384 "core/src/fxcodec/codec/fx_codec_flate.cpp", |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 "core/src/fxcodec/jbig2/JBig2_Segment.h", | 428 "core/src/fxcodec/jbig2/JBig2_Segment.h", |
427 "core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp", | 429 "core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp", |
428 "core/src/fxcodec/jbig2/JBig2_SymbolDict.h", | 430 "core/src/fxcodec/jbig2/JBig2_SymbolDict.h", |
429 "core/src/fxcodec/jbig2/JBig2_TrdProc.cpp", | 431 "core/src/fxcodec/jbig2/JBig2_TrdProc.cpp", |
430 "core/src/fxcodec/jbig2/JBig2_TrdProc.h", | 432 "core/src/fxcodec/jbig2/JBig2_TrdProc.h", |
431 "core/src/fxcodec/lbmp/fx_bmp.cpp", | 433 "core/src/fxcodec/lbmp/fx_bmp.cpp", |
432 "core/src/fxcodec/lbmp/fx_bmp.h", | 434 "core/src/fxcodec/lbmp/fx_bmp.h", |
433 "core/src/fxcodec/lgif/fx_gif.cpp", | 435 "core/src/fxcodec/lgif/fx_gif.cpp", |
434 "core/src/fxcodec/lgif/fx_gif.h", | 436 "core/src/fxcodec/lgif/fx_gif.h", |
435 ] | 437 ] |
| 438 include_dirs = [] |
436 | 439 |
437 if (is_posix) { | 440 if (is_posix) { |
438 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int | 441 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int |
439 # conversion to check that an address is 16-bit aligned (benign). | 442 # conversion to check that an address is 16-bit aligned (benign). |
440 cflags_c = [ "-Wno-pointer-to-int-cast" ] | 443 cflags_c = [ "-Wno-pointer-to-int-cast" ] |
441 } | 444 } |
442 configs += [ ":pdfium_config" ] | 445 configs += [ ":pdfium_config" ] |
443 } | 446 } |
444 | 447 |
445 config("fxge_warnings") { | 448 config("fxge_warnings") { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 "core/src/fxge/apple/apple_int.h", | 528 "core/src/fxge/apple/apple_int.h", |
526 "core/src/fxge/apple/fx_apple_platform.cpp", | 529 "core/src/fxge/apple/fx_apple_platform.cpp", |
527 "core/src/fxge/apple/fx_mac_imp.cpp", | 530 "core/src/fxge/apple/fx_mac_imp.cpp", |
528 "core/src/fxge/apple/fx_quartz_device.cpp", | 531 "core/src/fxge/apple/fx_quartz_device.cpp", |
529 "core/src/fxge/dib/dib_int.h", | 532 "core/src/fxge/dib/dib_int.h", |
530 "core/src/fxge/dib/fx_dib_composite.cpp", | 533 "core/src/fxge/dib/fx_dib_composite.cpp", |
531 "core/src/fxge/dib/fx_dib_convert.cpp", | 534 "core/src/fxge/dib/fx_dib_convert.cpp", |
532 "core/src/fxge/dib/fx_dib_engine.cpp", | 535 "core/src/fxge/dib/fx_dib_engine.cpp", |
533 "core/src/fxge/dib/fx_dib_main.cpp", | 536 "core/src/fxge/dib/fx_dib_main.cpp", |
534 "core/src/fxge/dib/fx_dib_transform.cpp", | 537 "core/src/fxge/dib/fx_dib_transform.cpp", |
535 "core/src/fxge/fontdata/chromefontdata/chromefontdata.h", | |
536 "core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c", | 538 "core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c", |
537 "core/src/fxge/fontdata/chromefontdata/FoxitFixed.c", | 539 "core/src/fxge/fontdata/chromefontdata/FoxitFixed.c", |
538 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c", | 540 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c", |
539 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c", | 541 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c", |
540 "core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c", | 542 "core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c", |
541 "core/src/fxge/fontdata/chromefontdata/FoxitSans.c", | 543 "core/src/fxge/fontdata/chromefontdata/FoxitSans.c", |
542 "core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c", | 544 "core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c", |
543 "core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c", | 545 "core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c", |
544 "core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c", | 546 "core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c", |
545 "core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c", | 547 "core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c", |
546 "core/src/fxge/fontdata/chromefontdata/FoxitSerif.c", | 548 "core/src/fxge/fontdata/chromefontdata/FoxitSerif.c", |
547 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c", | 549 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c", |
548 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c", | 550 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c", |
549 "core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c", | 551 "core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c", |
550 "core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c", | 552 "core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c", |
551 "core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c", | 553 "core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c", |
| 554 "core/src/fxge/fontdata/chromefontdata/chromefontdata.h", |
552 "core/src/fxge/freetype/fx_freetype.c", | 555 "core/src/fxge/freetype/fx_freetype.c", |
553 "core/src/fxge/ge/fx_ge.cpp", | 556 "core/src/fxge/ge/fx_ge.cpp", |
554 "core/src/fxge/ge/fx_ge_device.cpp", | 557 "core/src/fxge/ge/fx_ge_device.cpp", |
555 "core/src/fxge/ge/fx_ge_font.cpp", | 558 "core/src/fxge/ge/fx_ge_font.cpp", |
556 "core/src/fxge/ge/fx_ge_fontmap.cpp", | 559 "core/src/fxge/ge/fx_ge_fontmap.cpp", |
557 "core/src/fxge/ge/fx_ge_linux.cpp", | 560 "core/src/fxge/ge/fx_ge_linux.cpp", |
558 "core/src/fxge/ge/fx_ge_path.cpp", | 561 "core/src/fxge/ge/fx_ge_path.cpp", |
559 "core/src/fxge/ge/fx_ge_ps.cpp", | 562 "core/src/fxge/ge/fx_ge_ps.cpp", |
560 "core/src/fxge/ge/fx_ge_text.cpp", | 563 "core/src/fxge/ge/fx_ge_text.cpp", |
561 "core/src/fxge/ge/text_int.h", | 564 "core/src/fxge/ge/text_int.h", |
(...skipping 12 matching lines...) Expand all Loading... |
574 include_dirs = [ | 577 include_dirs = [ |
575 "//third_party/skia/include/config", | 578 "//third_party/skia/include/config", |
576 "//third_party/skia/include/core", | 579 "//third_party/skia/include/core", |
577 "//third_party/skia/include/effects", | 580 "//third_party/skia/include/effects", |
578 "//third_party/skia/include/images", | 581 "//third_party/skia/include/images", |
579 "//third_party/skia/include/lazy", | 582 "//third_party/skia/include/lazy", |
580 "//third_party/skia/include/pathops", | 583 "//third_party/skia/include/pathops", |
581 "//third_party/skia/include/utils", | 584 "//third_party/skia/include/utils", |
582 "//third_party/skia/src/core", | 585 "//third_party/skia/src/core", |
583 ] | 586 ] |
584 deps = [ "//skia" ] | 587 deps = [ |
| 588 "//skia", |
| 589 ] |
585 } | 590 } |
586 | 591 |
587 if (is_win) { | 592 if (is_win) { |
588 sources += [ | 593 sources += [ |
589 "core/src/fxge/win32/dwrite_int.h", | 594 "core/src/fxge/win32/dwrite_int.h", |
590 "core/src/fxge/win32/fx_win32_device.cpp", | 595 "core/src/fxge/win32/fx_win32_device.cpp", |
591 "core/src/fxge/win32/fx_win32_dib.cpp", | 596 "core/src/fxge/win32/fx_win32_dib.cpp", |
592 "core/src/fxge/win32/fx_win32_dwrite.cpp", | 597 "core/src/fxge/win32/fx_win32_dwrite.cpp", |
593 "core/src/fxge/win32/fx_win32_gdipext.cpp", | 598 "core/src/fxge/win32/fx_win32_gdipext.cpp", |
594 "core/src/fxge/win32/fx_win32_print.cpp", | 599 "core/src/fxge/win32/fx_win32_print.cpp", |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 ] | 662 ] |
658 configs += [ ":pdfium_config" ] | 663 configs += [ ":pdfium_config" ] |
659 } | 664 } |
660 | 665 |
661 static_library("javascript") { | 666 static_library("javascript") { |
662 sources = [ | 667 sources = [ |
663 "fpdfsdk/include/javascript/IJavaScript.h", | 668 "fpdfsdk/include/javascript/IJavaScript.h", |
664 ] | 669 ] |
665 if (pdf_enable_v8) { | 670 if (pdf_enable_v8) { |
666 sources += [ | 671 sources += [ |
| 672 "fpdfsdk/include/jsapi/fxjs_v8.h", |
667 "fpdfsdk/src/javascript/Consts.cpp", | 673 "fpdfsdk/src/javascript/Consts.cpp", |
668 "fpdfsdk/src/javascript/Consts.h", | 674 "fpdfsdk/src/javascript/Consts.h", |
669 "fpdfsdk/src/javascript/Document.cpp", | 675 "fpdfsdk/src/javascript/Document.cpp", |
670 "fpdfsdk/src/javascript/Document.h", | 676 "fpdfsdk/src/javascript/Document.h", |
671 "fpdfsdk/src/javascript/Field.cpp", | 677 "fpdfsdk/src/javascript/Field.cpp", |
672 "fpdfsdk/src/javascript/Field.h", | 678 "fpdfsdk/src/javascript/Field.h", |
673 "fpdfsdk/src/javascript/Icon.cpp", | 679 "fpdfsdk/src/javascript/Icon.cpp", |
674 "fpdfsdk/src/javascript/Icon.h", | 680 "fpdfsdk/src/javascript/Icon.h", |
675 "fpdfsdk/src/javascript/JS_Context.cpp", | 681 "fpdfsdk/src/javascript/JS_Context.cpp", |
676 "fpdfsdk/src/javascript/JS_Context.h", | 682 "fpdfsdk/src/javascript/JS_Context.h", |
(...skipping 19 matching lines...) Expand all Loading... |
696 "fpdfsdk/src/javascript/event.cpp", | 702 "fpdfsdk/src/javascript/event.cpp", |
697 "fpdfsdk/src/javascript/event.h", | 703 "fpdfsdk/src/javascript/event.h", |
698 "fpdfsdk/src/javascript/global.cpp", | 704 "fpdfsdk/src/javascript/global.cpp", |
699 "fpdfsdk/src/javascript/global.h", | 705 "fpdfsdk/src/javascript/global.h", |
700 "fpdfsdk/src/javascript/report.cpp", | 706 "fpdfsdk/src/javascript/report.cpp", |
701 "fpdfsdk/src/javascript/report.h", | 707 "fpdfsdk/src/javascript/report.h", |
702 "fpdfsdk/src/javascript/resource.cpp", | 708 "fpdfsdk/src/javascript/resource.cpp", |
703 "fpdfsdk/src/javascript/resource.h", | 709 "fpdfsdk/src/javascript/resource.h", |
704 "fpdfsdk/src/javascript/util.cpp", | 710 "fpdfsdk/src/javascript/util.cpp", |
705 "fpdfsdk/src/javascript/util.h", | 711 "fpdfsdk/src/javascript/util.h", |
706 "fpdfsdk/include/jsapi/fxjs_v8.h", | |
707 "fpdfsdk/src/jsapi/fxjs_v8.cpp", | 712 "fpdfsdk/src/jsapi/fxjs_v8.cpp", |
708 ] | 713 ] |
709 include_dirs = [ | 714 include_dirs = [ |
710 "//v8", | 715 "//v8", |
711 "//v8/include", | 716 "//v8/include", |
712 ] | 717 ] |
713 public_deps = [ | 718 public_deps = [ |
714 "//v8", | 719 "//v8", |
715 ] | 720 ] |
716 } else { | 721 } else { |
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1398 "xfa/src/fxfa/src/parser/xfa_script_resolveprocessor.cpp", | 1403 "xfa/src/fxfa/src/parser/xfa_script_resolveprocessor.cpp", |
1399 "xfa/src/fxfa/src/parser/xfa_script_resolveprocessor.h", | 1404 "xfa/src/fxfa/src/parser/xfa_script_resolveprocessor.h", |
1400 "xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp", | 1405 "xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp", |
1401 "xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.h", | 1406 "xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.h", |
1402 "xfa/src/fxfa/src/parser/xfa_utils_imp.cpp", | 1407 "xfa/src/fxfa/src/parser/xfa_utils_imp.cpp", |
1403 "xfa/src/fxgraphics/src/fx_graphics.cpp", | 1408 "xfa/src/fxgraphics/src/fx_graphics.cpp", |
1404 "xfa/src/fxgraphics/src/fx_path_generator.cpp", | 1409 "xfa/src/fxgraphics/src/fx_path_generator.cpp", |
1405 "xfa/src/fxgraphics/src/fx_path_generator.h", | 1410 "xfa/src/fxgraphics/src/fx_path_generator.h", |
1406 "xfa/src/fxgraphics/src/pre.h", | 1411 "xfa/src/fxgraphics/src/pre.h", |
1407 ] | 1412 ] |
| 1413 include_dirs = [ |
| 1414 ".", |
| 1415 ] |
1408 if (pdf_enable_v8) { | 1416 if (pdf_enable_v8) { |
1409 sources += [ | 1417 sources += [ |
1410 "xfa/src/fxjse/src/class.cpp", | 1418 "xfa/src/fxjse/src/class.cpp", |
1411 "xfa/src/fxjse/src/class.h", | 1419 "xfa/src/fxjse/src/class.h", |
1412 "xfa/src/fxjse/src/context.cpp", | 1420 "xfa/src/fxjse/src/context.cpp", |
1413 "xfa/src/fxjse/src/context.h", | 1421 "xfa/src/fxjse/src/context.h", |
1414 "xfa/src/fxjse/src/dynprop.cpp", | 1422 "xfa/src/fxjse/src/dynprop.cpp", |
1415 "xfa/src/fxjse/src/runtime.cpp", | 1423 "xfa/src/fxjse/src/runtime.cpp", |
1416 "xfa/src/fxjse/src/runtime.h", | 1424 "xfa/src/fxjse/src/runtime.h", |
1417 "xfa/src/fxjse/src/scope_inline.h", | 1425 "xfa/src/fxjse/src/scope_inline.h", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1453 "third_party/base/nonstd_unique_ptr_unittest.cpp", | 1461 "third_party/base/nonstd_unique_ptr_unittest.cpp", |
1454 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", | 1462 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", |
1455 "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp", | 1463 "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp", |
1456 ] | 1464 ] |
1457 deps = [ | 1465 deps = [ |
1458 "//testing/gtest", | 1466 "//testing/gtest", |
1459 "//testing/gtest:gtest_main", | 1467 "//testing/gtest:gtest_main", |
1460 ":pdfium", | 1468 ":pdfium", |
1461 ":test_support", | 1469 ":test_support", |
1462 ] | 1470 ] |
1463 include_dirs = [ "." ] | |
1464 configs += [ ":pdfium_config" ] | 1471 configs += [ ":pdfium_config" ] |
1465 } | 1472 } |
1466 | 1473 |
1467 test("pdfium_embeddertests") { | 1474 test("pdfium_embeddertests") { |
1468 sources = [ | 1475 sources = [ |
1469 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", | 1476 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", |
1470 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", | 1477 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
1471 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", | 1478 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", |
1472 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", | 1479 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", |
1473 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", | 1480 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", |
1474 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 1481 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
1475 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", | 1482 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", |
1476 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 1483 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
1477 "fpdfsdk/src/fpdfview_c_api_test.c", | 1484 "fpdfsdk/src/fpdfview_c_api_test.c", |
1478 "fpdfsdk/src/fpdfview_c_api_test.h", | 1485 "fpdfsdk/src/fpdfview_c_api_test.h", |
1479 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 1486 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
1480 "testing/embedder_test.cpp", | 1487 "testing/embedder_test.cpp", |
1481 "testing/embedder_test.h", | 1488 "testing/embedder_test.h", |
1482 "testing/embedder_test_mock_delegate.h", | 1489 "testing/embedder_test_mock_delegate.h", |
1483 "testing/embedder_test_timer_handling_delegate.h", | 1490 "testing/embedder_test_timer_handling_delegate.h", |
1484 "xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp", | 1491 "xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp", |
1485 ] | 1492 ] |
1486 deps = [ | 1493 deps = [ |
1487 "//testing/gmock", | 1494 "//testing/gmock", |
1488 "//testing/gtest", | 1495 "//testing/gtest", |
1489 ":pdfium", | 1496 ":pdfium", |
1490 ":test_support", | 1497 ":test_support", |
1491 ] | 1498 ] |
1492 include_dirs = [ | 1499 include_dirs = [] |
1493 "." | |
1494 ] | |
1495 if (pdf_enable_v8) { | 1500 if (pdf_enable_v8) { |
1496 sources += [ | 1501 sources += [ "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp" ] |
1497 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp" | |
1498 ] | |
1499 deps += [ | 1502 deps += [ |
1500 "//v8", | 1503 "//v8", |
1501 "//v8:v8_libplatform", | 1504 "//v8:v8_libplatform", |
1502 ] | 1505 ] |
1503 include_dirs += [ | 1506 include_dirs += [ |
1504 "//v8", | 1507 "//v8", |
1505 "//v8/include", | 1508 "//v8/include", |
1506 ] | 1509 ] |
1507 } | 1510 } |
1508 configs += [ ":pdfium_config" ] | 1511 configs += [ ":pdfium_config" ] |
1509 } | 1512 } |
OLD | NEW |