| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 ] | 155 ] |
| 156 } | 156 } |
| 157 } | 157 } |
| 158 | 158 |
| 159 source_set("unit_tests") { | 159 source_set("unit_tests") { |
| 160 testonly = true | 160 testonly = true |
| 161 sources = [ | 161 sources = [ |
| 162 "core/serialized_navigation_entry_unittest.cc", | 162 "core/serialized_navigation_entry_unittest.cc", |
| 163 "core/session_backend_unittest.cc", | 163 "core/session_backend_unittest.cc", |
| 164 "core/session_types_unittest.cc", | 164 "core/session_types_unittest.cc", |
| 165 "core/tab_restore_service_unittest.cc", |
| 165 "ios/ios_serialized_navigation_builder_unittest.mm", | 166 "ios/ios_serialized_navigation_builder_unittest.mm", |
| 166 "ios/ios_serialized_navigation_driver_unittest.cc", | 167 "ios/ios_serialized_navigation_driver_unittest.cc", |
| 167 ] | 168 ] |
| 168 | 169 |
| 169 if (!is_ios) { | 170 if (!is_ios) { |
| 170 sources += [ | 171 sources += [ |
| 171 "content/content_serialized_navigation_builder_unittest.cc", | 172 "content/content_serialized_navigation_builder_unittest.cc", |
| 172 "content/content_serialized_navigation_driver_unittest.cc", | 173 "content/content_serialized_navigation_driver_unittest.cc", |
| 173 ] | 174 ] |
| 174 } | 175 } |
| 175 | 176 |
| 176 public_deps = [ | 177 public_deps = [ |
| 177 ":sessions", | 178 ":sessions", |
| 178 ] | 179 ] |
| 179 | 180 |
| 180 deps = [ | 181 deps = [ |
| 181 ":test_support", | 182 ":test_support", |
| 182 "//base/test:test_support", | 183 "//base/test:test_support", |
| 183 "//sync", | 184 "//sync", |
| 184 "//testing/gtest", | 185 "//testing/gtest", |
| 185 "//ui/base", # For page transition types. | 186 "//ui/base", # For page transition types. |
| 186 "//url", | 187 "//url", |
| 187 ] | 188 ] |
| 188 | 189 |
| 189 if (!is_ios) { | 190 if (!is_ios) { |
| 190 deps += [ "//content/public/common" ] | 191 deps += [ "//content/public/common" ] |
| 191 } | 192 } |
| 192 } | 193 } |
| OLD | NEW |