Chromium Code Reviews| 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 = [ "third_party/freetype/include" ] | 10 include_dirs = [ |
| 11 ".", | |
| 12 "third_party/freetype/include", | |
| 13 ] | |
| 11 defines = [ | 14 defines = [ |
| 12 "OPJ_STATIC", | 15 "OPJ_STATIC", |
| 13 "V8_DEPRECATION_WARNINGS", | 16 "V8_DEPRECATION_WARNINGS", |
| 14 "_CRT_SECURE_NO_WARNINGS", | 17 "_CRT_SECURE_NO_WARNINGS", |
| 15 ] | 18 ] |
| 16 | 19 |
| 17 if (pdf_use_skia) { | 20 if (pdf_use_skia) { |
| 18 defines += [ "_SKIA_SUPPORT_" ] | 21 defines += [ "_SKIA_SUPPORT_" ] |
| 19 } | 22 } |
| 20 | 23 |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 32 } | 35 } |
| 33 | 36 |
| 34 if (is_win) { | 37 if (is_win) { |
| 35 cflags += [ | 38 cflags += [ |
| 36 "/wd4005", | 39 "/wd4005", |
| 37 "/wd4018", | 40 "/wd4018", |
| 38 "/wd4146", | 41 "/wd4146", |
| 39 "/wd4333", | 42 "/wd4333", |
| 40 "/wd4345", | 43 "/wd4345", |
| 41 "/wd4267", | 44 "/wd4267", |
| 45 | |
| 42 # TODO(thestig): Fix all instances, remove this, pdfium:29 | 46 # TODO(thestig): Fix all instances, remove this, pdfium:29 |
| 43 "/wd4245", | 47 "/wd4245", |
| 44 "/wd4310", | 48 "/wd4310", |
| 45 "/wd4389", | 49 "/wd4389", |
| 46 "/wd4701", | 50 "/wd4701", |
| 47 "/wd4702", | 51 "/wd4702", |
| 48 "/wd4706", | 52 "/wd4706", |
| 49 "/wd4800", | 53 "/wd4800", |
| 50 ] | 54 ] |
| 51 } | 55 } |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 147 "testing/fx_string_testhelpers.cpp", | 151 "testing/fx_string_testhelpers.cpp", |
| 148 "testing/fx_string_testhelpers.h", | 152 "testing/fx_string_testhelpers.h", |
| 149 "testing/test_support.cpp", | 153 "testing/test_support.cpp", |
| 150 "testing/test_support.h", | 154 "testing/test_support.h", |
| 151 ] | 155 ] |
| 152 deps = [ | 156 deps = [ |
| 153 "//testing/gmock", | 157 "//testing/gmock", |
| 154 "//testing/gtest", | 158 "//testing/gtest", |
| 155 ":pdfium", | 159 ":pdfium", |
| 156 ] | 160 ] |
| 157 include_dirs = [ | 161 include_dirs = [] |
|
Tom Sepez
2015/11/05 22:09:26
This can be removed entirely?
Lei Zhang
2015/11/06 00:13:37
I think we need this for the include_dirs += [foo]
Tom Sepez
2015/11/06 00:17:19
Yes, you do, I remember getting burned by this bef
| |
| 158 "." | |
| 159 ] | |
| 160 if (pdf_enable_v8) { | 162 if (pdf_enable_v8) { |
| 161 deps += [ | 163 deps += [ |
| 162 "//v8", | 164 "//v8", |
| 163 "//v8:v8_libplatform", | 165 "//v8:v8_libplatform", |
| 164 ] | 166 ] |
| 165 include_dirs += [ | 167 include_dirs += [ |
| 166 "//v8", | 168 "//v8", |
| 167 "//v8/include", | 169 "//v8/include", |
| 168 ] | 170 ] |
| 169 } | 171 } |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 344 "core/src/fpdftext/unicodenormalization.cpp", | 346 "core/src/fpdftext/unicodenormalization.cpp", |
| 345 "core/src/fpdftext/unicodenormalizationdata.cpp", | 347 "core/src/fpdftext/unicodenormalizationdata.cpp", |
| 346 "core/src/fpdftext/unicodenormalizationdata.h", | 348 "core/src/fpdftext/unicodenormalizationdata.h", |
| 347 ] | 349 ] |
| 348 configs += [ ":pdfium_config" ] | 350 configs += [ ":pdfium_config" ] |
| 349 } | 351 } |
| 350 | 352 |
| 351 static_library("fxcodec") { | 353 static_library("fxcodec") { |
| 352 deps = [ | 354 deps = [ |
| 353 "third_party:fx_lcms2", | 355 "third_party:fx_lcms2", |
| 354 "third_party:fx_libjpeg", | |
| 355 "third_party:fx_libopenjpeg", | 356 "third_party:fx_libopenjpeg", |
| 356 "third_party:fx_zlib", | 357 "third_party:fx_zlib", |
| 358 | |
| 359 # This is a generic JPEG library dependency. | |
| 360 "//third_party:jpeg", | |
| 357 ] | 361 ] |
| 358 sources = [ | 362 sources = [ |
| 359 "core/include/fxcodec/fx_codec.h", | 363 "core/include/fxcodec/fx_codec.h", |
| 360 "core/include/fxcodec/fx_codec_def.h", | 364 "core/include/fxcodec/fx_codec_def.h", |
| 361 "core/include/fxcodec/fx_codec_flate.h", | 365 "core/include/fxcodec/fx_codec_flate.h", |
| 362 "core/src/fxcodec/codec/codec_int.h", | 366 "core/src/fxcodec/codec/codec_int.h", |
| 363 "core/src/fxcodec/codec/fx_codec.cpp", | 367 "core/src/fxcodec/codec/fx_codec.cpp", |
| 364 "core/src/fxcodec/codec/fx_codec_fax.cpp", | 368 "core/src/fxcodec/codec/fx_codec_fax.cpp", |
| 365 "core/src/fxcodec/codec/fx_codec_flate.cpp", | 369 "core/src/fxcodec/codec/fx_codec_flate.cpp", |
| 366 "core/src/fxcodec/codec/fx_codec_icc.cpp", | 370 "core/src/fxcodec/codec/fx_codec_icc.cpp", |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 400 "core/src/fxcodec/jbig2/JBig2_PddProc.h", | 404 "core/src/fxcodec/jbig2/JBig2_PddProc.h", |
| 401 "core/src/fxcodec/jbig2/JBig2_SddProc.cpp", | 405 "core/src/fxcodec/jbig2/JBig2_SddProc.cpp", |
| 402 "core/src/fxcodec/jbig2/JBig2_SddProc.h", | 406 "core/src/fxcodec/jbig2/JBig2_SddProc.h", |
| 403 "core/src/fxcodec/jbig2/JBig2_Segment.cpp", | 407 "core/src/fxcodec/jbig2/JBig2_Segment.cpp", |
| 404 "core/src/fxcodec/jbig2/JBig2_Segment.h", | 408 "core/src/fxcodec/jbig2/JBig2_Segment.h", |
| 405 "core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp", | 409 "core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp", |
| 406 "core/src/fxcodec/jbig2/JBig2_SymbolDict.h", | 410 "core/src/fxcodec/jbig2/JBig2_SymbolDict.h", |
| 407 "core/src/fxcodec/jbig2/JBig2_TrdProc.cpp", | 411 "core/src/fxcodec/jbig2/JBig2_TrdProc.cpp", |
| 408 "core/src/fxcodec/jbig2/JBig2_TrdProc.h", | 412 "core/src/fxcodec/jbig2/JBig2_TrdProc.h", |
| 409 ] | 413 ] |
| 414 include_dirs = [] | |
|
Tom Sepez
2015/11/05 22:09:26
ditto?
| |
| 410 | 415 |
| 411 if (is_posix) { | 416 if (is_posix) { |
| 412 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int | 417 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int |
| 413 # conversion to check that an address is 16-bit aligned (benign). | 418 # conversion to check that an address is 16-bit aligned (benign). |
| 414 cflags_c = [ "-Wno-pointer-to-int-cast" ] | 419 cflags_c = [ "-Wno-pointer-to-int-cast" ] |
| 415 } | 420 } |
| 416 configs += [ ":pdfium_config" ] | 421 configs += [ ":pdfium_config" ] |
| 417 } | 422 } |
| 418 | 423 |
| 419 config("fxge_warnings") { | 424 config("fxge_warnings") { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 496 "core/src/fxge/apple/apple_int.h", | 501 "core/src/fxge/apple/apple_int.h", |
| 497 "core/src/fxge/apple/fx_apple_platform.cpp", | 502 "core/src/fxge/apple/fx_apple_platform.cpp", |
| 498 "core/src/fxge/apple/fx_mac_imp.cpp", | 503 "core/src/fxge/apple/fx_mac_imp.cpp", |
| 499 "core/src/fxge/apple/fx_quartz_device.cpp", | 504 "core/src/fxge/apple/fx_quartz_device.cpp", |
| 500 "core/src/fxge/dib/dib_int.h", | 505 "core/src/fxge/dib/dib_int.h", |
| 501 "core/src/fxge/dib/fx_dib_composite.cpp", | 506 "core/src/fxge/dib/fx_dib_composite.cpp", |
| 502 "core/src/fxge/dib/fx_dib_convert.cpp", | 507 "core/src/fxge/dib/fx_dib_convert.cpp", |
| 503 "core/src/fxge/dib/fx_dib_engine.cpp", | 508 "core/src/fxge/dib/fx_dib_engine.cpp", |
| 504 "core/src/fxge/dib/fx_dib_main.cpp", | 509 "core/src/fxge/dib/fx_dib_main.cpp", |
| 505 "core/src/fxge/dib/fx_dib_transform.cpp", | 510 "core/src/fxge/dib/fx_dib_transform.cpp", |
| 506 "core/src/fxge/fontdata/chromefontdata/chromefontdata.h", | |
| 507 "core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c", | 511 "core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c", |
| 508 "core/src/fxge/fontdata/chromefontdata/FoxitFixed.c", | 512 "core/src/fxge/fontdata/chromefontdata/FoxitFixed.c", |
| 509 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c", | 513 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c", |
| 510 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c", | 514 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c", |
| 511 "core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c", | 515 "core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c", |
| 512 "core/src/fxge/fontdata/chromefontdata/FoxitSans.c", | 516 "core/src/fxge/fontdata/chromefontdata/FoxitSans.c", |
| 513 "core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c", | 517 "core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c", |
| 514 "core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c", | 518 "core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c", |
| 515 "core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c", | 519 "core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c", |
| 516 "core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c", | 520 "core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c", |
| 517 "core/src/fxge/fontdata/chromefontdata/FoxitSerif.c", | 521 "core/src/fxge/fontdata/chromefontdata/FoxitSerif.c", |
| 518 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c", | 522 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c", |
| 519 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c", | 523 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c", |
| 520 "core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c", | 524 "core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c", |
| 521 "core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c", | 525 "core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c", |
| 522 "core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c", | 526 "core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c", |
| 527 "core/src/fxge/fontdata/chromefontdata/chromefontdata.h", | |
| 523 "core/src/fxge/freetype/fx_freetype.c", | 528 "core/src/fxge/freetype/fx_freetype.c", |
| 524 "core/src/fxge/ge/fx_ge.cpp", | 529 "core/src/fxge/ge/fx_ge.cpp", |
| 525 "core/src/fxge/ge/fx_ge_device.cpp", | 530 "core/src/fxge/ge/fx_ge_device.cpp", |
| 526 "core/src/fxge/ge/fx_ge_font.cpp", | 531 "core/src/fxge/ge/fx_ge_font.cpp", |
| 527 "core/src/fxge/ge/fx_ge_fontmap.cpp", | 532 "core/src/fxge/ge/fx_ge_fontmap.cpp", |
| 528 "core/src/fxge/ge/fx_ge_linux.cpp", | 533 "core/src/fxge/ge/fx_ge_linux.cpp", |
| 529 "core/src/fxge/ge/fx_ge_path.cpp", | 534 "core/src/fxge/ge/fx_ge_path.cpp", |
| 530 "core/src/fxge/ge/fx_ge_ps.cpp", | 535 "core/src/fxge/ge/fx_ge_ps.cpp", |
| 531 "core/src/fxge/ge/fx_ge_text.cpp", | 536 "core/src/fxge/ge/fx_ge_text.cpp", |
| 532 "core/src/fxge/ge/text_int.h", | 537 "core/src/fxge/ge/text_int.h", |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 545 include_dirs = [ | 550 include_dirs = [ |
| 546 "//third_party/skia/include/config", | 551 "//third_party/skia/include/config", |
| 547 "//third_party/skia/include/core", | 552 "//third_party/skia/include/core", |
| 548 "//third_party/skia/include/effects", | 553 "//third_party/skia/include/effects", |
| 549 "//third_party/skia/include/images", | 554 "//third_party/skia/include/images", |
| 550 "//third_party/skia/include/lazy", | 555 "//third_party/skia/include/lazy", |
| 551 "//third_party/skia/include/pathops", | 556 "//third_party/skia/include/pathops", |
| 552 "//third_party/skia/include/utils", | 557 "//third_party/skia/include/utils", |
| 553 "//third_party/skia/src/core", | 558 "//third_party/skia/src/core", |
| 554 ] | 559 ] |
| 555 deps = [ "//skia" ] | 560 deps = [ |
| 561 "//skia", | |
| 562 ] | |
| 556 } | 563 } |
| 557 | 564 |
| 558 if (is_win) { | 565 if (is_win) { |
| 559 sources += [ | 566 sources += [ |
| 560 "core/src/fxge/win32/dwrite_int.h", | 567 "core/src/fxge/win32/dwrite_int.h", |
| 561 "core/src/fxge/win32/fx_win32_device.cpp", | 568 "core/src/fxge/win32/fx_win32_device.cpp", |
| 562 "core/src/fxge/win32/fx_win32_dib.cpp", | 569 "core/src/fxge/win32/fx_win32_dib.cpp", |
| 563 "core/src/fxge/win32/fx_win32_dwrite.cpp", | 570 "core/src/fxge/win32/fx_win32_dwrite.cpp", |
| 564 "core/src/fxge/win32/fx_win32_gdipext.cpp", | 571 "core/src/fxge/win32/fx_win32_gdipext.cpp", |
| 565 "core/src/fxge/win32/fx_win32_print.cpp", | 572 "core/src/fxge/win32/fx_win32_print.cpp", |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 625 ] | 632 ] |
| 626 configs += [ ":pdfium_config" ] | 633 configs += [ ":pdfium_config" ] |
| 627 } | 634 } |
| 628 | 635 |
| 629 static_library("javascript") { | 636 static_library("javascript") { |
| 630 sources = [ | 637 sources = [ |
| 631 "fpdfsdk/include/javascript/IJavaScript.h", | 638 "fpdfsdk/include/javascript/IJavaScript.h", |
| 632 ] | 639 ] |
| 633 if (pdf_enable_v8) { | 640 if (pdf_enable_v8) { |
| 634 sources += [ | 641 sources += [ |
| 642 "fpdfsdk/include/jsapi/fxjs_v8.h", | |
| 635 "fpdfsdk/src/javascript/Consts.cpp", | 643 "fpdfsdk/src/javascript/Consts.cpp", |
| 636 "fpdfsdk/src/javascript/Consts.h", | 644 "fpdfsdk/src/javascript/Consts.h", |
| 637 "fpdfsdk/src/javascript/Document.cpp", | 645 "fpdfsdk/src/javascript/Document.cpp", |
| 638 "fpdfsdk/src/javascript/Document.h", | 646 "fpdfsdk/src/javascript/Document.h", |
| 639 "fpdfsdk/src/javascript/Field.cpp", | 647 "fpdfsdk/src/javascript/Field.cpp", |
| 640 "fpdfsdk/src/javascript/Field.h", | 648 "fpdfsdk/src/javascript/Field.h", |
| 641 "fpdfsdk/src/javascript/Icon.cpp", | 649 "fpdfsdk/src/javascript/Icon.cpp", |
| 642 "fpdfsdk/src/javascript/Icon.h", | 650 "fpdfsdk/src/javascript/Icon.h", |
| 643 "fpdfsdk/src/javascript/JS_Context.cpp", | 651 "fpdfsdk/src/javascript/JS_Context.cpp", |
| 644 "fpdfsdk/src/javascript/JS_Context.h", | 652 "fpdfsdk/src/javascript/JS_Context.h", |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 664 "fpdfsdk/src/javascript/event.cpp", | 672 "fpdfsdk/src/javascript/event.cpp", |
| 665 "fpdfsdk/src/javascript/event.h", | 673 "fpdfsdk/src/javascript/event.h", |
| 666 "fpdfsdk/src/javascript/global.cpp", | 674 "fpdfsdk/src/javascript/global.cpp", |
| 667 "fpdfsdk/src/javascript/global.h", | 675 "fpdfsdk/src/javascript/global.h", |
| 668 "fpdfsdk/src/javascript/report.cpp", | 676 "fpdfsdk/src/javascript/report.cpp", |
| 669 "fpdfsdk/src/javascript/report.h", | 677 "fpdfsdk/src/javascript/report.h", |
| 670 "fpdfsdk/src/javascript/resource.cpp", | 678 "fpdfsdk/src/javascript/resource.cpp", |
| 671 "fpdfsdk/src/javascript/resource.h", | 679 "fpdfsdk/src/javascript/resource.h", |
| 672 "fpdfsdk/src/javascript/util.cpp", | 680 "fpdfsdk/src/javascript/util.cpp", |
| 673 "fpdfsdk/src/javascript/util.h", | 681 "fpdfsdk/src/javascript/util.h", |
| 674 "fpdfsdk/include/jsapi/fxjs_v8.h", | |
| 675 "fpdfsdk/src/jsapi/fxjs_v8.cpp", | 682 "fpdfsdk/src/jsapi/fxjs_v8.cpp", |
| 676 ] | 683 ] |
| 677 include_dirs = [ | 684 include_dirs = [ |
| 678 "//v8", | 685 "//v8", |
| 679 "//v8/include", | 686 "//v8/include", |
| 680 ] | 687 ] |
| 681 public_deps = [ | 688 public_deps = [ |
| 682 "//v8", | 689 "//v8", |
| 683 ] | 690 ] |
| 684 } else { | 691 } else { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 726 "core/src/fxcrt/fx_bidi_unittest.cpp", | 733 "core/src/fxcrt/fx_bidi_unittest.cpp", |
| 727 "core/src/fxcrt/fx_system_unittest.cpp", | 734 "core/src/fxcrt/fx_system_unittest.cpp", |
| 728 "third_party/base/nonstd_unique_ptr_unittest.cpp", | 735 "third_party/base/nonstd_unique_ptr_unittest.cpp", |
| 729 ] | 736 ] |
| 730 deps = [ | 737 deps = [ |
| 731 "//testing/gtest", | 738 "//testing/gtest", |
| 732 "//testing/gtest:gtest_main", | 739 "//testing/gtest:gtest_main", |
| 733 ":pdfium", | 740 ":pdfium", |
| 734 ":test_support", | 741 ":test_support", |
| 735 ] | 742 ] |
| 736 include_dirs = [ "." ] | |
| 737 configs += [ ":pdfium_config" ] | 743 configs += [ ":pdfium_config" ] |
| 738 } | 744 } |
| 739 | 745 |
| 740 test("pdfium_embeddertests") { | 746 test("pdfium_embeddertests") { |
| 741 sources = [ | 747 sources = [ |
| 742 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", | 748 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", |
| 743 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", | 749 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
| 744 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", | 750 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", |
| 745 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", | 751 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", |
| 746 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", | 752 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", |
| 747 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 753 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
| 748 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", | 754 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", |
| 749 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 755 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
| 750 "fpdfsdk/src/fpdfview_c_api_test.c", | 756 "fpdfsdk/src/fpdfview_c_api_test.c", |
| 751 "fpdfsdk/src/fpdfview_c_api_test.h", | 757 "fpdfsdk/src/fpdfview_c_api_test.h", |
| 752 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 758 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
| 753 "testing/embedder_test.cpp", | 759 "testing/embedder_test.cpp", |
| 754 "testing/embedder_test.h", | 760 "testing/embedder_test.h", |
| 755 "testing/embedder_test_mock_delegate.h", | 761 "testing/embedder_test_mock_delegate.h", |
| 756 "testing/embedder_test_timer_handling_delegate.h", | 762 "testing/embedder_test_timer_handling_delegate.h", |
| 757 ] | 763 ] |
| 758 deps = [ | 764 deps = [ |
| 759 "//testing/gmock", | 765 "//testing/gmock", |
| 760 "//testing/gtest", | 766 "//testing/gtest", |
| 761 ":pdfium", | 767 ":pdfium", |
| 762 ":test_support", | 768 ":test_support", |
| 763 ] | 769 ] |
| 764 include_dirs = [ | 770 include_dirs = [] |
|
Tom Sepez
2015/11/05 22:09:26
ditto ditto
| |
| 765 "." | |
| 766 ] | |
| 767 if (pdf_enable_v8) { | 771 if (pdf_enable_v8) { |
| 768 sources += [ | 772 sources += [ "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp" ] |
| 769 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp" | |
| 770 ] | |
| 771 deps += [ | 773 deps += [ |
| 772 "//v8", | 774 "//v8", |
| 773 "//v8:v8_libplatform", | 775 "//v8:v8_libplatform", |
| 774 ] | 776 ] |
| 775 include_dirs += [ | 777 include_dirs += [ |
| 776 "//v8", | 778 "//v8", |
| 777 "//v8/include", | 779 "//v8/include", |
| 778 ] | 780 ] |
| 779 } | 781 } |
| 780 configs += [ ":pdfium_config" ] | 782 configs += [ ":pdfium_config" ] |
| 781 } | 783 } |
| OLD | NEW |