| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |