| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 "//ui/gfx:test_support", | 228 "//ui/gfx:test_support", |
| 229 "//ui/gfx/geometry", | 229 "//ui/gfx/geometry", |
| 230 ] | 230 ] |
| 231 } | 231 } |
| 232 | 232 |
| 233 if (use_cups) { | 233 if (use_cups) { |
| 234 config("cups") { | 234 config("cups") { |
| 235 defines = [ "USE_CUPS" ] | 235 defines = [ "USE_CUPS" ] |
| 236 | 236 |
| 237 if (is_mac) { | 237 if (is_mac) { |
| 238 ldflags = [ "$mac_sdk_path/usr/lib/libcups.dylib" ] | 238 libs = [ "cups" ] |
| 239 lib_dirs = [ "$mac_sdk_path/usr/lib" ] |
| 239 } else { | 240 } else { |
| 240 libs = exec_script("cups_config_helper.py", [ "--libs-for-gn" ], "value") | 241 libs = exec_script("cups_config_helper.py", [ "--libs-for-gn" ], "value") |
| 241 } | 242 } |
| 242 } | 243 } |
| 243 } | 244 } |
| 244 | 245 |
| 245 if (is_android) { | 246 if (is_android) { |
| 246 # GYP: //printing/printing.gyp:printing_jni_headers | 247 # GYP: //printing/printing.gyp:printing_jni_headers |
| 247 generate_jni("printing_jni_headers") { | 248 generate_jni("printing_jni_headers") { |
| 248 sources = [ | 249 sources = [ |
| 249 "android/java/src/org/chromium/printing/PrintingContext.java", | 250 "android/java/src/org/chromium/printing/PrintingContext.java", |
| 250 ] | 251 ] |
| 251 jni_package = "printing" | 252 jni_package = "printing" |
| 252 } | 253 } |
| 253 | 254 |
| 254 # GYP: //printing/printing.gyp:printing_java | 255 # GYP: //printing/printing.gyp:printing_java |
| 255 android_library("printing_java") { | 256 android_library("printing_java") { |
| 256 deps = [ | 257 deps = [ |
| 257 "//base:base_java", | 258 "//base:base_java", |
| 258 ] | 259 ] |
| 259 DEPRECATED_java_in_dir = "android/java/src" | 260 DEPRECATED_java_in_dir = "android/java/src" |
| 260 } | 261 } |
| 261 } | 262 } |
| OLD | NEW |