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

Side by Side 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, 1 month 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 unified diff | Download patch
« no previous file with comments | « components/BUILD.gn ('k') | components/sync_driver/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 } 7 }
8 8
9 config("implementation") { 9 config("implementation") {
10 defines = [ "SESSIONS_IMPLEMENTATION" ] 10 defines = [ "SESSIONS_IMPLEMENTATION" ]
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "ios/ios_live_tab.cc", 44 "ios/ios_live_tab.cc",
45 "ios/ios_live_tab.h", 45 "ios/ios_live_tab.h",
46 "ios/ios_serialized_navigation_builder.cc", 46 "ios/ios_serialized_navigation_builder.cc",
47 "ios/ios_serialized_navigation_builder.h", 47 "ios/ios_serialized_navigation_builder.h",
48 "ios/ios_serialized_navigation_driver.cc", 48 "ios/ios_serialized_navigation_driver.cc",
49 "ios/ios_serialized_navigation_driver.h", 49 "ios/ios_serialized_navigation_driver.h",
50 ] 50 ]
51 51
52 public_deps = [ 52 public_deps = [
53 ":shared", 53 ":shared",
54 "//ios/web",
54 ] 55 ]
55 56
56 deps = [ 57 deps = [
57 "//base", 58 "//base",
58 # '../ios/web/ios_web.gyp:ios_web', TODO(GYP) iOS.
59 ] 59 ]
60 } 60 }
61 } 61 }
62 62
63 # Sources shared between the content and iOS implementations. 63 # Sources shared between the content and iOS implementations.
64 source_set("shared") { 64 source_set("shared") {
65 visibility = [ ":*" ] 65 visibility = [ ":*" ]
66 66
67 sources = [ 67 sources = [
68 "core/base_session_service.cc", 68 "core/base_session_service.cc",
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 ] 143 ]
144 144
145 if (!is_android && !is_ios) { 145 if (!is_android && !is_ios) {
146 sources += [ 146 sources += [
147 "core/base_session_service_test_helper.cc", 147 "core/base_session_service_test_helper.cc",
148 "core/base_session_service_test_helper.h", 148 "core/base_session_service_test_helper.h",
149 ] 149 ]
150 } 150 }
151 } 151 }
152 152
153 if (!is_ios && !is_android) { 153 if (!is_android) {
154 source_set("unit_tests") { 154 source_set("unit_tests") {
155 testonly = true 155 testonly = true
156 sources = [ 156 sources = [
157 "content/content_serialized_navigation_builder_unittest.cc",
158 "content/content_serialized_navigation_driver_unittest.cc",
159 "core/serialized_navigation_entry_unittest.cc", 157 "core/serialized_navigation_entry_unittest.cc",
160 "core/session_backend_unittest.cc", 158 "core/session_backend_unittest.cc",
161 "core/session_types_unittest.cc", 159 "core/session_types_unittest.cc",
162 "ios/ios_serialized_navigation_builder_unittest.cc", 160 "ios/ios_serialized_navigation_builder_unittest.cc",
163 "ios/ios_serialized_navigation_driver_unittest.cc", 161 "ios/ios_serialized_navigation_driver_unittest.cc",
164 ] 162 ]
163
164 if (!is_ios) {
165 sources += [
166 "content/content_serialized_navigation_builder_unittest.cc",
167 "content/content_serialized_navigation_driver_unittest.cc",
168 ]
169 }
170
171 public_deps = [
172 ":sessions",
173 ]
174
165 deps = [ 175 deps = [
166 ":sessions",
167 ":test_support", 176 ":test_support",
168 "//base/test:test_support", 177 "//base/test:test_support",
169 "//testing/gtest", 178 "//testing/gtest",
170 ] 179 ]
171 } 180 }
172 } 181 }
OLDNEW
« 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