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

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

Issue 755143005: gn format // regressions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « no previous file | chrome/android/BUILD.gn » ('j') | chrome/android/BUILD.gn » ('J')
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 "--write-only-new=1",
385 ] + grit_defines 385 ] + grit_defines
386 386
387 # Add extra defines with -D flags. 387 # Add extra defines with -D flags.
388 if (defined(invoker.defines)) { 388 if (defined(invoker.defines)) {
389 foreach(i, invoker.defines) { 389 foreach(i, invoker.defines) {
390 args += [ 390 args += [
391 "-D", 391 "-D",
392 i, 392 i,
393 ] 393 ]
394 } 394 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 if (defined(invoker.public_configs)) { 432 if (defined(invoker.public_configs)) {
433 public_configs += invoker.public_configs 433 public_configs += invoker.public_configs
434 } 434 }
435 435
436 if (defined(invoker.visibility)) { 436 if (defined(invoker.visibility)) {
437 visibility = invoker.visibility 437 visibility = invoker.visibility
438 } 438 }
439 output_name = grit_output_name 439 output_name = grit_output_name
440 } 440 }
441 } 441 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/BUILD.gn » ('j') | chrome/android/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698