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 = [ "third_party/freetype/include" ] |
(...skipping 1494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1505 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 1505 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
1506 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", | 1506 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", |
1507 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 1507 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
1508 "fpdfsdk/src/fpdfview_c_api_test.c", | 1508 "fpdfsdk/src/fpdfview_c_api_test.c", |
1509 "fpdfsdk/src/fpdfview_c_api_test.h", | 1509 "fpdfsdk/src/fpdfview_c_api_test.h", |
1510 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 1510 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
1511 "testing/embedder_test.cpp", | 1511 "testing/embedder_test.cpp", |
1512 "testing/embedder_test.h", | 1512 "testing/embedder_test.h", |
1513 "testing/embedder_test_mock_delegate.h", | 1513 "testing/embedder_test_mock_delegate.h", |
1514 "testing/embedder_test_timer_handling_delegate.h", | 1514 "testing/embedder_test_timer_handling_delegate.h", |
| 1515 "xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp", |
1515 ] | 1516 ] |
1516 deps = [ | 1517 deps = [ |
1517 "//testing/gmock", | 1518 "//testing/gmock", |
1518 "//testing/gtest", | 1519 "//testing/gtest", |
1519 ":pdfium", | 1520 ":pdfium", |
1520 ":test_support", | 1521 ":test_support", |
1521 ] | 1522 ] |
1522 include_dirs = [ | 1523 include_dirs = [ |
1523 "." | 1524 "." |
1524 ] | 1525 ] |
1525 if (pdf_enable_v8) { | 1526 if (pdf_enable_v8) { |
1526 sources += [ | 1527 sources += [ |
1527 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp" | 1528 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp" |
1528 ] | 1529 ] |
1529 deps += [ | 1530 deps += [ |
1530 "//v8", | 1531 "//v8", |
1531 "//v8:v8_libplatform", | 1532 "//v8:v8_libplatform", |
1532 ] | 1533 ] |
1533 include_dirs += [ | 1534 include_dirs += [ |
1534 "//v8", | 1535 "//v8", |
1535 "//v8/include", | 1536 "//v8/include", |
1536 ] | 1537 ] |
1537 } | 1538 } |
1538 configs -= [ "//build/config/compiler:chromium_code" ] | 1539 configs -= [ "//build/config/compiler:chromium_code" ] |
1539 configs += [ | 1540 configs += [ |
1540 ":pdfium_config", | 1541 ":pdfium_config", |
1541 "//build/config/compiler:no_chromium_code", | 1542 "//build/config/compiler:no_chromium_code", |
1542 ] | 1543 ] |
1543 } | 1544 } |
OLD | NEW |