Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1351)

Unified Diff: services/js/system/BUILD.gn

Issue 1374023002: Move JS support code from //mojo/edk/js to //services/js/system (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/js/modules/gl/module.cc ('k') | services/js/system/core.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
}
« no previous file with comments | « services/js/modules/gl/module.cc ('k') | services/js/system/core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698