| 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 import("../mojo_edk.gni") | 5 import("../mojo_edk.gni") |
| 6 | 6 |
| 7 # TODO(hansmuller): The organization of tests in this directory is weird: | 7 # TODO(hansmuller): The organization of tests in this directory is weird: |
| 8 # * Really, js_unittests tests public stuff, so that should live in public | 8 # * Really, js_unittests tests public stuff, so that should live in public |
| 9 # and be reworked as some sort of apptest. | 9 # and be reworked as some sort of apptest. |
| 10 # * Both js_unittests and js_integration_tests should auto-generate their | 10 # * Both js_unittests and js_integration_tests should auto-generate their |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 "waiting_callback.cc", | 36 "waiting_callback.cc", |
| 37 "waiting_callback.h", | 37 "waiting_callback.h", |
| 38 ] | 38 ] |
| 39 | 39 |
| 40 public_deps = [ | 40 public_deps = [ |
| 41 "//base", | 41 "//base", |
| 42 "//gin", | 42 "//gin", |
| 43 "//v8", | 43 "//v8", |
| 44 ] | 44 ] |
| 45 | 45 |
| 46 mojo_sdk_deps = [ | 46 deps = [ |
| 47 "mojo/public/cpp/environment", | 47 "//third_party/mojo/src/mojo/public/cpp/environment", |
| 48 "mojo/public/cpp/system", | 48 "//third_party/mojo/src/mojo/public/cpp/system", |
| 49 ] | 49 ] |
| 50 } | 50 } |
| 51 | 51 |
| 52 mojo_edk_source_set("js_unittests") { | 52 mojo_edk_source_set("js_unittests") { |
| 53 testonly = true | 53 testonly = true |
| 54 sources = [ | 54 sources = [ |
| 55 "handle_unittest.cc", | 55 "handle_unittest.cc", |
| 56 ] | 56 ] |
| 57 | 57 |
| 58 deps = [ | 58 deps = [ |
| 59 "//mojo/edk/js", |
| 60 "//mojo/edk/test:test_support", |
| 59 "//testing/gtest", | 61 "//testing/gtest", |
| 62 "//third_party/mojo/src/mojo/public/cpp/system", |
| 60 ] | 63 ] |
| 61 | |
| 62 mojo_edk_deps = [ | |
| 63 "mojo/edk/js", | |
| 64 "mojo/edk/test:test_support", | |
| 65 ] | |
| 66 | |
| 67 mojo_sdk_deps = [ "mojo/public/cpp/system" ] | |
| 68 } | 64 } |
| OLD | NEW |