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 | 6 |
7 pdf_use_skia = false | 7 pdf_use_skia = false |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
10 # On Android there's no system FreeType. On Windows and Mac, only a few | 10 # On Android there's no system FreeType. On Windows and Mac, only a few |
(...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1547 "//v8", | 1547 "//v8", |
1548 ] | 1548 ] |
1549 deps = [ | 1549 deps = [ |
1550 "//v8:v8_libplatform", | 1550 "//v8:v8_libplatform", |
1551 ] | 1551 ] |
1552 } | 1552 } |
1553 | 1553 |
1554 test("pdfium_unittests") { | 1554 test("pdfium_unittests") { |
1555 sources = [ | 1555 sources = [ |
1556 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", | 1556 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", |
| 1557 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
1557 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 1558 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
1558 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 1559 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", |
1559 "testing/fx_string_testhelpers.cpp", | 1560 "testing/fx_string_testhelpers.cpp", |
1560 "testing/fx_string_testhelpers.h", | 1561 "testing/fx_string_testhelpers.h", |
1561 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", | 1562 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", |
1562 ] | 1563 ] |
1563 deps = [ | 1564 deps = [ |
1564 "//testing/gtest", | 1565 "//testing/gtest", |
1565 "//testing/gtest:gtest_main", | 1566 "//testing/gtest:gtest_main", |
1566 ":pdfium" | 1567 ":pdfium" |
(...skipping 23 matching lines...) Expand all Loading... |
1590 ":pdfium" | 1591 ":pdfium" |
1591 ] | 1592 ] |
1592 include_dirs = [ | 1593 include_dirs = [ |
1593 ".", | 1594 ".", |
1594 "//v8", | 1595 "//v8", |
1595 "//v8/include", | 1596 "//v8/include", |
1596 ] | 1597 ] |
1597 configs -= [ "//build/config/compiler:chromium_code" ] | 1598 configs -= [ "//build/config/compiler:chromium_code" ] |
1598 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1599 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
1599 } | 1600 } |
OLD | NEW |