| 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") |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 # ChromeOS builds have this enabled by default. | 32 # ChromeOS builds have this enabled by default. |
| 33 enable_hotwording = is_chrome_branded && is_chromeos | 33 enable_hotwording = is_chrome_branded && is_chromeos |
| 34 | 34 |
| 35 # Set to true to bundle all the mash related mojo services into chrome. | 35 # Set to true to bundle all the mash related mojo services into chrome. |
| 36 # Specify --mash to chrome to have chrome start the mash environment. | 36 # Specify --mash to chrome to have chrome start the mash environment. |
| 37 enable_package_mash_services = is_chromeos | 37 enable_package_mash_services = is_chromeos |
| 38 | 38 |
| 39 # Enables vr shell. | 39 # Enables vr shell. |
| 40 enable_vr_shell = false | 40 enable_vr_shell = false |
| 41 | 41 |
| 42 # Enables vr shell UI development on local or remote page. |
| 43 enable_vr_shell_ui_dev = false |
| 44 |
| 42 # Enable native notifications via XPC services (mac only). | 45 # Enable native notifications via XPC services (mac only). |
| 43 enable_xpc_notifications = false | 46 enable_xpc_notifications = false |
| 44 | 47 |
| 45 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) | 48 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) |
| 46 # pages. https://github.com/polymer/vulcanize | 49 # pages. https://github.com/polymer/vulcanize |
| 47 use_vulcanize = true | 50 use_vulcanize = true |
| 48 | 51 |
| 49 # Indicates if the build is using PGO. | 52 # Indicates if the build is using PGO. |
| 50 pgo_build = chrome_pgo_phase > 0 | 53 pgo_build = chrome_pgo_phase > 0 |
| 51 } | 54 } |
| 52 | 55 |
| 53 chrome_grit_defines = [ | 56 chrome_grit_defines = [ |
| 54 "enable_background=$enable_background", | 57 "enable_background=$enable_background", |
| 55 "enable_google_now=$enable_google_now", | 58 "enable_google_now=$enable_google_now", |
| 56 "enable_hotwording=$enable_hotwording", | 59 "enable_hotwording=$enable_hotwording", |
| 60 "enable_vr_shell=$enable_vr_shell", |
| 57 "use_vulcanize=$use_vulcanize", | 61 "use_vulcanize=$use_vulcanize", |
| 58 ] | 62 ] |
| OLD | NEW |