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