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 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1390 "//build/config/compiler:no_chromium_code", | 1390 "//build/config/compiler:no_chromium_code", |
1391 ] | 1391 ] |
1392 } | 1392 } |
1393 | 1393 |
1394 test("pdfium_unittests") { | 1394 test("pdfium_unittests") { |
1395 sources = [ | 1395 sources = [ |
1396 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", | 1396 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
1397 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 1397 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
1398 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", | 1398 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", |
1399 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 1399 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", |
| 1400 "core/src/fxcrt/fx_system_unittest.cpp", |
1400 "testing/fx_string_testhelpers.cpp", | 1401 "testing/fx_string_testhelpers.cpp", |
1401 "testing/fx_string_testhelpers.h", | 1402 "testing/fx_string_testhelpers.h", |
1402 "third_party/base/nonstd_unique_ptr_unittest.cpp", | 1403 "third_party/base/nonstd_unique_ptr_unittest.cpp", |
1403 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", | 1404 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", |
1404 "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp", | 1405 "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp", |
1405 ] | 1406 ] |
1406 deps = [ | 1407 deps = [ |
1407 "//testing/gtest", | 1408 "//testing/gtest", |
1408 "//testing/gtest:gtest_main", | 1409 "//testing/gtest:gtest_main", |
1409 ":pdfium" | 1410 ":pdfium" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1448 "//v8:v8_libplatform", | 1449 "//v8:v8_libplatform", |
1449 ] | 1450 ] |
1450 include_dirs += [ | 1451 include_dirs += [ |
1451 "//v8", | 1452 "//v8", |
1452 "//v8/include", | 1453 "//v8/include", |
1453 ] | 1454 ] |
1454 } | 1455 } |
1455 configs -= [ "//build/config/compiler:chromium_code" ] | 1456 configs -= [ "//build/config/compiler:chromium_code" ] |
1456 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1457 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
1457 } | 1458 } |
OLD | NEW |