| 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_common_config") { | 9 config("pdfium_common_config") { |
| 10 cflags = [] | 10 cflags = [] |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 static_library("test_support") { | 190 static_library("test_support") { |
| 191 testonly = true | 191 testonly = true |
| 192 sources = [ | 192 sources = [ |
| 193 "testing/fx_string_testhelpers.cpp", | 193 "testing/fx_string_testhelpers.cpp", |
| 194 "testing/fx_string_testhelpers.h", | 194 "testing/fx_string_testhelpers.h", |
| 195 "testing/test_support.cpp", | 195 "testing/test_support.cpp", |
| 196 "testing/test_support.h", | 196 "testing/test_support.h", |
| 197 "testing/utils/path_service.cpp", | 197 "testing/utils/path_service.cpp", |
| 198 "testing/utils/path_service.h", | 198 "testing/utils/path_service.h", |
| 199 ] | 199 ] |
| 200 data = [ |
| 201 "testing/resources/", |
| 202 ] |
| 200 deps = [ | 203 deps = [ |
| 201 ":pdfium", | 204 ":pdfium", |
| 202 "//testing/gmock", | 205 "//testing/gmock", |
| 203 "//testing/gtest", | 206 "//testing/gtest", |
| 204 ] | 207 ] |
| 205 include_dirs = [] | 208 include_dirs = [] |
| 206 if (pdf_enable_v8) { | 209 if (pdf_enable_v8) { |
| 207 deps += [ | 210 deps += [ |
| 208 "//v8", | 211 "//v8", |
| 209 "//v8:v8_libplatform", | 212 "//v8:v8_libplatform", |
| (...skipping 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1759 } | 1762 } |
| 1760 if (pdf_enable_v8) { | 1763 if (pdf_enable_v8) { |
| 1761 sources += [ "fpdfsdk/javascript/public_methods_unittest.cpp" ] | 1764 sources += [ "fpdfsdk/javascript/public_methods_unittest.cpp" ] |
| 1762 include_dirs += [ | 1765 include_dirs += [ |
| 1763 "//v8", | 1766 "//v8", |
| 1764 "//v8/include", | 1767 "//v8/include", |
| 1765 ] | 1768 ] |
| 1766 } | 1769 } |
| 1767 configs += [ ":pdfium_core_config" ] | 1770 configs += [ ":pdfium_core_config" ] |
| 1768 if (is_android) { | 1771 if (is_android) { |
| 1769 ignore_all_data_deps = true | |
| 1770 use_raw_android_executable = true | 1772 use_raw_android_executable = true |
| 1771 } | 1773 } |
| 1772 } | 1774 } |
| 1773 | 1775 |
| 1774 test("pdfium_embeddertests") { | 1776 test("pdfium_embeddertests") { |
| 1775 sources = [ | 1777 sources = [ |
| 1776 "core/fpdfapi/page/fpdf_page_func_embeddertest.cpp", | 1778 "core/fpdfapi/page/fpdf_page_func_embeddertest.cpp", |
| 1777 "core/fpdfapi/parser/cpdf_parser_embeddertest.cpp", | 1779 "core/fpdfapi/parser/cpdf_parser_embeddertest.cpp", |
| 1778 "core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp", | 1780 "core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp", |
| 1779 "core/fpdfapi/parser/fpdf_parser_decode_embeddertest.cpp", | 1781 "core/fpdfapi/parser/fpdf_parser_decode_embeddertest.cpp", |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1833 "//samples", | 1835 "//samples", |
| 1834 ] | 1836 ] |
| 1835 } | 1837 } |
| 1836 group("fuzzers") { | 1838 group("fuzzers") { |
| 1837 testonly = true | 1839 testonly = true |
| 1838 deps = [ | 1840 deps = [ |
| 1839 "//testing/libfuzzer", | 1841 "//testing/libfuzzer", |
| 1840 ] | 1842 ] |
| 1841 } | 1843 } |
| 1842 } | 1844 } |
| OLD | NEW |