| 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 132 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_android) { | 153 source_set("unit_tests") { |
| 154 source_set("unit_tests") { | 154 testonly = true |
| 155 testonly = true | 155 sources = [ |
| 156 sources = [ | 156 "core/serialized_navigation_entry_unittest.cc", |
| 157 "core/serialized_navigation_entry_unittest.cc", | 157 "core/session_backend_unittest.cc", |
| 158 "core/session_backend_unittest.cc", | 158 "core/session_types_unittest.cc", |
| 159 "core/session_types_unittest.cc", | 159 "ios/ios_serialized_navigation_builder_unittest.cc", |
| 160 "ios/ios_serialized_navigation_builder_unittest.cc", | 160 "ios/ios_serialized_navigation_driver_unittest.cc", |
| 161 "ios/ios_serialized_navigation_driver_unittest.cc", | 161 ] |
| 162 ] | |
| 163 | 162 |
| 164 if (!is_ios) { | 163 if (!is_ios) { |
| 165 sources += [ | 164 sources += [ |
| 166 "content/content_serialized_navigation_builder_unittest.cc", | 165 "content/content_serialized_navigation_builder_unittest.cc", |
| 167 "content/content_serialized_navigation_driver_unittest.cc", | 166 "content/content_serialized_navigation_driver_unittest.cc", |
| 168 ] | |
| 169 } | |
| 170 | |
| 171 public_deps = [ | |
| 172 ":sessions", | |
| 173 ] | |
| 174 | |
| 175 deps = [ | |
| 176 ":test_support", | |
| 177 "//base/test:test_support", | |
| 178 "//testing/gtest", | |
| 179 ] | 167 ] |
| 180 } | 168 } |
| 169 |
| 170 public_deps = [ |
| 171 ":sessions", |
| 172 ] |
| 173 |
| 174 deps = [ |
| 175 ":test_support", |
| 176 "//base/test:test_support", |
| 177 "//testing/gtest", |
| 178 ] |
| 181 } | 179 } |
| OLD | NEW |