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