| Index: services/js/system/BUILD.gn
|
| diff --git a/mojo/edk/js/BUILD.gn b/services/js/system/BUILD.gn
|
| similarity index 79%
|
| rename from mojo/edk/js/BUILD.gn
|
| rename to services/js/system/BUILD.gn
|
| index ed1b81f7fce951d1558991307958be578824987e..b8730e775a36223322a8e289f664e95b5fc2657a 100644
|
| --- a/mojo/edk/js/BUILD.gn
|
| +++ b/services/js/system/BUILD.gn
|
| @@ -2,8 +2,6 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -import("../mojo_edk.gni")
|
| -
|
| # TODO(hansmuller): The organization of tests in this directory is weird:
|
| # * Really, js_unittests tests public stuff, so that should live in public
|
| # and be reworked as some sort of apptest.
|
| @@ -18,7 +16,7 @@ group("tests") {
|
| ]
|
| }
|
|
|
| -mojo_edk_source_set("js") {
|
| +source_set("system") {
|
| sources = [
|
| "core.cc",
|
| "core.h",
|
| @@ -40,29 +38,22 @@ mojo_edk_source_set("js") {
|
| public_deps = [
|
| "//base",
|
| "//gin",
|
| + "//mojo/public/cpp/environment",
|
| + "//mojo/public/cpp/system",
|
| "//v8",
|
| ]
|
| -
|
| - mojo_sdk_deps = [
|
| - "mojo/public/cpp/environment",
|
| - "mojo/public/cpp/system",
|
| - ]
|
| }
|
|
|
| -mojo_edk_source_set("js_unittests") {
|
| +source_set("js_unittests") {
|
| testonly = true
|
| sources = [
|
| "handle_unittest.cc",
|
| ]
|
|
|
| deps = [
|
| + ":system",
|
| + "//mojo/edk/test:test_support",
|
| + "//mojo/public/cpp/system",
|
| "//testing/gtest",
|
| ]
|
| -
|
| - mojo_edk_deps = [
|
| - "mojo/edk/js",
|
| - "mojo/edk/test:test_support",
|
| - ]
|
| -
|
| - mojo_sdk_deps = [ "mojo/public/cpp/system" ]
|
| }
|
|
|