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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
112 "public/fpdf_sysfontinfo.h", | 112 "public/fpdf_sysfontinfo.h", |
113 "public/fpdf_text.h", | 113 "public/fpdf_text.h", |
114 "public/fpdf_transformpage.h", | 114 "public/fpdf_transformpage.h", |
115 "public/fpdfview.h", | 115 "public/fpdfview.h", |
116 ] | 116 ] |
117 | 117 |
118 libs = [] | 118 libs = [] |
119 configs += [ ":pdfium_config" ] | 119 configs += [ ":pdfium_config" ] |
120 | 120 |
121 deps = [ | 121 deps = [ |
122 "third_party:bigint", | |
123 "third_party:pdfium_base", | |
124 ":fdrm", | 122 ":fdrm", |
125 ":formfiller", | 123 ":formfiller", |
126 ":fpdfapi", | 124 ":fpdfapi", |
127 ":fpdfdoc", | 125 ":fpdfdoc", |
128 ":fpdftext", | 126 ":fpdftext", |
129 ":fxcodec", | 127 ":fxcodec", |
130 ":fxcrt", | 128 ":fxcrt", |
131 ":fxedit", | 129 ":fxedit", |
132 ":fxge", | 130 ":fxge", |
133 ":javascript", | 131 ":javascript", |
134 ":pdfwindow", | 132 ":pdfwindow", |
133 "third_party:bigint", | |
134 "third_party:pdfium_base", | |
dsinclair
2016/03/08 01:57:46
These are the result of git cl format.
Tom Sepez
2016/03/08 03:44:31
Acknowledged.
| |
135 ] | 135 ] |
136 | 136 |
137 if (pdf_enable_xfa) { | 137 if (pdf_enable_xfa) { |
138 deps += [ ":fpdfxfa" ] | 138 deps += [ ":fpdfxfa" ] |
139 } | 139 } |
140 | 140 |
141 if (is_win) { | 141 if (is_win) { |
142 libs += [ | 142 libs += [ |
143 "advapi32.lib", | 143 "advapi32.lib", |
144 "gdi32.lib", | 144 "gdi32.lib", |
(...skipping 18 matching lines...) Expand all Loading... | |
163 source_set("test_support") { | 163 source_set("test_support") { |
164 testonly = true | 164 testonly = true |
165 sources = [ | 165 sources = [ |
166 "testing/fx_string_testhelpers.cpp", | 166 "testing/fx_string_testhelpers.cpp", |
167 "testing/fx_string_testhelpers.h", | 167 "testing/fx_string_testhelpers.h", |
168 "testing/test_support.cpp", | 168 "testing/test_support.cpp", |
169 "testing/test_support.h", | 169 "testing/test_support.h", |
170 "testing/utils/path_service.cpp", | 170 "testing/utils/path_service.cpp", |
171 ] | 171 ] |
172 deps = [ | 172 deps = [ |
173 ":pdfium", | |
173 "//testing/gmock", | 174 "//testing/gmock", |
174 "//testing/gtest", | 175 "//testing/gtest", |
175 ":pdfium", | |
176 ] | 176 ] |
177 include_dirs = [] | 177 include_dirs = [] |
178 if (pdf_enable_v8) { | 178 if (pdf_enable_v8) { |
179 deps += [ | 179 deps += [ |
180 "//v8", | 180 "//v8", |
181 "//v8:v8_libplatform", | 181 "//v8:v8_libplatform", |
182 ] | 182 ] |
183 include_dirs += [ | 183 include_dirs += [ |
184 "//v8", | 184 "//v8", |
185 "//v8/include", | 185 "//v8/include", |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
514 "third_party:fx_agg", | 514 "third_party:fx_agg", |
515 ] | 515 ] |
516 sources = [ | 516 sources = [ |
517 "core/include/fxge/fpf.h", | 517 "core/include/fxge/fpf.h", |
518 "core/include/fxge/fx_dib.h", | 518 "core/include/fxge/fx_dib.h", |
519 "core/include/fxge/fx_font.h", | 519 "core/include/fxge/fx_font.h", |
520 "core/include/fxge/fx_freetype.h", | 520 "core/include/fxge/fx_freetype.h", |
521 "core/include/fxge/fx_ge.h", | 521 "core/include/fxge/fx_ge.h", |
522 "core/include/fxge/fx_ge_apple.h", | 522 "core/include/fxge/fx_ge_apple.h", |
523 "core/include/fxge/fx_ge_win32.h", | 523 "core/include/fxge/fx_ge_win32.h", |
524 "core/src/fxge/agg/include/fx_agg_driver.h", | 524 "core/src/fxge/agg/fx_agg_driver.cpp", |
525 "core/src/fxge/agg/src/fx_agg_driver.cpp", | 525 "core/src/fxge/agg/fx_agg_driver.h", |
526 "core/src/fxge/android/fpf_skiafont.cpp", | 526 "core/src/fxge/android/fpf_skiafont.cpp", |
527 "core/src/fxge/android/fpf_skiafont.h", | 527 "core/src/fxge/android/fpf_skiafont.h", |
528 "core/src/fxge/android/fpf_skiafontmgr.cpp", | 528 "core/src/fxge/android/fpf_skiafontmgr.cpp", |
529 "core/src/fxge/android/fpf_skiafontmgr.h", | 529 "core/src/fxge/android/fpf_skiafontmgr.h", |
530 "core/src/fxge/android/fpf_skiamodule.cpp", | 530 "core/src/fxge/android/fpf_skiamodule.cpp", |
531 "core/src/fxge/android/fpf_skiamodule.h", | 531 "core/src/fxge/android/fpf_skiamodule.h", |
532 "core/src/fxge/android/fx_android_font.cpp", | 532 "core/src/fxge/android/fx_android_font.cpp", |
533 "core/src/fxge/android/fx_android_font.h", | 533 "core/src/fxge/android/fx_android_font.h", |
534 "core/src/fxge/android/fx_android_imp.cpp", | 534 "core/src/fxge/android/fx_android_imp.cpp", |
535 "core/src/fxge/apple/apple_int.h", | 535 "core/src/fxge/apple/apple_int.h", |
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1429 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 1429 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
1430 "core/src/fxcrt/fx_basic_gcc_unittest.cpp", | 1430 "core/src/fxcrt/fx_basic_gcc_unittest.cpp", |
1431 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", | 1431 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", |
1432 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 1432 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", |
1433 "core/src/fxcrt/fx_bidi_unittest.cpp", | 1433 "core/src/fxcrt/fx_bidi_unittest.cpp", |
1434 "core/src/fxcrt/fx_extension_unittest.cpp", | 1434 "core/src/fxcrt/fx_extension_unittest.cpp", |
1435 "core/src/fxcrt/fx_system_unittest.cpp", | 1435 "core/src/fxcrt/fx_system_unittest.cpp", |
1436 "fpdfsdk/src/fpdfdoc_unittest.cpp", | 1436 "fpdfsdk/src/fpdfdoc_unittest.cpp", |
1437 ] | 1437 ] |
1438 deps = [ | 1438 deps = [ |
1439 ":pdfium", | |
1440 ":test_support", | |
1439 "//testing/gtest", | 1441 "//testing/gtest", |
1440 "//testing/gtest:gtest_main", | 1442 "//testing/gtest:gtest_main", |
1441 ":pdfium", | |
1442 ":test_support", | |
1443 ] | 1443 ] |
1444 if (pdf_enable_xfa) { | 1444 if (pdf_enable_xfa) { |
1445 sources += [ | 1445 sources += [ |
1446 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", | 1446 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", |
1447 "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp", | 1447 "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp", |
1448 ] | 1448 ] |
1449 } | 1449 } |
1450 configs += [ ":pdfium_config" ] | 1450 configs += [ ":pdfium_config" ] |
1451 } | 1451 } |
1452 | 1452 |
(...skipping 15 matching lines...) Expand all Loading... | |
1468 "fpdfsdk/src/fpdfview_c_api_test.h", | 1468 "fpdfsdk/src/fpdfview_c_api_test.h", |
1469 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 1469 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
1470 "fpdfsdk/src/fsdk_baseform_embeddertest.cpp", | 1470 "fpdfsdk/src/fsdk_baseform_embeddertest.cpp", |
1471 "testing/embedder_test.cpp", | 1471 "testing/embedder_test.cpp", |
1472 "testing/embedder_test.h", | 1472 "testing/embedder_test.h", |
1473 "testing/embedder_test_mock_delegate.h", | 1473 "testing/embedder_test_mock_delegate.h", |
1474 "testing/embedder_test_timer_handling_delegate.h", | 1474 "testing/embedder_test_timer_handling_delegate.h", |
1475 "xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp", | 1475 "xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp", |
1476 ] | 1476 ] |
1477 deps = [ | 1477 deps = [ |
1478 ":pdfium", | |
1479 ":test_support", | |
1478 "//testing/gmock", | 1480 "//testing/gmock", |
1479 "//testing/gtest", | 1481 "//testing/gtest", |
1480 ":pdfium", | |
1481 ":test_support", | |
1482 ] | 1482 ] |
1483 include_dirs = [] | 1483 include_dirs = [] |
1484 if (pdf_enable_v8) { | 1484 if (pdf_enable_v8) { |
1485 sources += [ | 1485 sources += [ |
1486 "fpdfsdk/src/javascript/public_methods_embeddertest.cpp", | 1486 "fpdfsdk/src/javascript/public_methods_embeddertest.cpp", |
1487 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp", | 1487 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp", |
1488 "testing/js_embedder_test.cpp", | 1488 "testing/js_embedder_test.cpp", |
1489 "testing/js_embedder_test.h", | 1489 "testing/js_embedder_test.h", |
1490 ] | 1490 ] |
1491 deps += [ | 1491 deps += [ |
1492 "//v8", | 1492 "//v8", |
1493 "//v8:v8_libplatform", | 1493 "//v8:v8_libplatform", |
1494 ] | 1494 ] |
1495 include_dirs += [ | 1495 include_dirs += [ |
1496 "//v8", | 1496 "//v8", |
1497 "//v8/include", | 1497 "//v8/include", |
1498 ] | 1498 ] |
1499 configs += [ "//v8:external_startup_data" ] | 1499 configs += [ "//v8:external_startup_data" ] |
1500 } | 1500 } |
1501 configs += [ ":pdfium_config" ] | 1501 configs += [ ":pdfium_config" ] |
1502 } | 1502 } |
OLD | NEW |