| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |