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: | 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 | 6 # * Really, js_unittests tests public stuff, so that should live in public |
7 # and be reworked as some sort of apptest. | 7 # and be reworked as some sort of apptest. |
8 # * Both js_unittests and js_integration_tests should auto-generate their | 8 # * Both js_unittests and js_integration_tests should auto-generate their |
9 # tests somehow. The .cc files are just test runner stubs, including | 9 # tests somehow. The .cc files are just test runner stubs, including |
10 # explicit lists of .js files. | 10 # explicit lists of .js files. |
11 group("tests") { | 11 group("tests") { |
12 testonly = true | 12 testonly = true |
13 deps = [ | 13 deps = [ |
14 # TODO(use_chrome_edk): remove "2" | 14 # TODO(use_chrome_edk): remove "2" |
| 15 "test:js_integration_tests2", |
15 "test:js_unittests2", | 16 "test:js_unittests2", |
16 "test:js_integration_tests2", | |
17 ] | 17 ] |
18 } | 18 } |
19 | 19 |
20 source_set("js") { | 20 source_set("js") { |
21 sources = [ | 21 sources = [ |
22 "core.cc", | 22 "core.cc", |
23 "core.h", | 23 "core.h", |
24 "drain_data.cc", | 24 "drain_data.cc", |
25 "drain_data.h", | 25 "drain_data.h", |
26 "handle.cc", | 26 "handle.cc", |
(...skipping 27 matching lines...) Expand all Loading... |
54 "handle_unittest.cc", | 54 "handle_unittest.cc", |
55 ] | 55 ] |
56 | 56 |
57 deps = [ | 57 deps = [ |
58 "//mojo/edk/js", | 58 "//mojo/edk/js", |
59 "//mojo/edk/test:test_support", | 59 "//mojo/edk/test:test_support", |
60 "//mojo/public/cpp/system", | 60 "//mojo/public/cpp/system", |
61 "//testing/gtest", | 61 "//testing/gtest", |
62 ] | 62 ] |
63 } | 63 } |
OLD | NEW |