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

Side by Side Diff: build/config/android/internal_rules.gni

Issue 264923007: Add java_cpp_template template (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « build/android/gn/zip.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 # Creates a zip archive of the inputs.
3 # If base_dir is provided, the archive paths will be relative to it.
4 template("zip") {
5 assert(defined(invoker.inputs))
6 assert(defined(invoker.output))
7
8 rebase_inputs = rebase_path(invoker.inputs)
9 rebase_output = rebase_path(invoker.output)
10 action(target_name) {
11 script = "//build/android/gn/zip.py"
12 source_prereqs = invoker.inputs
13 outputs = [invoker.output]
14 args = [
15 "--inputs=$rebase_inputs",
16 "--output=$rebase_output",
17 ]
18 if (defined(invoker.base_dir)) {
19 args += [
20 "--base-dir", rebase_path(invoker.base_dir)
21 ]
22 }
23 }
24 }
25
OLDNEW
« no previous file with comments | « build/android/gn/zip.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698