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 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1466 } | 1466 } |
1467 configs -= [ "//build/config/compiler:chromium_code" ] | 1467 configs -= [ "//build/config/compiler:chromium_code" ] |
1468 configs += [ | 1468 configs += [ |
1469 ":pdfium_config", | 1469 ":pdfium_config", |
1470 "//build/config/compiler:no_chromium_code", | 1470 "//build/config/compiler:no_chromium_code", |
1471 ] | 1471 ] |
1472 } | 1472 } |
1473 | 1473 |
1474 test("pdfium_unittests") { | 1474 test("pdfium_unittests") { |
1475 sources = [ | 1475 sources = [ |
| 1476 "core/src/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp", |
1476 "core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp", | 1477 "core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp", |
1477 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", | 1478 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", |
1478 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", | 1479 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
1479 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 1480 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
1480 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", | 1481 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", |
1481 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 1482 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", |
1482 "core/src/fxcrt/fx_bidi_unittest.cpp", | 1483 "core/src/fxcrt/fx_bidi_unittest.cpp", |
1483 "core/src/fxcrt/fx_system_unittest.cpp", | 1484 "core/src/fxcrt/fx_system_unittest.cpp", |
1484 "third_party/base/nonstd_unique_ptr_unittest.cpp", | 1485 "third_party/base/nonstd_unique_ptr_unittest.cpp", |
1485 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", | 1486 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1538 "//v8", | 1539 "//v8", |
1539 "//v8/include", | 1540 "//v8/include", |
1540 ] | 1541 ] |
1541 } | 1542 } |
1542 configs -= [ "//build/config/compiler:chromium_code" ] | 1543 configs -= [ "//build/config/compiler:chromium_code" ] |
1543 configs += [ | 1544 configs += [ |
1544 ":pdfium_config", | 1545 ":pdfium_config", |
1545 "//build/config/compiler:no_chromium_code", | 1546 "//build/config/compiler:no_chromium_code", |
1546 ] | 1547 ] |
1547 } | 1548 } |
OLD | NEW |