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("//net/features.gni") | 9 import("//net/features.gni") |
10 import("//printing/features/features.gni") | 10 import("//printing/features/features.gni") |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 # Indicates if the build is using PGO. | 70 # Indicates if the build is using PGO. |
71 pgo_build = chrome_pgo_phase > 0 | 71 pgo_build = chrome_pgo_phase > 0 |
72 | 72 |
73 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) | 73 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) |
74 # pages. https://github.com/polymer/vulcanize | 74 # pages. https://github.com/polymer/vulcanize |
75 use_vulcanize = true | 75 use_vulcanize = true |
76 } | 76 } |
77 | 77 |
78 _enable_printing = enable_basic_printing || enable_print_preview | 78 _enable_printing = enable_basic_printing || enable_print_preview |
79 | 79 |
| 80 # Every grit target in //chrome should apply these defines so that the |
| 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_google_now=$enable_google_now", | 85 "enable_google_now=$enable_google_now", |
84 "enable_hangout_services_extension=$enable_hangout_services_extension", | 86 "enable_hangout_services_extension=$enable_hangout_services_extension", |
85 "enable_hotwording=$enable_hotwording", | 87 "enable_hotwording=$enable_hotwording", |
86 "enable_print_preview=$enable_print_preview", | 88 "enable_print_preview=$enable_print_preview", |
87 "enable_printing=$_enable_printing", | 89 "enable_printing=$_enable_printing", |
88 "enable_service_discovery=$enable_service_discovery", | 90 "enable_service_discovery=$enable_service_discovery", |
89 "enable_vr_shell=$enable_vr_shell", | 91 "enable_vr_shell=$enable_vr_shell", |
90 "enable_webvr=$enable_webvr", | 92 "enable_webvr=$enable_webvr", |
91 "safe_browsing_mode=$safe_browsing_mode", | 93 "safe_browsing_mode=$safe_browsing_mode", |
92 "use_vulcanize=$use_vulcanize", | 94 "use_vulcanize=$use_vulcanize", |
93 ] | 95 ] |
OLD | NEW |