| 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 if (is_mac) { | 7 if (is_mac) { |
| 8 import("//build/config/mac/mac_sdk.gni") | 8 import("//build/config/mac/mac_sdk.gni") |
| 9 } | 9 } |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 225 |
| 226 if (is_mac) { | 226 if (is_mac) { |
| 227 ldflags = [ "$mac_sdk_path/usr/lib/libcups.dylib" ] | 227 ldflags = [ "$mac_sdk_path/usr/lib/libcups.dylib" ] |
| 228 } else { | 228 } else { |
| 229 libs = exec_script("cups_config_helper.py", [ "--libs-for-gn" ], "value") | 229 libs = exec_script("cups_config_helper.py", [ "--libs-for-gn" ], "value") |
| 230 } | 230 } |
| 231 } | 231 } |
| 232 } | 232 } |
| 233 | 233 |
| 234 if (is_android) { | 234 if (is_android) { |
| 235 # GYP: //printing/printing.gyp:printing_jni_headers |
| 235 generate_jni("printing_jni_headers") { | 236 generate_jni("printing_jni_headers") { |
| 236 sources = [ | 237 sources = [ |
| 237 "android/java/src/org/chromium/printing/PrintingContext.java", | 238 "android/java/src/org/chromium/printing/PrintingContext.java", |
| 238 ] | 239 ] |
| 239 jni_package = "printing" | 240 jni_package = "printing" |
| 240 } | 241 } |
| 241 | 242 |
| 242 # TODO(GYP) | 243 # GYP: //printing/printing.gyp:printing_java |
| 243 #{ | 244 android_library("printing_java") { |
| 244 # 'target_name': 'printing_java', | 245 deps = [ |
| 245 # 'type': 'none', | 246 "//base:base_java" |
| 246 # 'variables': { | 247 ] |
| 247 # 'java_in_dir': '../printing/android/java', | 248 DEPRECATED_java_in_dir = "android/java/src" |
| 248 # }, | 249 } |
| 249 # 'dependencies': [ | |
| 250 # '../base/base.gyp:base_java', | |
| 251 # ], | |
| 252 # 'includes': [ '../build/java.gypi' ], | |
| 253 #} | |
| 254 } | 250 } |
| OLD | NEW |