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