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

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

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « build/sanitizers/tsan_suppressions.cc ('k') | cc/BUILD.gn » ('j') | 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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 resource_ids, 374 resource_ids,
375 ] 375 ]
376 } 376 }
377 args += [ 377 args += [
378 "-o", 378 "-o",
379 rebased_output_dir, 379 rebased_output_dir,
380 "--depdir", 380 "--depdir",
381 ".", 381 ".",
382 "--depfile", 382 "--depfile",
383 rebase_path(depfile, root_build_dir), 383 rebase_path(depfile, root_build_dir),
384 "--write-only-new=1",
384 ] + grit_defines 385 ] + grit_defines
385 386
386 # Add extra defines with -D flags. 387 # Add extra defines with -D flags.
387 if (defined(invoker.defines)) { 388 if (defined(invoker.defines)) {
388 foreach(i, invoker.defines) { 389 foreach(i, invoker.defines) {
389 args += [ 390 args += [
390 "-D", 391 "-D",
391 i, 392 i,
392 ] 393 ]
393 } 394 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 if (defined(invoker.public_configs)) { 432 if (defined(invoker.public_configs)) {
432 public_configs += invoker.public_configs 433 public_configs += invoker.public_configs
433 } 434 }
434 435
435 if (defined(invoker.visibility)) { 436 if (defined(invoker.visibility)) {
436 visibility = invoker.visibility 437 visibility = invoker.visibility
437 } 438 }
438 output_name = grit_output_name 439 output_name = grit_output_name
439 } 440 }
440 } 441 }
OLDNEW
« no previous file with comments | « build/sanitizers/tsan_suppressions.cc ('k') | cc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698