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

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

Issue 400243003: GN chrome/common build, rename enable_printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « build/secondary/tools/grit/grit_rule.gni ('k') | chrome/browser/ui/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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
9 9
10 about_credits_file = "$target_gen_dir/about_credits.html" 10 about_credits_file = "$target_gen_dir/about_credits.html"
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 sources += rebase_path( 397 sources += rebase_path(
398 gypi_values.chrome_browser_non_android_notifications_sources, 398 gypi_values.chrome_browser_non_android_notifications_sources,
399 ".", "//chrome") 399 ".", "//chrome")
400 } 400 }
401 } 401 }
402 if (enable_themes) { 402 if (enable_themes) {
403 sources += rebase_path(gypi_values.chrome_browser_themes_sources, 403 sources += rebase_path(gypi_values.chrome_browser_themes_sources,
404 ".", "//chrome") 404 ".", "//chrome")
405 } 405 }
406 406
407 if (enable_printing != 0) { 407 if (printing_mode != 0) {
408 # Some form of printing support. 408 # Some form of printing support.
409 sources += rebase_path(gypi_values.chrome_browser_basic_printing_sources, 409 sources += rebase_path(gypi_values.chrome_browser_basic_printing_sources,
410 ".", "//chrome") 410 ".", "//chrome")
411 deps += [ 411 deps += [
412 #"../printing/printing.gyp:printing", TODO(GYP) 412 #"../printing/printing.gyp:printing", TODO(GYP)
413 ] 413 ]
414 if (is_win && win_pdf_metafile_for_printing) { 414 if (is_win && win_pdf_metafile_for_printing) {
415 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources, 415 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources,
416 ".", "//chrome") 416 ".", "//chrome")
417 } 417 }
418 if (enable_printing == 1) { 418 if (printing_mode == 1) {
419 # Full printing on top of the above. 419 # Full printing on top of the above.
420 sources += rebase_path(gypi_values.chrome_browser_full_printing_sources, 420 sources += rebase_path(gypi_values.chrome_browser_full_printing_sources,
421 ".", "//chrome") 421 ".", "//chrome")
422 } else if (enable_printing == 2) { 422 } else if (printing_mode == 2) {
423 # Partial-only printing support. 423 # Partial-only printing support.
424 sources += rebase_path( 424 sources += rebase_path(
425 gypi_values.chrome_browser_basic_only_printing_sources, 425 gypi_values.chrome_browser_basic_only_printing_sources,
426 ".", "//chrome") 426 ".", "//chrome")
427 } 427 }
428 } 428 }
429 if (enable_captive_portal_detection) { 429 if (enable_captive_portal_detection) {
430 sources += rebase_path(gypi_values.chrome_browser_captive_portal_sources, 430 sources += rebase_path(gypi_values.chrome_browser_captive_portal_sources,
431 ".", "//chrome") 431 ".", "//chrome")
432 } 432 }
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 # TODO(GYP) write internal action 651 # TODO(GYP) write internal action
652 if (false) { #if (is_chrome_branded) { 652 if (false) { #if (is_chrome_branded) {
653 action("chrome_internal_resources_gen") { 653 action("chrome_internal_resources_gen") {
654 # TODO(GYP) 654 # TODO(GYP)
655 } 655 }
656 } else { 656 } else {
657 group("chrome_internal_resources_gen") { 657 group("chrome_internal_resources_gen") {
658 # Empty placeholder. 658 # Empty placeholder.
659 } 659 }
660 } 660 }
OLDNEW
« no previous file with comments | « build/secondary/tools/grit/grit_rule.gni ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698