| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//build_overrides/v8.gni") | 5 import("//build_overrides/v8.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 import("pdfium.gni") | 7 import("pdfium.gni") |
| 8 | 8 |
| 9 config("pdfium_common_config") { | 9 config("pdfium_common_config") { |
| 10 cflags = [] | 10 cflags = [] |
| (...skipping 1472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1483 include_dirs = [] | 1483 include_dirs = [] |
| 1484 if (pdf_enable_xfa) { | 1484 if (pdf_enable_xfa) { |
| 1485 sources += [ | 1485 sources += [ |
| 1486 "xfa/fde/css/fde_cssdatatable_unittest.cpp", | 1486 "xfa/fde/css/fde_cssdatatable_unittest.cpp", |
| 1487 "xfa/fde/xml/fde_xml_imp_unittest.cpp", | 1487 "xfa/fde/xml/fde_xml_imp_unittest.cpp", |
| 1488 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", | 1488 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", |
| 1489 "xfa/fxfa/app/xfa_textlayout_unittest.cpp", | 1489 "xfa/fxfa/app/xfa_textlayout_unittest.cpp", |
| 1490 "xfa/fxfa/parser/xfa_utils_imp_unittest.cpp", | 1490 "xfa/fxfa/parser/xfa_utils_imp_unittest.cpp", |
| 1491 ] | 1491 ] |
| 1492 } | 1492 } |
| 1493 if (pdf_use_skia) { |
| 1494 sources += [ "core/fxge/skia/fx_skia_device_unittest.cpp" ] |
| 1495 deps += [ "//skia" ] |
| 1496 } |
| 1493 if (pdf_enable_v8) { | 1497 if (pdf_enable_v8) { |
| 1494 sources += [ "fpdfsdk/javascript/public_methods_unittest.cpp" ] | 1498 sources += [ "fpdfsdk/javascript/public_methods_unittest.cpp" ] |
| 1495 include_dirs += [ | 1499 include_dirs += [ |
| 1496 "//v8", | 1500 "//v8", |
| 1497 "//v8/include", | 1501 "//v8/include", |
| 1498 ] | 1502 ] |
| 1499 } | 1503 } |
| 1500 configs += [ ":pdfium_core_config" ] | 1504 configs += [ ":pdfium_core_config" ] |
| 1501 if (is_android) { | 1505 if (is_android) { |
| 1502 ignore_all_data_deps = true | 1506 ignore_all_data_deps = true |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1562 } | 1566 } |
| 1563 | 1567 |
| 1564 if (pdf_is_standalone) { | 1568 if (pdf_is_standalone) { |
| 1565 source_set("samples") { | 1569 source_set("samples") { |
| 1566 testonly = true | 1570 testonly = true |
| 1567 deps = [ | 1571 deps = [ |
| 1568 "//samples", | 1572 "//samples", |
| 1569 ] | 1573 ] |
| 1570 } | 1574 } |
| 1571 } | 1575 } |
| OLD | NEW |