| 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", | |
| 166 "ios/ios_serialized_navigation_builder_unittest.mm", | 165 "ios/ios_serialized_navigation_builder_unittest.mm", |
| 167 "ios/ios_serialized_navigation_driver_unittest.cc", | 166 "ios/ios_serialized_navigation_driver_unittest.cc", |
| 168 ] | 167 ] |
| 169 | 168 |
| 170 if (!is_ios) { | 169 if (!is_ios) { |
| 171 sources += [ | 170 sources += [ |
| 172 "content/content_serialized_navigation_builder_unittest.cc", | 171 "content/content_serialized_navigation_builder_unittest.cc", |
| 173 "content/content_serialized_navigation_driver_unittest.cc", | 172 "content/content_serialized_navigation_driver_unittest.cc", |
| 174 ] | 173 ] |
| 175 } | 174 } |
| 176 | 175 |
| 177 public_deps = [ | 176 public_deps = [ |
| 178 ":sessions", | 177 ":sessions", |
| 179 ] | 178 ] |
| 180 | 179 |
| 181 deps = [ | 180 deps = [ |
| 182 ":test_support", | 181 ":test_support", |
| 183 "//base/test:test_support", | 182 "//base/test:test_support", |
| 184 "//components/sync", | 183 "//components/sync", |
| 185 "//testing/gtest", | 184 "//testing/gtest", |
| 186 "//ui/base", # For page transition types. | 185 "//ui/base", # For page transition types. |
| 187 "//url", | 186 "//url", |
| 188 ] | 187 ] |
| 189 | 188 |
| 190 if (!is_ios) { | 189 if (!is_ios) { |
| 191 deps += [ "//content/public/common" ] | 190 deps += [ "//content/public/common" ] |
| 192 } | 191 } |
| 193 } | 192 } |
| OLD | NEW |