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

Side by Side Diff: build/config/BUILD.gn

Issue 702603004: Renamed DISABLE_BASIC_PRINTING and ENABLE_FULL_PRINTING. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tue Nov 4 17:22:50 PST 2014 Created 6 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
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 9
10 declare_args() { 10 declare_args() {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 defines += [ "ENABLE_PEPPER_CDMS" ] 48 defines += [ "ENABLE_PEPPER_CDMS" ]
49 } 49 }
50 if (enable_browser_cdms) { 50 if (enable_browser_cdms) {
51 # TODO(brettw) should probably be "=1" 51 # TODO(brettw) should probably be "=1"
52 defines += [ "ENABLE_BROWSER_CDMS" ] 52 defines += [ "ENABLE_BROWSER_CDMS" ]
53 } 53 }
54 if (enable_plugins) { 54 if (enable_plugins) {
55 defines += [ "ENABLE_PLUGINS=1" ] 55 defines += [ "ENABLE_PLUGINS=1" ]
56 } 56 }
57 if (printing_mode > 0) { 57 if (printing_mode > 0) {
58 defines += [ "ENABLE_PRINTING=1" ] 58 defines += [ "ENABLE_PRINTING=1"]
59 if (printing_mode < 2) { 59 if (printing_mode == 1 or printing_mode == 3) {
60 defines += [ "ENABLE_FULL_PRINTING=1" ] 60 defines += [ "ENABLE_BASIC_PRINTING=1" ]
61 }
62 if (printing_mode > 1) {
63 defines += [ "ENABLE_PRINT_PREVIEW=1" ]
61 } 64 }
62 } 65 }
63 if (enable_spellcheck) { 66 if (enable_spellcheck) {
64 defines += [ "ENABLE_SPELLCHECK=1" ] 67 defines += [ "ENABLE_SPELLCHECK=1" ]
65 } 68 }
66 if (dont_embed_build_metadata) { 69 if (dont_embed_build_metadata) {
67 defines += [ "DONT_EMBED_BUILD_METADATA" ] 70 defines += [ "DONT_EMBED_BUILD_METADATA" ]
68 } 71 }
69 if (use_udev) { 72 if (use_udev) {
70 # TODO(brettw) should probably be "=1". 73 # TODO(brettw) should probably be "=1".
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 "CoreText.framework", 302 "CoreText.framework",
300 "Foundation.framework", 303 "Foundation.framework",
301 "UIKit.framework", 304 "UIKit.framework",
302 ] 305 ]
303 } else if (is_linux) { 306 } else if (is_linux) {
304 libs = [ 307 libs = [
305 "dl", 308 "dl",
306 ] 309 ]
307 } 310 }
308 } 311 }
OLDNEW
« build/common.gypi ('K') | « build/common.gypi ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698