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

Side by Side Diff: chrome/common/features.gni

Issue 2494183002: Remove some global defines and build flags. (Closed)
Patch Set: Created 4 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/browser/extensions/component_loader.cc ('k') | content/browser/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//net/features.gni") 9 import("//net/features.gni")
10 import("//printing/features/features.gni") 10 import("//printing/features/features.gni")
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 # Indicates if the build is using PGO. 70 # Indicates if the build is using PGO.
71 pgo_build = chrome_pgo_phase > 0 71 pgo_build = chrome_pgo_phase > 0
72 72
73 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) 73 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://)
74 # pages. https://github.com/polymer/vulcanize 74 # pages. https://github.com/polymer/vulcanize
75 use_vulcanize = true 75 use_vulcanize = true
76 } 76 }
77 77
78 _enable_printing = enable_basic_printing || enable_print_preview 78 _enable_printing = enable_basic_printing || enable_print_preview
79 79
80 # Every grit target in //chrome should apply these defines so that the
81 # proper build flags can be set.
80 chrome_grit_defines = [ 82 chrome_grit_defines = [
81 "enable_app_list=$enable_app_list", 83 "enable_app_list=$enable_app_list",
82 "enable_background=$enable_background", 84 "enable_background=$enable_background",
83 "enable_google_now=$enable_google_now", 85 "enable_google_now=$enable_google_now",
84 "enable_hangout_services_extension=$enable_hangout_services_extension", 86 "enable_hangout_services_extension=$enable_hangout_services_extension",
85 "enable_hotwording=$enable_hotwording", 87 "enable_hotwording=$enable_hotwording",
86 "enable_print_preview=$enable_print_preview", 88 "enable_print_preview=$enable_print_preview",
87 "enable_printing=$_enable_printing", 89 "enable_printing=$_enable_printing",
88 "enable_service_discovery=$enable_service_discovery", 90 "enable_service_discovery=$enable_service_discovery",
89 "enable_vr_shell=$enable_vr_shell", 91 "enable_vr_shell=$enable_vr_shell",
90 "enable_webvr=$enable_webvr", 92 "enable_webvr=$enable_webvr",
91 "safe_browsing_mode=$safe_browsing_mode", 93 "safe_browsing_mode=$safe_browsing_mode",
92 "use_vulcanize=$use_vulcanize", 94 "use_vulcanize=$use_vulcanize",
93 ] 95 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/component_loader.cc ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698