| 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 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
| 7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//extensions/features/features.gni") | 9 import("//extensions/features/features.gni") |
| 10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 # Enables vr shell UI development on local or remote page. | 59 # Enables vr shell UI development on local or remote page. |
| 60 enable_vr_shell_ui_dev = false | 60 enable_vr_shell_ui_dev = false |
| 61 | 61 |
| 62 # Enable native notifications via XPC services (mac only). | 62 # Enable native notifications via XPC services (mac only). |
| 63 enable_xpc_notifications = false | 63 enable_xpc_notifications = false |
| 64 | 64 |
| 65 # Indicates if the build is using PGO. | 65 # Indicates if the build is using PGO. |
| 66 pgo_build = chrome_pgo_phase > 0 | 66 pgo_build = chrome_pgo_phase > 0 |
| 67 | 67 |
| 68 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) | 68 # Optimize parts of Chrome's UI written with web technologies (HTML/CSS/JS) |
| 69 # pages. https://github.com/polymer/vulcanize | 69 # for runtime performance purposes. This does more work at compile time for |
| 70 use_vulcanize = true | 70 # speed benefits at runtime (so we skip in debug builds). TODO(dbeam): rename |
| 71 # this flag "optimize_web_uis" because we run more than vulcanize these days. |
| 72 use_vulcanize = !is_debug |
| 71 } | 73 } |
| 72 | 74 |
| 73 # Use brlapi from brltty for braille display support. | 75 # Use brlapi from brltty for braille display support. |
| 74 use_brlapi = is_chromeos | 76 use_brlapi = is_chromeos |
| 75 | 77 |
| 76 _enable_printing = enable_basic_printing || enable_print_preview | 78 _enable_printing = enable_basic_printing || enable_print_preview |
| 77 | 79 |
| 78 # Every grit target in //chrome should apply these defines so that the | 80 # Every grit target in //chrome should apply these defines so that the |
| 79 # proper build flags can be set. | 81 # proper build flags can be set. |
| 80 chrome_grit_defines = [ | 82 chrome_grit_defines = [ |
| 81 "enable_app_list=$enable_app_list", | 83 "enable_app_list=$enable_app_list", |
| 82 "enable_background=$enable_background", | 84 "enable_background=$enable_background", |
| 83 "enable_extensions=$enable_extensions", | 85 "enable_extensions=$enable_extensions", |
| 84 "enable_google_now=$enable_google_now", | 86 "enable_google_now=$enable_google_now", |
| 85 "enable_hangout_services_extension=$enable_hangout_services_extension", | 87 "enable_hangout_services_extension=$enable_hangout_services_extension", |
| 86 "enable_hotwording=$enable_hotwording", | 88 "enable_hotwording=$enable_hotwording", |
| 87 "enable_plugins=$enable_plugins", | 89 "enable_plugins=$enable_plugins", |
| 88 "enable_print_preview=$enable_print_preview", | 90 "enable_print_preview=$enable_print_preview", |
| 89 "enable_printing=$_enable_printing", | 91 "enable_printing=$_enable_printing", |
| 90 "enable_service_discovery=$enable_service_discovery", | 92 "enable_service_discovery=$enable_service_discovery", |
| 91 "enable_webrtc=$enable_webrtc", | 93 "enable_webrtc=$enable_webrtc", |
| 92 "enable_webvr=$enable_webvr", | 94 "enable_webvr=$enable_webvr", |
| 93 "mac_views_browser=$mac_views_browser", | 95 "mac_views_browser=$mac_views_browser", |
| 94 "safe_browsing_mode=$safe_browsing_mode", | 96 "safe_browsing_mode=$safe_browsing_mode", |
| 95 "use_vulcanize=$use_vulcanize", | 97 "use_vulcanize=$use_vulcanize", |
| 96 ] | 98 ] |
| OLD | NEW |