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

Unified Diff: mojo/edk/test/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/test/BUILD.gn
diff --git a/mojo/edk/test/BUILD.gn b/mojo/edk/test/BUILD.gn
index 42e8c033c413a2fccbe1934618b8df3bb3432a1f..3cf8ae88c087333e12c0f3ed1b2c18ed5d39004f 100644
--- a/mojo/edk/test/BUILD.gn
+++ b/mojo/edk/test/BUILD.gn
@@ -2,8 +2,10 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("../mojo_edk.gni")
+
# GYP version: mojo/edk/mojo_edk.gyp:mojo_common_test_support
-source_set("test_support") {
+mojo_edk_source_set("test_support") {
testonly = true
sources = [
"multiprocess_test_helper.cc",
@@ -16,37 +18,52 @@ source_set("test_support") {
deps = [
"//base",
"//base/test:test_support",
- "//mojo/edk/system",
"//testing/gtest",
]
+
+ mojo_edk_deps = [
+ "mojo/edk/system",
+ ]
}
# GYP version: mojo/edk/mojo_edk.gyp:mojo_run_all_unittests
-source_set("run_all_unittests") {
+mojo_edk_source_set("run_all_unittests") {
testonly = true
+ sources = [
+ "run_all_unittests.cc"
+ ]
+
deps = [
":test_support_impl",
"//base",
"//base/test:test_support",
- "//mojo/edk/system",
- "//mojo/public/c/test_support",
"//testing/gtest",
]
- sources = [
- "run_all_unittests.cc",
+ mojo_edk_deps = [
+ "mojo/edk/system",
+ ]
+
+ mojo_sdk_deps = [
+ "mojo/public/c/test_support",
]
}
# GYP version: mojo/edk/mojo_edk.gyp:mojo_run_all_perftests
-source_set("run_all_perftests") {
+mojo_edk_source_set("run_all_perftests") {
testonly = true
deps = [
":test_support_impl",
"//base",
"//base/test:test_support",
- "//mojo/edk/system",
- "//mojo/public/c/test_support",
+ ]
+
+ mojo_edk_deps = [
+ "mojo/edk/system",
+ ]
+
+ mojo_sdk_deps = [
+ "mojo/public/c/test_support",
]
sources = [
@@ -55,12 +72,15 @@ source_set("run_all_perftests") {
}
# GYP version: mojo/edk/mojo_edk.gyp:mojo_test_support_impl
-source_set("test_support_impl") {
+mojo_edk_source_set("test_support_impl") {
testonly = true
deps = [
"//base",
"//base/test:test_support",
- "//mojo/public/c/test_support",
+ ]
+
+ mojo_sdk_deps = [
+ "mojo/public/c/test_support",
]
sources = [

Powered by Google App Engine
This is Rietveld 408576698