| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 source_set("tabs") { | 5 source_set("tabs") { |
| 6 sources = [ | 6 sources = [ |
| 7 "legacy_tab_helper.h", | 7 "legacy_tab_helper.h", |
| 8 "tab.h", | 8 "tab.h", |
| 9 "tab_delegate.h", | 9 "tab_delegate.h", |
| 10 "tab_dialog_delegate.h", | 10 "tab_dialog_delegate.h", |
| 11 "tab_headers_delegate.h", | 11 "tab_headers_delegate.h", |
| 12 "tab_helper_util.h", |
| 12 "tab_model.h", | 13 "tab_model.h", |
| 13 "tab_model_list.h", | 14 "tab_model_list.h", |
| 14 "tab_model_observer.h", | 15 "tab_model_observer.h", |
| 15 "tab_model_synced_window_delegate.h", | 16 "tab_model_synced_window_delegate.h", |
| 16 "tab_model_synced_window_delegate_getter.h", | 17 "tab_model_synced_window_delegate_getter.h", |
| 17 "tab_private.h", | 18 "tab_private.h", |
| 18 "tab_snapshotting_delegate.h", | 19 "tab_snapshotting_delegate.h", |
| 19 ] | 20 ] |
| 20 deps = [ | 21 deps = [ |
| 21 "//components/sessions", | 22 "//components/sessions", |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 allow_circular_includes_from = [ ":tabs_internal_arc" ] | 111 allow_circular_includes_from = [ ":tabs_internal_arc" ] |
| 111 libs = [ | 112 libs = [ |
| 112 "CoreLocation.framework", | 113 "CoreLocation.framework", |
| 113 "UIKit.framework", | 114 "UIKit.framework", |
| 114 ] | 115 ] |
| 115 } | 116 } |
| 116 | 117 |
| 117 source_set("tabs_internal_arc") { | 118 source_set("tabs_internal_arc") { |
| 118 sources = [ | 119 sources = [ |
| 119 "legacy_tab_helper.mm", | 120 "legacy_tab_helper.mm", |
| 120 "tab_helper_util.h", | |
| 121 "tab_helper_util.mm", | 121 "tab_helper_util.mm", |
| 122 "tab_model_closing_web_state_observer.h", |
| 123 "tab_model_closing_web_state_observer.mm", |
| 122 "tab_model_list.mm", | 124 "tab_model_list.mm", |
| 123 "tab_model_observers.h", | 125 "tab_model_observers.h", |
| 124 "tab_model_observers.mm", | 126 "tab_model_observers.mm", |
| 125 "tab_model_observers_bridge.h", | 127 "tab_model_observers_bridge.h", |
| 126 "tab_model_observers_bridge.mm", | 128 "tab_model_observers_bridge.mm", |
| 127 "tab_model_selected_tab_observer.h", | 129 "tab_model_selected_tab_observer.h", |
| 128 "tab_model_selected_tab_observer.mm", | 130 "tab_model_selected_tab_observer.mm", |
| 129 "tab_model_web_state_list_delegate.h", | 131 "tab_model_web_state_list_delegate.h", |
| 130 "tab_model_web_state_list_delegate.mm", | 132 "tab_model_web_state_list_delegate.mm", |
| 131 "tab_parenting_observer.h", | 133 "tab_parenting_observer.h", |
| 132 "tab_parenting_observer.mm", | 134 "tab_parenting_observer.mm", |
| 133 ] | 135 ] |
| 134 deps = [ | 136 deps = [ |
| 135 ":tabs", | 137 ":tabs", |
| 136 "//base", | 138 "//base", |
| 137 "//components/favicon/ios", | 139 "//components/favicon/ios", |
| 138 "//components/history/core/browser", | 140 "//components/history/core/browser", |
| 139 "//components/history/ios/browser", | 141 "//components/history/ios/browser", |
| 140 "//components/keyed_service/core", | 142 "//components/keyed_service/core", |
| 143 "//components/sessions", |
| 141 "//components/signin/ios/browser", | 144 "//components/signin/ios/browser", |
| 142 "//ios/chrome/browser", | 145 "//ios/chrome/browser", |
| 143 "//ios/chrome/browser/bookmarks", | 146 "//ios/chrome/browser/bookmarks", |
| 144 "//ios/chrome/browser/browser_state", | 147 "//ios/chrome/browser/browser_state", |
| 145 "//ios/chrome/browser/favicon", | 148 "//ios/chrome/browser/favicon", |
| 146 "//ios/chrome/browser/find_in_page", | 149 "//ios/chrome/browser/find_in_page", |
| 147 "//ios/chrome/browser/find_in_page", | 150 "//ios/chrome/browser/find_in_page", |
| 148 "//ios/chrome/browser/history", | 151 "//ios/chrome/browser/history", |
| 149 "//ios/chrome/browser/infobars", | 152 "//ios/chrome/browser/infobars", |
| 150 "//ios/chrome/browser/reading_list", | 153 "//ios/chrome/browser/reading_list", |
| 151 "//ios/chrome/browser/sessions", | 154 "//ios/chrome/browser/sessions", |
| 152 "//ios/chrome/browser/signin", | 155 "//ios/chrome/browser/signin", |
| 153 "//ios/chrome/browser/ssl", | 156 "//ios/chrome/browser/ssl", |
| 154 "//ios/chrome/browser/store_kit", | 157 "//ios/chrome/browser/store_kit", |
| 155 "//ios/chrome/browser/sync", | 158 "//ios/chrome/browser/sync", |
| 156 "//ios/chrome/browser/translate", | 159 "//ios/chrome/browser/translate", |
| 157 "//ios/chrome/browser/web", | 160 "//ios/chrome/browser/web", |
| 158 "//ios/chrome/browser/web:web_internal", | 161 "//ios/chrome/browser/web:web_internal", |
| 159 "//ios/public/provider/chrome/browser", | 162 "//ios/public/provider/chrome/browser", |
| 160 "//ios/shared/chrome/browser/tabs", | 163 "//ios/shared/chrome/browser/tabs", |
| 161 "//ios/web", | 164 "//ios/web", |
| 165 "//url", |
| 162 ] | 166 ] |
| 163 libs = [ "Foundation.framework" ] | 167 libs = [ "Foundation.framework" ] |
| 164 configs += [ "//build/config/compiler:enable_arc" ] | 168 configs += [ "//build/config/compiler:enable_arc" ] |
| 165 } | 169 } |
| 166 | 170 |
| 167 source_set("unit_tests") { | 171 source_set("unit_tests") { |
| 168 testonly = true | 172 testonly = true |
| 169 sources = [ | 173 sources = [ |
| 170 "tab_model_unittest.mm", | 174 "tab_model_unittest.mm", |
| 171 "tab_unittest.mm", | 175 "tab_unittest.mm", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 184 "//ios/chrome/browser/history", | 188 "//ios/chrome/browser/history", |
| 185 "//ios/chrome/browser/infobars", | 189 "//ios/chrome/browser/infobars", |
| 186 "//ios/chrome/browser/sessions", | 190 "//ios/chrome/browser/sessions", |
| 187 "//ios/chrome/browser/sessions:test_support", | 191 "//ios/chrome/browser/sessions:test_support", |
| 188 "//ios/chrome/browser/ui:ui_internal", | 192 "//ios/chrome/browser/ui:ui_internal", |
| 189 "//ios/chrome/browser/web:web_internal", | 193 "//ios/chrome/browser/web:web_internal", |
| 190 "//ios/chrome/test:test_support", | 194 "//ios/chrome/test:test_support", |
| 191 "//ios/public/provider/chrome/browser", | 195 "//ios/public/provider/chrome/browser", |
| 192 "//ios/public/provider/chrome/browser:test_support", | 196 "//ios/public/provider/chrome/browser:test_support", |
| 193 "//ios/public/provider/chrome/browser/native_app_launcher:test_support", | 197 "//ios/public/provider/chrome/browser/native_app_launcher:test_support", |
| 198 "//ios/shared/chrome/browser/tabs", |
| 194 "//ios/testing:ocmock_support", | 199 "//ios/testing:ocmock_support", |
| 195 "//ios/web", | 200 "//ios/web", |
| 196 "//ios/web:test_support", | 201 "//ios/web:test_support", |
| 197 "//net", | 202 "//net", |
| 198 "//testing/gtest", | 203 "//testing/gtest", |
| 199 "//third_party/ocmock", | 204 "//third_party/ocmock", |
| 200 ] | 205 ] |
| 201 } | 206 } |
| 202 | 207 |
| 203 source_set("unit_tests_arc") { | 208 source_set("unit_tests_arc") { |
| 204 testonly = true | 209 testonly = true |
| 205 sources = [ | 210 sources = [ |
| 206 "tab_model_list_unittest.mm", | 211 "tab_model_list_unittest.mm", |
| 207 ] | 212 ] |
| 208 deps = [ | 213 deps = [ |
| 209 ":tabs", | 214 ":tabs", |
| 210 ":tabs_internal", | 215 ":tabs_internal", |
| 211 "//base", | 216 "//base", |
| 212 "//ios/chrome/browser/browser_state:test_support", | 217 "//ios/chrome/browser/browser_state:test_support", |
| 213 "//ios/chrome/browser/sessions:test_support", | 218 "//ios/chrome/browser/sessions:test_support", |
| 214 "//ios/web:test_support", | 219 "//ios/web:test_support", |
| 215 "//testing/gtest", | 220 "//testing/gtest", |
| 216 ] | 221 ] |
| 217 configs += [ "//build/config/compiler:enable_arc" ] | 222 configs += [ "//build/config/compiler:enable_arc" ] |
| 218 } | 223 } |
| OLD | NEW |