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