| 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("sessions") { | 5 source_set("sessions") { |
| 6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
| 7 sources = [ | 7 sources = [ |
| 8 "ios_chrome_session_tab_helper.h", | 8 "ios_chrome_session_tab_helper.h", |
| 9 "ios_chrome_session_tab_helper.mm", | 9 "ios_chrome_session_tab_helper.mm", |
| 10 "ios_chrome_tab_restore_service_client.h", | 10 "ios_chrome_tab_restore_service_client.h", |
| 11 "ios_chrome_tab_restore_service_client.mm", | 11 "ios_chrome_tab_restore_service_client.mm", |
| 12 "ios_chrome_tab_restore_service_factory.cc", | 12 "ios_chrome_tab_restore_service_factory.cc", |
| 13 "ios_chrome_tab_restore_service_factory.h", | 13 "ios_chrome_tab_restore_service_factory.h", |
| 14 ] | 14 ] |
| 15 deps = [ | 15 deps = [ |
| 16 "//base", | 16 "//base", |
| 17 "//components/keyed_service/ios", | 17 "//components/keyed_service/ios", |
| 18 "//components/sessions", | 18 "//components/sessions", |
| 19 "//ios/chrome/browser", | 19 "//ios/chrome/browser", |
| 20 "//ios/chrome/browser/browser_state", | 20 "//ios/chrome/browser/browser_state", |
| 21 "//ios/chrome/browser/tabs", | 21 "//ios/chrome/browser/tabs", |
| 22 "//ios/chrome/browser/ui:browser_list", |
| 22 "//ios/public/provider/chrome/browser", | 23 "//ios/public/provider/chrome/browser", |
| 23 "//ios/web", | 24 "//ios/web", |
| 24 "//url", | 25 "//url", |
| 25 ] | 26 ] |
| 26 public_deps = [ | 27 public_deps = [ |
| 27 ":sessions_non_arc", | 28 ":sessions_non_arc", |
| 28 ] | 29 ] |
| 29 } | 30 } |
| 30 | 31 |
| 31 source_set("sessions_non_arc") { | 32 source_set("sessions_non_arc") { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 44 "tab_restore_service_delegate_impl_ios_factory.h", | 45 "tab_restore_service_delegate_impl_ios_factory.h", |
| 45 "tab_restore_service_delegate_impl_ios_factory.mm", | 46 "tab_restore_service_delegate_impl_ios_factory.mm", |
| 46 ] | 47 ] |
| 47 deps = [ | 48 deps = [ |
| 48 "//base", | 49 "//base", |
| 49 "//components/keyed_service/core", | 50 "//components/keyed_service/core", |
| 50 "//components/keyed_service/ios", | 51 "//components/keyed_service/ios", |
| 51 "//components/sessions", | 52 "//components/sessions", |
| 52 "//ios/chrome/browser/browser_state", | 53 "//ios/chrome/browser/browser_state", |
| 53 "//ios/chrome/browser/tabs", | 54 "//ios/chrome/browser/tabs", |
| 55 "//ios/chrome/browser/ui:browser_list", |
| 54 "//ios/web", | 56 "//ios/web", |
| 55 "//net", | 57 "//net", |
| 56 ] | 58 ] |
| 57 libs = [ "UIKit.framework" ] | 59 libs = [ "UIKit.framework" ] |
| 58 } | 60 } |
| 59 | 61 |
| 60 source_set("test_support") { | 62 source_set("test_support") { |
| 61 testonly = true | 63 testonly = true |
| 62 sources = [ | 64 sources = [ |
| 63 "test_session_service.h", | 65 "test_session_service.h", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 90 bundle_data("resources_unit_tests") { | 92 bundle_data("resources_unit_tests") { |
| 91 visibility = [ ":unit_tests" ] | 93 visibility = [ ":unit_tests" ] |
| 92 testonly = true | 94 testonly = true |
| 93 sources = [ | 95 sources = [ |
| 94 "//ios/chrome/test/data/sessions/corrupted.plist", | 96 "//ios/chrome/test/data/sessions/corrupted.plist", |
| 95 ] | 97 ] |
| 96 outputs = [ | 98 outputs = [ |
| 97 "{{bundle_resources_dir}}/ios/chrome/test/data/sessions/{{source_file_part}}
", | 99 "{{bundle_resources_dir}}/ios/chrome/test/data/sessions/{{source_file_part}}
", |
| 98 ] | 100 ] |
| 99 } | 101 } |
| OLD | NEW |