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/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 if (is_mac) { | 8 if (is_mac) { |
9 import("//build/config/mac/mac_sdk.gni") | 9 import("//build/config/mac/mac_sdk.gni") |
10 } | 10 } |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 if (is_android) { | 180 if (is_android) { |
181 sources += [ | 181 sources += [ |
182 "printing_context_android.cc", | 182 "printing_context_android.cc", |
183 "printing_context_android.h", | 183 "printing_context_android.h", |
184 ] | 184 ] |
185 | 185 |
186 deps += [ ":printing_jni_headers" ] | 186 deps += [ ":printing_jni_headers" ] |
187 } | 187 } |
188 } | 188 } |
189 | 189 |
| 190 # TODO(GYP): Delete this after we've converted everything to GN. |
| 191 # The _run targets exist only for compatibility w/ GYP. |
| 192 group("printing_unittests_run") { |
| 193 testonly = true |
| 194 deps = [ |
| 195 ":printing_unittests", |
| 196 ] |
| 197 } |
| 198 |
190 test("printing_unittests") { | 199 test("printing_unittests") { |
191 sources = [ | 200 sources = [ |
192 "emf_win_unittest.cc", | 201 "emf_win_unittest.cc", |
193 "page_number_unittest.cc", | 202 "page_number_unittest.cc", |
194 "page_range_unittest.cc", | 203 "page_range_unittest.cc", |
195 "page_setup_unittest.cc", | 204 "page_setup_unittest.cc", |
196 "pdf_metafile_cg_mac_unittest.cc", | 205 "pdf_metafile_cg_mac_unittest.cc", |
197 "printed_page_unittest.cc", | 206 "printed_page_unittest.cc", |
198 "printing_context_win_unittest.cc", | 207 "printing_context_win_unittest.cc", |
199 "printing_test.h", | 208 "printing_test.h", |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 } | 252 } |
244 | 253 |
245 # GYP: //printing/printing.gyp:printing_java | 254 # GYP: //printing/printing.gyp:printing_java |
246 android_library("printing_java") { | 255 android_library("printing_java") { |
247 deps = [ | 256 deps = [ |
248 "//base:base_java", | 257 "//base:base_java", |
249 ] | 258 ] |
250 DEPRECATED_java_in_dir = "android/java/src" | 259 DEPRECATED_java_in_dir = "android/java/src" |
251 } | 260 } |
252 } | 261 } |
OLD | NEW |