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

Unified Diff: components/sessions/BUILD.gn

Issue 1417743003: Lots of misc bug fixes to make the GN build of ios work again. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert mac_deployment_target change 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/BUILD.gn ('k') | components/sync_driver/BUILD.gn » ('j') | 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 b9f043e63c019dba4024af0c898091de17e3e164..8d07d3b1578cfb8ee31416f54979454dbf48937a 100644
--- a/components/sessions/BUILD.gn
+++ b/components/sessions/BUILD.gn
@@ -51,11 +51,11 @@ if (!is_ios) {
public_deps = [
":shared",
+ "//ios/web",
]
deps = [
"//base",
- # '../ios/web/ios_web.gyp:ios_web', TODO(GYP) iOS.
]
}
}
@@ -150,20 +150,29 @@ source_set("test_support") {
}
}
-if (!is_ios && !is_android) {
+if (!is_android) {
source_set("unit_tests") {
testonly = true
sources = [
- "content/content_serialized_navigation_builder_unittest.cc",
- "content/content_serialized_navigation_driver_unittest.cc",
"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 = [
+
+ 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/BUILD.gn ('k') | components/sync_driver/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698