| 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 27 matching lines...) Expand all Loading... |
| 38 "waiting_callback.h", | 38 "waiting_callback.h", |
| 39 ] | 39 ] |
| 40 | 40 |
| 41 public_deps = [ | 41 public_deps = [ |
| 42 "//base", | 42 "//base", |
| 43 "//gin", | 43 "//gin", |
| 44 "//v8", | 44 "//v8", |
| 45 ] | 45 ] |
| 46 | 46 |
| 47 deps = [ | 47 deps = [ |
| 48 "//third_party/mojo/src/mojo/public/cpp/environment", | 48 "//mojo/public/cpp/environment", |
| 49 "//third_party/mojo/src/mojo/public/cpp/system", | 49 "//mojo/public/cpp/system", |
| 50 ] | 50 ] |
| 51 } | 51 } |
| 52 | 52 |
| 53 mojo_edk_source_set("js_unittests") { | 53 mojo_edk_source_set("js_unittests") { |
| 54 testonly = true | 54 testonly = true |
| 55 sources = [ | 55 sources = [ |
| 56 "handle_unittest.cc", | 56 "handle_unittest.cc", |
| 57 ] | 57 ] |
| 58 | 58 |
| 59 deps = [ | 59 deps = [ |
| 60 "//mojo/edk/js", | 60 "//mojo/edk/js", |
| 61 "//mojo/edk/test:test_support", | 61 "//mojo/edk/test:test_support", |
| 62 "//mojo/public/cpp/system", |
| 62 "//testing/gtest", | 63 "//testing/gtest", |
| 63 "//third_party/mojo/src/mojo/public/cpp/system", | |
| 64 ] | 64 ] |
| 65 } | 65 } |
| OLD | NEW |