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

Side by Side Diff: ui/vector_icons/vector_icons.gni

Issue 2905523002: Reduce absolute paths in generated ninja files (Closed)
Patch Set: revert build/config/gcc/BUILD.gn, rebase Created 3 years, 6 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 | « tools/generate_library_loader/generate_library_loader.gni ('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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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 # Creates an action that aggregates vector icon files (.icon) into a C++ file. 5 # Creates an action that aggregates vector icon files (.icon) into a C++ file.
6 # In addition to running the action, the outputs should be added to another 6 # In addition to running the action, the outputs should be added to another
7 # target's sources for compilation. 7 # target's sources for compilation.
8 # 8 #
9 # Parameters 9 # Parameters
10 # 10 #
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 outputs = [ 45 outputs = [
46 output_cc, 46 output_cc,
47 output_h, 47 output_h,
48 ] 48 ]
49 49
50 response_file_contents = 50 response_file_contents =
51 rebase_path(invoker.icons, root_build_dir, invoker.icon_directory) 51 rebase_path(invoker.icons, root_build_dir, invoker.icon_directory)
52 52
53 args = [ 53 args = [
54 "--working_directory=" + rebase_path(invoker.icon_directory), 54 "--working_directory=" +
55 rebase_path(invoker.icon_directory, root_build_dir),
55 "--file_list={{response_file_name}}", 56 "--file_list={{response_file_name}}",
56 "--output_cc=" + rebase_path(output_cc, root_build_dir), 57 "--output_cc=" + rebase_path(output_cc, root_build_dir),
57 "--output_h=" + rebase_path(output_h, root_build_dir), 58 "--output_h=" + rebase_path(output_h, root_build_dir),
58 ] 59 ]
59 } 60 }
60 } 61 }
OLDNEW
« no previous file with comments | « tools/generate_library_loader/generate_library_loader.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698