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

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

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge 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
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("//extensions/features/features.gni")
9 import("//net/features.gni") 10 import("//net/features.gni")
10 import("//printing/features/features.gni") 11 import("//printing/features/features.gni")
11 12
12 # Please keep features in alphabetical order. 13 # Please keep features in alphabetical order.
13 declare_args() { 14 declare_args() {
14 # Whether the Java UI is being used (Java infobars and popups, Java native 15 # Whether the Java UI is being used (Java infobars and popups, Java native
15 # settings and first run experience, sign-in etc.). 16 # settings and first run experience, sign-in etc.).
16 # Default to true if compiling for android, but allow this being overriden 17 # Default to true if compiling for android, but allow this being overriden
17 # through the environment. 18 # through the environment.
18 android_java_ui = is_android 19 android_java_ui = is_android
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) 74 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://)
74 # pages. https://github.com/polymer/vulcanize 75 # pages. https://github.com/polymer/vulcanize
75 use_vulcanize = true 76 use_vulcanize = true
76 } 77 }
77 78
78 _enable_printing = enable_basic_printing || enable_print_preview 79 _enable_printing = enable_basic_printing || enable_print_preview
79 80
80 chrome_grit_defines = [ 81 chrome_grit_defines = [
81 "enable_app_list=$enable_app_list", 82 "enable_app_list=$enable_app_list",
82 "enable_background=$enable_background", 83 "enable_background=$enable_background",
84 "enable_extensions=$enable_extensions",
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/common/extensions/chrome_utility_extensions_messages.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698