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

Unified Diff: mojo/public/c/BUILD.gn

Issue 2244503002: mojo/public: Include gtest.h as "gtest/gtest.h", instead of via "absolute" path. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 | « mojo/public/BUILD.gn ('k') | mojo/public/c/tests/bindings/array_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/BUILD.gn
diff --git a/mojo/public/c/BUILD.gn b/mojo/public/c/BUILD.gn
index 43c4470b575c72c6d7d2654454af77f5838484af..8975441cf406b68b869c33c54a8f72535ca349b9 100644
--- a/mojo/public/c/BUILD.gn
+++ b/mojo/public/c/BUILD.gn
@@ -74,10 +74,10 @@ mojo_sdk_source_set("bindings_unittests") {
deps = [
":bindings",
- "//testing/gtest",
]
mojo_sdk_deps = [
+ "mojo/public:gtest",
"mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils",
"mojo/public/cpp/bindings/tests:validation_util",
"mojo/public/cpp/test_support",
@@ -114,8 +114,9 @@ mojo_sdk_source_set("common_unittests") {
deps = [
":common",
- "//testing/gtest",
]
+
+ mojo_sdk_deps = [ "mojo/public:gtest" ]
}
# environment ------------------------------------------------------------------
@@ -300,8 +301,9 @@ mojo_sdk_source_set("system_unittests") {
deps = [
":system",
- "//testing/gtest",
]
+
+ mojo_sdk_deps = [ "mojo/public:gtest" ]
}
mojo_sdk_source_set("system_perftests") {
@@ -317,10 +319,12 @@ mojo_sdk_source_set("system_perftests") {
deps = [
":system",
- "//testing/gtest",
]
- mojo_sdk_deps = [ "mojo/public/cpp/test_support" ]
+ mojo_sdk_deps = [
+ "mojo/public:gtest",
+ "mojo/public/cpp/test_support",
+ ]
}
# Compilation tests ------------------------------------------------------------
@@ -335,8 +339,9 @@ mojo_sdk_source_set("compile_unittests") {
deps = [
":pure_compile_tests",
- "//testing/gtest",
]
+
+ mojo_sdk_deps = [ "mojo/public:gtest" ]
}
# This source set contains "pure" tests that only depend on the public SDK (and
« no previous file with comments | « mojo/public/BUILD.gn ('k') | mojo/public/c/tests/bindings/array_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698