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

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

Issue 2360853002: Better handle safe_browsing logic in build dependencies. (Closed)
Patch Set: Use integer comparison in grd file Created 4 years, 2 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
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 # This is the GN version of //chrome/chrome_features.gypi. 5 # This is the GN version of //chrome/chrome_features.gypi.
6 # Please keep in sync! 6 # Please keep in sync!
7 7
8 import("//build/config/chrome_build.gni") 8 import("//build/config/chrome_build.gni")
9 import("//build/config/chromecast_build.gni") 9 import("//build/config/chromecast_build.gni")
10 import("//build/config/compiler/compiler.gni") 10 import("//build/config/compiler/compiler.gni")
11 import("//build/config/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
19 20
20 # Enables support for background apps. 21 # Enables support for background apps.
(...skipping 30 matching lines...) Expand all
51 52
52 # Indicates if the build is using PGO. 53 # Indicates if the build is using PGO.
53 pgo_build = chrome_pgo_phase > 0 54 pgo_build = chrome_pgo_phase > 0
54 } 55 }
55 56
56 chrome_grit_defines = [ 57 chrome_grit_defines = [
57 "enable_background=$enable_background", 58 "enable_background=$enable_background",
58 "enable_google_now=$enable_google_now", 59 "enable_google_now=$enable_google_now",
59 "enable_hotwording=$enable_hotwording", 60 "enable_hotwording=$enable_hotwording",
60 "enable_vr_shell=$enable_vr_shell", 61 "enable_vr_shell=$enable_vr_shell",
62 "safe_browsing_mode=$safe_browsing_mode",
61 "use_vulcanize=$use_vulcanize", 63 "use_vulcanize=$use_vulcanize",
62 ] 64 ]
OLDNEW
« chrome/browser/browser_resources.grd ('K') | « chrome/browser/browser_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698