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

Side by Side Diff: printing/BUILD.gn

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « net/BUILD.gn ('k') | remoting/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 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 "backend/print_backend_win.cc", 109 "backend/print_backend_win.cc",
110 "backend/win_helper.cc", 110 "backend/win_helper.cc",
111 "backend/win_helper.h", 111 "backend/win_helper.h",
112 "printing_context_system_dialog_win.cc", 112 "printing_context_system_dialog_win.cc",
113 "printing_context_system_dialog_win.h", 113 "printing_context_system_dialog_win.h",
114 "printing_context_win.cc", 114 "printing_context_win.cc",
115 "printing_context_win.h", 115 "printing_context_win.h",
116 ] 116 ]
117 } 117 }
118 118
119 if (is_chromeos) { 119 if (is_chromeos_ui) {
120 sources += [ 120 sources += [
121 "printing_context_no_system_dialog.cc", 121 "printing_context_no_system_dialog.cc",
122 "printing_context_no_system_dialog.h", 122 "printing_context_no_system_dialog.h",
123 ] 123 ]
124 } 124 }
125 125
126 if (use_cups) { 126 if (use_cups) {
127 configs += [ ":cups" ] 127 configs += [ ":cups" ]
128 128
129 if (is_linux) { 129 if (is_linux) {
(...skipping 27 matching lines...) Expand all
157 # of the print backend and enables a custom implementation instead. 157 # of the print backend and enables a custom implementation instead.
158 defines += [ "PRINT_BACKEND_AVAILABLE" ] 158 defines += [ "PRINT_BACKEND_AVAILABLE" ]
159 159
160 sources += [ 160 sources += [
161 "backend/cups_helper.cc", 161 "backend/cups_helper.cc",
162 "backend/cups_helper.h", 162 "backend/cups_helper.h",
163 "backend/print_backend_cups.cc", 163 "backend/print_backend_cups.cc",
164 ] 164 ]
165 } 165 }
166 166
167 if (is_chromeos) { 167 if (is_chromeos_ui) {
168 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation 168 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation
169 # of the print backend and enables a custom implementation instead. 169 # of the print backend and enables a custom implementation instead.
170 defines += [ "PRINT_BACKEND_AVAILABLE" ] 170 defines += [ "PRINT_BACKEND_AVAILABLE" ]
171 171
172 sources += [ "backend/print_backend_chromeos.cc" ] 172 sources += [ "backend/print_backend_chromeos.cc" ]
173 } else if (is_linux) { # Non-ChromeOS Linux. 173 } else if (is_linux) { # Non-ChromeOS Linux.
174 sources += [ 174 sources += [
175 "printing_context_linux.cc", 175 "printing_context_linux.cc",
176 "printing_context_linux.h", 176 "printing_context_linux.h",
177 ] 177 ]
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 } 253 }
254 254
255 # GYP: //printing/printing.gyp:printing_java 255 # GYP: //printing/printing.gyp:printing_java
256 android_library("printing_java") { 256 android_library("printing_java") {
257 deps = [ 257 deps = [
258 "//base:base_java", 258 "//base:base_java",
259 ] 259 ]
260 DEPRECATED_java_in_dir = "android/java/src" 260 DEPRECATED_java_in_dir = "android/java/src"
261 } 261 }
262 } 262 }
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | remoting/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698