Chromium Code Reviews| 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_config") { | 9 config("pdfium_config") { |
| 10 cflags = [] | 10 cflags = [] |
| (...skipping 1461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1472 ":test_support", | 1472 ":test_support", |
| 1473 "//testing/gtest", | 1473 "//testing/gtest", |
| 1474 "//testing/gtest:gtest_main", | 1474 "//testing/gtest:gtest_main", |
| 1475 ] | 1475 ] |
| 1476 if (pdf_enable_xfa) { | 1476 if (pdf_enable_xfa) { |
| 1477 sources += [ | 1477 sources += [ |
| 1478 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", | 1478 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", |
| 1479 "xfa/fxfa/parser/xfa_utils_imp_unittest.cpp", | 1479 "xfa/fxfa/parser/xfa_utils_imp_unittest.cpp", |
| 1480 ] | 1480 ] |
| 1481 } | 1481 } |
| 1482 if (pdf_enable_v8) { | |
| 1483 sources += [ | |
| 1484 "fpdfsdk/javascript/public_methods_unittest.cpp", | |
| 1485 ] | |
| 1486 include_dirs += [ | |
|
hashimoto
2016/03/16 04:29:34
This line results in an error like this:
ERROR at
| |
| 1487 "//v8", | |
| 1488 "//v8/include", | |
| 1489 ] | |
| 1490 } | |
| 1482 configs += [ ":pdfium_config" ] | 1491 configs += [ ":pdfium_config" ] |
| 1483 } | 1492 } |
| 1484 | 1493 |
| 1485 test("pdfium_embeddertests") { | 1494 test("pdfium_embeddertests") { |
| 1486 sources = [ | 1495 sources = [ |
| 1487 "core/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", | 1496 "core/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", |
| 1488 "core/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp", | 1497 "core/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp", |
| 1489 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", | 1498 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
| 1490 "core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp", | 1499 "core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp", |
| 1491 "core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", | 1500 "core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1525 "//v8:v8_libplatform", | 1534 "//v8:v8_libplatform", |
| 1526 ] | 1535 ] |
| 1527 include_dirs += [ | 1536 include_dirs += [ |
| 1528 "//v8", | 1537 "//v8", |
| 1529 "//v8/include", | 1538 "//v8/include", |
| 1530 ] | 1539 ] |
| 1531 configs += [ "//v8:external_startup_data" ] | 1540 configs += [ "//v8:external_startup_data" ] |
| 1532 } | 1541 } |
| 1533 configs += [ ":pdfium_config" ] | 1542 configs += [ ":pdfium_config" ] |
| 1534 } | 1543 } |
| OLD | NEW |