| 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 29 matching lines...) Expand all Loading... |
| 50 # Indicates if the build is using PGO. | 51 # Indicates if the build is using PGO. |
| 51 pgo_build = chrome_pgo_phase > 0 | 52 pgo_build = chrome_pgo_phase > 0 |
| 52 } | 53 } |
| 53 | 54 |
| 54 chrome_grit_defines = [ | 55 chrome_grit_defines = [ |
| 55 "enable_background=$enable_background", | 56 "enable_background=$enable_background", |
| 56 "enable_google_now=$enable_google_now", | 57 "enable_google_now=$enable_google_now", |
| 57 "enable_hotwording=$enable_hotwording", | 58 "enable_hotwording=$enable_hotwording", |
| 58 "use_vulcanize=$use_vulcanize", | 59 "use_vulcanize=$use_vulcanize", |
| 59 ] | 60 ] |
| OLD | NEW |