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

Side by Side Diff: mojo/public/js/BUILD.gn

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 | « headless/BUILD.gn ('k') | mojo/public/tools/bindings/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 interfaces_bindings_gen_dir = "$root_gen_dir/mojo/public/interfaces/bindings" 5 interfaces_bindings_gen_dir = "$root_gen_dir/mojo/public/interfaces/bindings"
6 6
7 source_set("js") { 7 source_set("js") {
8 sources = [ 8 sources = [
9 "constants.cc", 9 "constants.cc",
10 "constants.h", 10 "constants.h",
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 # TODO(yzshen): Eventually we would like to use Closure Compiler to minify the 71 # TODO(yzshen): Eventually we would like to use Closure Compiler to minify the
72 # bindings instead of simply concatenating the files. 72 # bindings instead of simply concatenating the files.
73 script = "//v8/tools/concatenate-files.py" 73 script = "//v8/tools/concatenate-files.py"
74 74
75 sources = new_bindings_js_files 75 sources = new_bindings_js_files
76 outputs = [ 76 outputs = [
77 compiled_file, 77 compiled_file,
78 ] 78 ]
79 79
80 args = rebase_path(new_bindings_js_files) 80 args = rebase_path(new_bindings_js_files, root_build_dir)
81 args += [ rebase_path(compiled_file) ] 81 args += [ rebase_path(compiled_file, root_build_dir) ]
82 82
83 deps = [ 83 deps = [
84 "//mojo/public/interfaces/bindings:new_bindings__generator", 84 "//mojo/public/interfaces/bindings:new_bindings__generator",
85 ] 85 ]
86 } 86 }
87 87
88 group("tests") { 88 group("tests") {
89 testonly = true 89 testonly = true
90 90
91 data = [ 91 data = [
92 "tests/core_unittest.js", 92 "tests/core_unittest.js",
93 ] 93 ]
94 94
95 public_deps = [ 95 public_deps = [
96 ":bindings", 96 ":bindings",
97 ] 97 ]
98 } 98 }
OLDNEW
« no previous file with comments | « headless/BUILD.gn ('k') | mojo/public/tools/bindings/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698