OLD | NEW |
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 Loading... |
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 ] |
OLD | NEW |