| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 sources += [ | 107 sources += [ |
| 108 "core/persistent_tab_restore_service.cc", | 108 "core/persistent_tab_restore_service.cc", |
| 109 "core/persistent_tab_restore_service.h", | 109 "core/persistent_tab_restore_service.h", |
| 110 ] | 110 ] |
| 111 } | 111 } |
| 112 | 112 |
| 113 configs += [ ":implementation" ] | 113 configs += [ ":implementation" ] |
| 114 | 114 |
| 115 public_deps = [ | 115 public_deps = [ |
| 116 "//components/keyed_service/core", | 116 "//components/keyed_service/core", |
| 117 "//sync/protocol", | 117 "//components/sync/protocol", |
| 118 ] | 118 ] |
| 119 | 119 |
| 120 deps = [ | 120 deps = [ |
| 121 "//base", | 121 "//base", |
| 122 "//components/keyed_service/core", | 122 "//components/keyed_service/core", |
| 123 "//components/sync", |
| 123 "//components/variations", | 124 "//components/variations", |
| 124 "//skia", | 125 "//skia", |
| 125 "//sync", | |
| 126 "//ui/base", | 126 "//ui/base", |
| 127 "//ui/gfx", | 127 "//ui/gfx", |
| 128 "//url", | 128 "//url", |
| 129 ] | 129 ] |
| 130 } | 130 } |
| 131 | 131 |
| 132 static_library("test_support") { | 132 static_library("test_support") { |
| 133 testonly = true | 133 testonly = true |
| 134 sources = [ | 134 sources = [ |
| 135 "core/serialized_navigation_entry_test_helper.cc", | 135 "core/serialized_navigation_entry_test_helper.cc", |
| 136 "core/serialized_navigation_entry_test_helper.h", | 136 "core/serialized_navigation_entry_test_helper.h", |
| 137 ] | 137 ] |
| 138 | 138 |
| 139 public_deps = [ | 139 public_deps = [ |
| 140 ":sessions", | 140 ":sessions", |
| 141 ] | 141 ] |
| 142 deps = [ | 142 deps = [ |
| 143 "//base", | 143 "//base", |
| 144 "//components/sync", |
| 144 "//skia", | 145 "//skia", |
| 145 "//sync", | |
| 146 "//testing/gtest", | 146 "//testing/gtest", |
| 147 "//ui/base", # For page_transition_types.h. | 147 "//ui/base", # For page_transition_types.h. |
| 148 "//url", | 148 "//url", |
| 149 ] | 149 ] |
| 150 | 150 |
| 151 if (!is_android && !is_ios) { | 151 if (!is_android && !is_ios) { |
| 152 sources += [ | 152 sources += [ |
| 153 "core/base_session_service_test_helper.cc", | 153 "core/base_session_service_test_helper.cc", |
| 154 "core/base_session_service_test_helper.h", | 154 "core/base_session_service_test_helper.h", |
| 155 ] | 155 ] |
| (...skipping 18 matching lines...) Expand all Loading... |
| 174 ] | 174 ] |
| 175 } | 175 } |
| 176 | 176 |
| 177 public_deps = [ | 177 public_deps = [ |
| 178 ":sessions", | 178 ":sessions", |
| 179 ] | 179 ] |
| 180 | 180 |
| 181 deps = [ | 181 deps = [ |
| 182 ":test_support", | 182 ":test_support", |
| 183 "//base/test:test_support", | 183 "//base/test:test_support", |
| 184 "//sync", | 184 "//components/sync", |
| 185 "//testing/gtest", | 185 "//testing/gtest", |
| 186 "//ui/base", # For page transition types. | 186 "//ui/base", # For page transition types. |
| 187 "//url", | 187 "//url", |
| 188 ] | 188 ] |
| 189 | 189 |
| 190 if (!is_ios) { | 190 if (!is_ios) { |
| 191 deps += [ "//content/public/common" ] | 191 deps += [ "//content/public/common" ] |
| 192 } | 192 } |
| 193 } | 193 } |
| OLD | NEW |