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 3 # found in the LICENSE file. 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 source_set("js") { 20 sources = [ 21 "core.cc", 22 "core.h", 23 "drain_data.cc", 24 "drain_data.h", 25 "handle.cc", 26 "handle.h", 27 "handle_close_observer.h", 28 "mojo_runner_delegate.cc", 29 "mojo_runner_delegate.h", 30 "support.cc", 31 "support.h", 32 "threading.cc", 33 "threading.h", 34 "waiting_callback.cc", 35 "waiting_callback.h", 36 ] 37 38 public_deps = [ 39 "//base", 40 "//gin", 41 "//v8", 42 ] 43 44 deps = [ 45 "//mojo/public/cpp/system", 46 ] 47 } 48