| 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", |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 ] | 76 ] |
| 77 deps = [ | 77 deps = [ |
| 78 ":resources_unit_tests", | 78 ":resources_unit_tests", |
| 79 ":serialisation", | 79 ":serialisation", |
| 80 ":sessions", | 80 ":sessions", |
| 81 "//base", | 81 "//base", |
| 82 "//base/test:test_support", | 82 "//base/test:test_support", |
| 83 "//ios/chrome/browser", | 83 "//ios/chrome/browser", |
| 84 "//ios/chrome/browser/browser_state:test_support", | 84 "//ios/chrome/browser/browser_state:test_support", |
| 85 "//ios/web", | 85 "//ios/web", |
| 86 "//ios/web:test_support", | |
| 87 "//testing/gtest", | 86 "//testing/gtest", |
| 88 "//third_party/ocmock", | 87 "//third_party/ocmock", |
| 89 ] | 88 ] |
| 90 libs = [ "Foundation.framework" ] | 89 libs = [ "Foundation.framework" ] |
| 91 } | 90 } |
| 92 | 91 |
| 93 bundle_data("resources_unit_tests") { | 92 bundle_data("resources_unit_tests") { |
| 94 visibility = [ ":unit_tests" ] | 93 visibility = [ ":unit_tests" ] |
| 95 testonly = true | 94 testonly = true |
| 96 sources = [ | 95 sources = [ |
| 97 "//ios/chrome/test/data/sessions/corrupted.plist", | 96 "//ios/chrome/test/data/sessions/corrupted.plist", |
| 98 "//ios/chrome/test/data/sessions/session_m57.plist", | 97 "//ios/chrome/test/data/sessions/session_m57.plist", |
| 99 "//ios/chrome/test/data/sessions/session_m58.plist", | 98 "//ios/chrome/test/data/sessions/session_m58.plist", |
| 100 ] | 99 ] |
| 101 outputs = [ | 100 outputs = [ |
| 102 "{{bundle_resources_dir}}/ios/chrome/test/data/sessions/{{source_file_part}}
", | 101 "{{bundle_resources_dir}}/ios/chrome/test/data/sessions/{{source_file_part}}
", |
| 103 ] | 102 ] |
| 104 } | 103 } |
| OLD | NEW |