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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/sysroot.gni") | 6 import("//build/config/sysroot.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 if (is_mac) { | 9 if (is_mac) { |
10 import("//build/config/mac/mac_sdk.gni") | 10 import("//build/config/mac/mac_sdk.gni") |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 | 189 |
190 deps += [ ":printing_jni_headers" ] | 190 deps += [ ":printing_jni_headers" ] |
191 } else { | 191 } else { |
192 sources += [ | 192 sources += [ |
193 "pdf_transform.cc", | 193 "pdf_transform.cc", |
194 "pdf_transform.h", | 194 "pdf_transform.h", |
195 ] | 195 ] |
196 } | 196 } |
197 } | 197 } |
198 | 198 |
199 # TODO(GYP): Delete this after we've converted everything to GN. | |
200 # The _run targets exist only for compatibility w/ GYP. | |
201 group("printing_unittests_run") { | |
202 testonly = true | |
203 deps = [ | |
204 ":printing_unittests", | |
205 ] | |
206 } | |
207 | |
208 test("printing_unittests") { | 199 test("printing_unittests") { |
209 sources = [ | 200 sources = [ |
210 "emf_win_unittest.cc", | 201 "emf_win_unittest.cc", |
211 "page_number_unittest.cc", | 202 "page_number_unittest.cc", |
212 "page_range_unittest.cc", | 203 "page_range_unittest.cc", |
213 "page_setup_unittest.cc", | 204 "page_setup_unittest.cc", |
214 "pdf_metafile_cg_mac_unittest.cc", | 205 "pdf_metafile_cg_mac_unittest.cc", |
215 "printed_page_unittest.cc", | 206 "printed_page_unittest.cc", |
216 "printing_context_win_unittest.cc", | 207 "printing_context_win_unittest.cc", |
217 "printing_test.h", | 208 "printing_test.h", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 } | 261 } |
271 | 262 |
272 # GYP: //printing/printing.gyp:printing_java | 263 # GYP: //printing/printing.gyp:printing_java |
273 android_library("printing_java") { | 264 android_library("printing_java") { |
274 deps = [ | 265 deps = [ |
275 "//base:base_java", | 266 "//base:base_java", |
276 ] | 267 ] |
277 DEPRECATED_java_in_dir = "android/java/src" | 268 DEPRECATED_java_in_dir = "android/java/src" |
278 } | 269 } |
279 } | 270 } |
OLD | NEW |