Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: tools/grit/grit_rule.gni

Issue 2760403003: Remove enable_media_router. (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/utility/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # Instantiate grit. This will produce a script target to run grit, and a 5 # Instantiate grit. This will produce a script target to run grit, and a
6 # static library that compiles the .cc files. 6 # static library that compiles the .cc files.
7 # 7 #
8 # Parameters 8 # Parameters
9 # 9 #
10 # source (required) 10 # source (required)
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 ] 224 ]
225 } 225 }
226 if (is_win) { 226 if (is_win) {
227 grit_defines += [ 227 grit_defines += [
228 "-t", 228 "-t",
229 "win32", 229 "win32",
230 ] 230 ]
231 } 231 }
232 } 232 }
233 233
234 if (enable_media_router) {
235 grit_defines += [
236 "-D",
237 "enable_media_router",
238 ]
239 }
240
241 # TODO(aberent): Enable for other platforms once the build machines have 234 # TODO(aberent): Enable for other platforms once the build machines have
242 # Java on them (and hence can run the closure compiler). 235 # Java on them (and hence can run the closure compiler).
243 _strip_resource_files = is_android 236 _strip_resource_files = is_android
244 _js_minifier = "//third_party/closure_compiler/js_minify.py" 237 _js_minifier = "//third_party/closure_compiler/js_minify.py"
245 238
246 grit_resource_id_file = "//tools/gritsettings/resource_ids" 239 grit_resource_id_file = "//tools/gritsettings/resource_ids"
247 grit_info_script = "//tools/grit/grit_info.py" 240 grit_info_script = "//tools/grit/grit_info.py"
248 241
249 # TODO(asvitkine): Add predetermined ids files for other platforms. 242 # TODO(asvitkine): Add predetermined ids files for other platforms.
250 grit_predetermined_resource_ids_file = "" 243 grit_predetermined_resource_ids_file = ""
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 if (defined(invoker.configs)) { 471 if (defined(invoker.configs)) {
479 configs += invoker.configs 472 configs += invoker.configs
480 } 473 }
481 474
482 if (defined(invoker.visibility)) { 475 if (defined(invoker.visibility)) {
483 visibility = invoker.visibility 476 visibility = invoker.visibility
484 } 477 }
485 output_name = grit_output_name 478 output_name = grit_output_name
486 } 479 }
487 } 480 }
OLDNEW
« no previous file with comments | « chrome/utility/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698