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