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

Unified Diff: components/sessions/BUILD.gn

Issue 1418543006: Make component_unittests run the same tests on GYP and GN on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « components/scheduler/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sessions/BUILD.gn
diff --git a/components/sessions/BUILD.gn b/components/sessions/BUILD.gn
index 8d07d3b1578cfb8ee31416f54979454dbf48937a..370d12e434a3fa8f421e9e8baa76b94a60adf685 100644
--- a/components/sessions/BUILD.gn
+++ b/components/sessions/BUILD.gn
@@ -150,32 +150,30 @@ source_set("test_support") {
}
}
-if (!is_android) {
- source_set("unit_tests") {
- testonly = true
- sources = [
- "core/serialized_navigation_entry_unittest.cc",
- "core/session_backend_unittest.cc",
- "core/session_types_unittest.cc",
- "ios/ios_serialized_navigation_builder_unittest.cc",
- "ios/ios_serialized_navigation_driver_unittest.cc",
- ]
-
- if (!is_ios) {
- sources += [
- "content/content_serialized_navigation_builder_unittest.cc",
- "content/content_serialized_navigation_driver_unittest.cc",
- ]
- }
-
- public_deps = [
- ":sessions",
- ]
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "core/serialized_navigation_entry_unittest.cc",
+ "core/session_backend_unittest.cc",
+ "core/session_types_unittest.cc",
+ "ios/ios_serialized_navigation_builder_unittest.cc",
+ "ios/ios_serialized_navigation_driver_unittest.cc",
+ ]
- deps = [
- ":test_support",
- "//base/test:test_support",
- "//testing/gtest",
+ if (!is_ios) {
+ sources += [
+ "content/content_serialized_navigation_builder_unittest.cc",
+ "content/content_serialized_navigation_driver_unittest.cc",
]
}
+
+ public_deps = [
+ ":sessions",
+ ]
+
+ deps = [
+ ":test_support",
+ "//base/test:test_support",
+ "//testing/gtest",
+ ]
}
« no previous file with comments | « components/scheduler/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698