| 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 source_set("js") { | 5 source_set("js") { |
| 6 sources = [ | 6 sources = [ |
| 7 "core.cc", | 7 "core.cc", |
| 8 "core.h", | 8 "core.h", |
| 9 "drain_data.cc", | 9 "drain_data.cc", |
| 10 "drain_data.h", | 10 "drain_data.h", |
| 11 "handle.cc", | 11 "handle.cc", |
| 12 "handle.h", | 12 "handle.h", |
| 13 "handle_close_observer.h", | 13 "handle_close_observer.h", |
| 14 "mojo_runner_delegate.cc", |
| 15 "mojo_runner_delegate.h", |
| 14 "support.cc", | 16 "support.cc", |
| 15 "support.h", | 17 "support.h", |
| 18 "threading.cc", |
| 19 "threading.h", |
| 16 "waiting_callback.cc", | 20 "waiting_callback.cc", |
| 17 "waiting_callback.h", | 21 "waiting_callback.h", |
| 18 ] | 22 ] |
| 19 | 23 |
| 20 public_deps = [ | 24 public_deps = [ |
| 21 "//base", | 25 "//base", |
| 22 "//gin", | 26 "//gin", |
| 23 "//v8", | 27 "//v8", |
| 24 ] | 28 ] |
| 29 |
| 30 deps = [ |
| 31 "//mojo/public/cpp/environment", |
| 32 "//mojo/public/cpp/system", |
| 33 ] |
| 25 } | 34 } |
| 26 | 35 |
| 27 source_set("js_unittests") { | 36 source_set("js_unittests") { |
| 28 testonly = true | 37 testonly = true |
| 29 deps = [ | |
| 30 "//mojo/edk/test:test_support", | |
| 31 ] | |
| 32 | |
| 33 sources = [ | 38 sources = [ |
| 34 "handle_unittest.cc", | 39 "handle_unittest.cc", |
| 35 ] | 40 ] |
| 41 |
| 42 deps = [ |
| 43 "//mojo/edk/js", |
| 44 "//mojo/edk/test:test_support", |
| 45 "//mojo/public/cpp/system", |
| 46 "//testing/gtest", |
| 47 ] |
| 48 |
| 36 } | 49 } |
| OLD | NEW |