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 # Enable native notifications via XPC services (mac only). |
| 43 enable_xpc_notifications = false |
| 44 |
42 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) | 45 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) |
43 # pages. https://github.com/polymer/vulcanize | 46 # pages. https://github.com/polymer/vulcanize |
44 use_vulcanize = true | 47 use_vulcanize = true |
45 | 48 |
46 # Indicates if the build is using PGO. | 49 # Indicates if the build is using PGO. |
47 pgo_build = chrome_pgo_phase > 0 | 50 pgo_build = chrome_pgo_phase > 0 |
48 } | 51 } |
49 | 52 |
50 chrome_grit_defines = [ | 53 chrome_grit_defines = [ |
51 "enable_background=$enable_background", | 54 "enable_background=$enable_background", |
52 "enable_google_now=$enable_google_now", | 55 "enable_google_now=$enable_google_now", |
53 "enable_hotwording=$enable_hotwording", | 56 "enable_hotwording=$enable_hotwording", |
54 "use_vulcanize=$use_vulcanize", | 57 "use_vulcanize=$use_vulcanize", |
55 ] | 58 ] |
OLD | NEW |