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

Side by Side Diff: chrome/common/BUILD.gn

Issue 1408973004: Separate sources that depend on printing into a different group. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 1 month 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 | « chrome/chrome_common.gypi ('k') | chrome/common/all_messages.h » ('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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
7 import("//chrome/version.gni") 7 import("//chrome/version.gni")
8 8
9 gypi_values = exec_script("//build/gypi_to_gn.py", 9 gypi_values = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("../chrome_common.gypi") ], 10 [ rebase_path("../chrome_common.gypi") ],
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 if (is_chromeos) { 172 if (is_chromeos) {
173 public_deps += [ "//chromeos" ] 173 public_deps += [ "//chromeos" ]
174 } 174 }
175 175
176 if (enable_nacl) { 176 if (enable_nacl) {
177 public_deps += [ "//components/nacl:nacl_common" ] 177 public_deps += [ "//components/nacl:nacl_common" ]
178 } 178 }
179 179
180 # Printing. 180 # Printing.
181 if (enable_basic_printing || enable_print_preview) { 181 if (enable_basic_printing || enable_print_preview) {
182 sources +=
183 rebase_path(gypi_values.chrome_common_printing_sources, ".", "//chrome")
184
182 public_deps += [ 185 public_deps += [
183 "//components/printing/common", 186 "//components/printing/common",
184 "//printing", 187 "//printing",
185 ] 188 ]
186 if (enable_print_preview) { 189 if (enable_print_preview) {
187 # Full printing support. 190 # Full printing support.
188 sources += rebase_path(gypi_values.chrome_common_service_process_sources, 191 sources += rebase_path(gypi_values.chrome_common_service_process_sources,
189 ".", 192 ".",
190 "//chrome") 193 "//chrome")
191 } 194 }
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 ":constants", 384 ":constants",
382 "//base", 385 "//base",
383 ] 386 ]
384 } 387 }
385 388
386 mojom("mojo_bindings") { 389 mojom("mojo_bindings") {
387 sources = [ 390 sources = [
388 "resource_usage_reporter.mojom", 391 "resource_usage_reporter.mojom",
389 ] 392 ]
390 } 393 }
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/all_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698