| 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 import("../mojo_edk.gni") | 5 import("../mojo_edk.gni") |
| 6 | 6 |
| 7 # TODO(hansmuller): The organization of tests in this directory is weird: |
| 8 # * Really, js_unittests tests public stuff, so that should live in public |
| 9 # and be reworked as some sort of apptest. |
| 10 # * Both js_unittests and js_integration_tests should auto-generate their |
| 11 # tests somehow. The .cc files are just test runner stubs, including |
| 12 # explicit lists of .js files. |
| 13 group("tests") { |
| 14 testonly = true |
| 15 deps = [ |
| 16 "test:js_unittests", |
| 17 "test:js_integration_tests", |
| 18 ] |
| 19 } |
| 20 |
| 7 mojo_edk_source_set("js") { | 21 mojo_edk_source_set("js") { |
| 8 sources = [ | 22 sources = [ |
| 9 "core.cc", | 23 "core.cc", |
| 10 "core.h", | 24 "core.h", |
| 11 "drain_data.cc", | 25 "drain_data.cc", |
| 12 "drain_data.h", | 26 "drain_data.h", |
| 13 "handle.cc", | 27 "handle.cc", |
| 14 "handle.h", | 28 "handle.h", |
| 15 "handle_close_observer.h", | 29 "handle_close_observer.h", |
| 16 "mojo_runner_delegate.cc", | 30 "mojo_runner_delegate.cc", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 43 | 57 |
| 44 deps = [ | 58 deps = [ |
| 45 "//testing/gtest", | 59 "//testing/gtest", |
| 46 ] | 60 ] |
| 47 | 61 |
| 48 mojo_edk_deps = [ | 62 mojo_edk_deps = [ |
| 49 "mojo/edk/js", | 63 "mojo/edk/js", |
| 50 "mojo/edk/test:test_support", | 64 "mojo/edk/test:test_support", |
| 51 ] | 65 ] |
| 52 | 66 |
| 53 mojo_sdk_deps = [ | 67 mojo_sdk_deps = [ "mojo/public/cpp/system" ] |
| 54 "mojo/public/cpp/system", | |
| 55 ] | |
| 56 } | 68 } |
| OLD | NEW |