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 15 matching lines...) Expand all Loading... |
26 | 26 |
27 # Google Now is disabled to prepare for its removal. | 27 # Google Now is disabled to prepare for its removal. |
28 # http://crbug.com/539674 | 28 # http://crbug.com/539674 |
29 enable_google_now = false | 29 enable_google_now = false |
30 | 30 |
31 # 'Ok Google' hotwording is disabled by default. Set to true to enable. (This | 31 # 'Ok Google' hotwording is disabled by default. Set to true to enable. (This |
32 # will download a closed-source NaCl module at startup.) Chrome-branded | 32 # will download a closed-source NaCl module at startup.) Chrome-branded |
33 # ChromeOS builds have this enabled by default. | 33 # ChromeOS builds have this enabled by default. |
34 enable_hotwording = is_chrome_branded && is_chromeos | 34 enable_hotwording = is_chrome_branded && is_chromeos |
35 | 35 |
| 36 # Enable the printing system dialog for platforms that support printing |
| 37 # and have a system dialog. |
| 38 enable_basic_print_dialog = enable_basic_printing && !is_chromeos |
| 39 |
36 # Set to true to bundle all the mash related mojo services into chrome. | 40 # Set to true to bundle all the mash related mojo services into chrome. |
37 # Specify --mash to chrome to have chrome start the mash environment. | 41 # Specify --mash to chrome to have chrome start the mash environment. |
38 enable_package_mash_services = is_chromeos | 42 enable_package_mash_services = is_chromeos |
39 | 43 |
40 # Enables vr shell. | 44 # Enables vr shell. |
41 enable_vr_shell = false | 45 enable_vr_shell = false |
42 | 46 |
43 # Enables vr shell UI development on local or remote page. | 47 # Enables vr shell UI development on local or remote page. |
44 enable_vr_shell_ui_dev = false | 48 enable_vr_shell_ui_dev = false |
45 | 49 |
46 # Enable native notifications via XPC services (mac only). | 50 # Enable native notifications via XPC services (mac only). |
47 enable_xpc_notifications = false | 51 enable_xpc_notifications = false |
48 | 52 |
49 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) | 53 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) |
50 # pages. https://github.com/polymer/vulcanize | 54 # pages. https://github.com/polymer/vulcanize |
51 use_vulcanize = true | 55 use_vulcanize = true |
52 | 56 |
53 # Indicates if the build is using PGO. | 57 # Indicates if the build is using PGO. |
54 pgo_build = chrome_pgo_phase > 0 | 58 pgo_build = chrome_pgo_phase > 0 |
55 } | 59 } |
56 | 60 |
57 chrome_grit_defines = [ | 61 chrome_grit_defines = [ |
58 "enable_background=$enable_background", | 62 "enable_background=$enable_background", |
59 "enable_google_now=$enable_google_now", | 63 "enable_google_now=$enable_google_now", |
60 "enable_hotwording=$enable_hotwording", | 64 "enable_hotwording=$enable_hotwording", |
61 "enable_vr_shell=$enable_vr_shell", | 65 "enable_vr_shell=$enable_vr_shell", |
62 "safe_browsing_mode=$safe_browsing_mode", | 66 "safe_browsing_mode=$safe_browsing_mode", |
63 "use_vulcanize=$use_vulcanize", | 67 "use_vulcanize=$use_vulcanize", |
64 ] | 68 ] |
OLD | NEW |