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

Unified Diff: mojo/edk/js/BUILD.gn

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| Created 6 years 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
Index: mojo/edk/js/BUILD.gn
diff --git a/mojo/edk/js/BUILD.gn b/mojo/edk/js/BUILD.gn
index 5a7e3d5e517ee3f3e8732b9f3b060a55b707c8cf..9a066d33611e1fcc2fe2f8fb7474a6c1b6917c17 100644
--- a/mojo/edk/js/BUILD.gn
+++ b/mojo/edk/js/BUILD.gn
@@ -2,7 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("js") {
+import("../mojo_edk.gni")
+
+mojo_edk_source_set("js") {
sources = [
"core.cc",
"core.h",
@@ -27,22 +29,28 @@ source_set("js") {
"//v8",
]
- deps = [
- "//mojo/public/cpp/environment",
- "//mojo/public/cpp/system",
+ mojo_sdk_deps = [
+ "mojo/public/cpp/environment",
+ "mojo/public/cpp/system",
]
}
-source_set("js_unittests") {
+mojo_edk_source_set("js_unittests") {
testonly = true
sources = [
"handle_unittest.cc",
]
deps = [
- "//mojo/edk/js",
- "//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",
+ ]
}

Powered by Google App Engine
This is Rietveld 408576698