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 # TODO(hansmuller): The organization of tests in this directory is weird: | |
6 # * Really, js_unittests tests public stuff, so that should live in public | |
7 # and be reworked as some sort of apptest. | |
8 # * Both js_unittests and js_integration_tests should auto-generate their | |
9 # tests somehow. The .cc files are just test runner stubs, including | |
10 # explicit lists of .js files. | |
11 group("tests") { | |
12 testonly = true | |
13 deps = [ | |
14 "test:js_integration_tests", | |
15 "test:js_unittests", | |
16 ] | |
17 } | |
18 | |
19 component("js") { | 5 component("js") { |
20 sources = [ | 6 sources = [ |
21 "core.cc", | 7 "core.cc", |
22 "core.h", | 8 "core.h", |
23 "drain_data.cc", | 9 "drain_data.cc", |
24 "drain_data.h", | 10 "drain_data.h", |
25 "handle.cc", | 11 "handle.cc", |
26 "handle.h", | 12 "handle.h", |
27 "handle_close_observer.h", | 13 "handle_close_observer.h", |
28 "js_export.h", | 14 "js_export.h", |
(...skipping 11 matching lines...) Expand all Loading... |
40 "//base", | 26 "//base", |
41 "//gin", | 27 "//gin", |
42 "//v8", | 28 "//v8", |
43 ] | 29 ] |
44 | 30 |
45 deps = [ | 31 deps = [ |
46 "//mojo/public/cpp/system", | 32 "//mojo/public/cpp/system", |
47 ] | 33 ] |
48 defines = [ "MOJO_JS_IMPLEMENTATION" ] | 34 defines = [ "MOJO_JS_IMPLEMENTATION" ] |
49 } | 35 } |
OLD | NEW |