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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 ] | 140 ] |
141 } | 141 } |
142 | 142 |
143 if (pdfium_bundle_freetype) { | 143 if (pdfium_bundle_freetype) { |
144 deps += [ "third_party:fx_freetype" ] | 144 deps += [ "third_party:fx_freetype" ] |
145 } else { | 145 } else { |
146 libs += [ "freetype" ] | 146 libs += [ "freetype" ] |
147 } | 147 } |
148 } | 148 } |
149 | 149 |
150 source_set("test_support") { | 150 static_library("test_support") { |
151 testonly = true | 151 testonly = true |
152 sources = [ | 152 sources = [ |
153 "testing/fx_string_testhelpers.cpp", | 153 "testing/fx_string_testhelpers.cpp", |
154 "testing/fx_string_testhelpers.h", | 154 "testing/fx_string_testhelpers.h", |
155 "testing/test_support.cpp", | 155 "testing/test_support.cpp", |
156 "testing/test_support.h", | 156 "testing/test_support.h", |
157 "testing/utils/path_service.cpp", | 157 "testing/utils/path_service.cpp", |
158 ] | 158 ] |
159 deps = [ | 159 deps = [ |
160 ":pdfium", | 160 ":pdfium", |
(...skipping 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1589 } | 1589 } |
1590 | 1590 |
1591 if (pdf_is_standalone) { | 1591 if (pdf_is_standalone) { |
1592 source_set("samples") { | 1592 source_set("samples") { |
1593 testonly = true | 1593 testonly = true |
1594 deps = [ | 1594 deps = [ |
1595 "//samples", | 1595 "//samples", |
1596 ] | 1596 ] |
1597 } | 1597 } |
1598 } | 1598 } |
OLD | NEW |