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

Side by Side Diff: printing/BUILD.gn

Issue 465693002: GN: Remove duplicate entries from sources lists (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « gpu/command_buffer/common/BUILD.gn ('k') | sync/BUILD.gn » ('j') | 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 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 } 118 }
119 119
120 if (is_chromeos) { 120 if (is_chromeos) {
121 sources += [ 121 sources += [
122 "printing_context_no_system_dialog.cc", 122 "printing_context_no_system_dialog.cc",
123 "printing_context_no_system_dialog.h", 123 "printing_context_no_system_dialog.h",
124 ] 124 ]
125 } 125 }
126 126
127 if (use_cups) { 127 if (use_cups) {
128 cups_version = exec_script("cups_config_helper.py", [ "--api-version" ],
129 "trim string")
130
131 configs += [ ":cups" ] 128 configs += [ ":cups" ]
132 129
133 if (is_linux) { 130 if (is_linux) {
131 cups_version = exec_script("cups_config_helper.py", [ "--api-version" ],
132 "trim string")
133
134 if (cups_version == "1.6" || cups_version == "1.7") { 134 if (cups_version == "1.6" || cups_version == "1.7") {
135 cflags += [ 135 cflags += [
136 # CUPS 1.6 deprecated the PPD APIs, but we will stay with this 136 # CUPS 1.6 deprecated the PPD APIs, but we will stay with this
137 # API for now as supported Linux and Mac OS'es are still using 137 # API for now as supported Linux and Mac OS'es are still using
138 # older versions of CUPS. More info: crbug.com/226176 138 # older versions of CUPS. More info: crbug.com/226176
139 "-Wno-deprecated-declarations", 139 "-Wno-deprecated-declarations",
140 # CUPS 1.7 deprecates httpConnectEncrypt(), see the mac section 140 # CUPS 1.7 deprecates httpConnectEncrypt(), see the mac section
141 # below. 141 # below.
142 ] 142 ]
143 } 143 }
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 # 'type': 'none', 247 # 'type': 'none',
248 # 'variables': { 248 # 'variables': {
249 # 'java_in_dir': '../printing/android/java', 249 # 'java_in_dir': '../printing/android/java',
250 # }, 250 # },
251 # 'dependencies': [ 251 # 'dependencies': [
252 # '../base/base.gyp:base_java', 252 # '../base/base.gyp:base_java',
253 # ], 253 # ],
254 # 'includes': [ '../build/java.gypi' ], 254 # 'includes': [ '../build/java.gypi' ],
255 #} 255 #}
256 } 256 }
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/BUILD.gn ('k') | sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698