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 # GYP version: mojo/mojo.gyp:mojo_js_bindings | |
6 source_set("js") { | 5 source_set("js") { |
7 sources = [ | 6 sources = [ |
8 "core.cc", | 7 "core.cc", |
9 "core.h", | 8 "core.h", |
10 "drain_data.cc", | 9 "drain_data.cc", |
11 "drain_data.h", | 10 "drain_data.h", |
12 "handle.cc", | 11 "handle.cc", |
13 "handle.h", | 12 "handle.h", |
14 "handle_close_observer.h", | 13 "handle_close_observer.h", |
15 "support.cc", | 14 "support.cc", |
16 "support.h", | 15 "support.h", |
17 "waiting_callback.cc", | 16 "waiting_callback.cc", |
18 "waiting_callback.h", | 17 "waiting_callback.h", |
19 ] | 18 ] |
20 | 19 |
21 public_deps = [ | 20 public_deps = [ |
22 "//base", | 21 "//base", |
23 "//gin", | 22 "//gin", |
24 "//mojo/common", | |
25 "//v8", | 23 "//v8", |
26 ] | 24 ] |
27 } | 25 } |
| 26 |
| 27 source_set("js_unittests") { |
| 28 testonly = true |
| 29 deps = [ |
| 30 "//mojo/edk/test:test_support", |
| 31 ] |
| 32 |
| 33 sources = [ |
| 34 "handle_unittest.cc", |
| 35 ] |
| 36 } |
OLD | NEW |