Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: printing/BUILD.gn

Issue 1263513004: Get content_unittests to link on the mac GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enable_mac_net_unittests
Patch Set: merge to #341417 Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/test/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698