| 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("metrics") { | 5 source_set("metrics") { |
| 6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
| 7 sources = [ | 7 sources = [ |
| 8 "field_trial_synchronizer.cc", | 8 "field_trial_synchronizer.cc", |
| 9 "field_trial_synchronizer.h", | 9 "field_trial_synchronizer.h", |
| 10 "ios_chrome_metrics_service_accessor.cc", | 10 "ios_chrome_metrics_service_accessor.cc", |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 "//base", | 102 "//base", |
| 103 "//components/google/core/browser", | 103 "//components/google/core/browser", |
| 104 "//ios/chrome/browser", | 104 "//ios/chrome/browser", |
| 105 "//ios/chrome/browser/browser_state", | 105 "//ios/chrome/browser/browser_state", |
| 106 "//ios/chrome/browser/tabs", | 106 "//ios/chrome/browser/tabs", |
| 107 "//ios/chrome/browser/ui", | 107 "//ios/chrome/browser/ui", |
| 108 "//ios/web", | 108 "//ios/web", |
| 109 "//ui/base", | 109 "//ui/base", |
| 110 "//url", | 110 "//url", |
| 111 ] | 111 ] |
| 112 public_deps = [ |
| 113 ":metrics_internal_arc", |
| 114 ] |
| 115 allow_circular_includes_from = [ ":metrics_internal_arc" ] |
| 112 libs = [ "UIKit.framework" ] | 116 libs = [ "UIKit.framework" ] |
| 113 } | 117 } |
| 114 | 118 |
| 119 source_set("metrics_internal_arc") { |
| 120 sources = [ |
| 121 "tab_usage_recorder_web_state_list_observer.h", |
| 122 "tab_usage_recorder_web_state_list_observer.mm", |
| 123 ] |
| 124 deps = [ |
| 125 "//base", |
| 126 "//ios/chrome/browser/tabs", |
| 127 "//ios/shared/chrome/browser/tabs", |
| 128 ] |
| 129 configs += [ "//build/config/compiler:enable_arc" ] |
| 130 } |
| 131 |
| 115 source_set("unit_tests_internal") { | 132 source_set("unit_tests_internal") { |
| 116 testonly = true | 133 testonly = true |
| 117 sources = [ | 134 sources = [ |
| 118 "first_user_action_recorder_unittest.cc", | 135 "first_user_action_recorder_unittest.cc", |
| 119 "size_class_recorder_unittest.mm", | 136 "size_class_recorder_unittest.mm", |
| 120 "tab_usage_recorder_unittest.mm", | 137 "tab_usage_recorder_unittest.mm", |
| 121 ] | 138 ] |
| 122 deps = [ | 139 deps = [ |
| 123 ":metrics", | 140 ":metrics", |
| 124 ":metrics_internal", | 141 ":metrics_internal", |
| (...skipping 29 matching lines...) Expand all Loading... |
| 154 "//ios/chrome/test/app:test_support", | 171 "//ios/chrome/test/app:test_support", |
| 155 "//ios/chrome/test/earl_grey:test_support", | 172 "//ios/chrome/test/earl_grey:test_support", |
| 156 "//ios/testing:ios_test_support", | 173 "//ios/testing:ios_test_support", |
| 157 "//ios/third_party/earl_grey", | 174 "//ios/third_party/earl_grey", |
| 158 "//ios/web:earl_grey_test_support", | 175 "//ios/web:earl_grey_test_support", |
| 159 "//ios/web:test_support", | 176 "//ios/web:test_support", |
| 160 "//ui/base", | 177 "//ui/base", |
| 161 ] | 178 ] |
| 162 libs = [ "XCTest.framework" ] | 179 libs = [ "XCTest.framework" ] |
| 163 } | 180 } |
| OLD | NEW |