| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 "new_tab_page_uma.h", | 87 "new_tab_page_uma.h", |
| 88 "new_tab_page_uma.mm", | 88 "new_tab_page_uma.mm", |
| 89 "size_class_recorder.h", | 89 "size_class_recorder.h", |
| 90 "size_class_recorder.mm", | 90 "size_class_recorder.mm", |
| 91 "size_class_recorder_private.h", | 91 "size_class_recorder_private.h", |
| 92 "tab_usage_recorder.h", | 92 "tab_usage_recorder.h", |
| 93 "tab_usage_recorder.mm", | 93 "tab_usage_recorder.mm", |
| 94 "tab_usage_recorder_delegate.h", | 94 "tab_usage_recorder_delegate.h", |
| 95 ] | 95 ] |
| 96 deps = [ | 96 deps = [ |
| 97 ":metrics", |
| 97 "//base", | 98 "//base", |
| 98 "//components/google/core/browser", | 99 "//components/google/core/browser", |
| 99 "//ios/chrome/browser", | 100 "//ios/chrome/browser", |
| 100 "//ios/chrome/browser/browser_state", | 101 "//ios/chrome/browser/browser_state", |
| 101 "//ios/chrome/browser/metrics", | |
| 102 "//ios/chrome/browser/tabs", | 102 "//ios/chrome/browser/tabs", |
| 103 "//ios/chrome/browser/ui", | 103 "//ios/chrome/browser/ui", |
| 104 "//ios/chrome/browser/ui:browser_list", | 104 "//ios/chrome/browser/ui:browser_list", |
| 105 "//ios/web", | 105 "//ios/web", |
| 106 "//ui/base:base", | 106 "//ui/base", |
| 107 "//url", | 107 "//url", |
| 108 ] | 108 ] |
| 109 libs = [ "UIKit.framework" ] | 109 libs = [ "UIKit.framework" ] |
| 110 } | 110 } |
| 111 | 111 |
| 112 source_set("unit_tests_internal") { | 112 source_set("unit_tests_internal") { |
| 113 testonly = true | 113 testonly = true |
| 114 sources = [ | 114 sources = [ |
| 115 "first_user_action_recorder_unittest.cc", | 115 "first_user_action_recorder_unittest.cc", |
| 116 "size_class_recorder_unittest.mm", | 116 "size_class_recorder_unittest.mm", |
| 117 "tab_usage_recorder_unittest.mm", | 117 "tab_usage_recorder_unittest.mm", |
| 118 ] | 118 ] |
| 119 deps = [ | 119 deps = [ |
| 120 ":metrics", |
| 120 ":metrics_internal", | 121 ":metrics_internal", |
| 121 "//base", | 122 "//base", |
| 122 "//base/test:test_support", | 123 "//base/test:test_support", |
| 123 "//ios/chrome/browser/metrics", | |
| 124 "//ios/chrome/browser/tabs", | 124 "//ios/chrome/browser/tabs", |
| 125 "//ios/chrome/browser/ui", | 125 "//ios/chrome/browser/ui", |
| 126 "//ios/testing:ocmock_support", | 126 "//ios/testing:ocmock_support", |
| 127 "//ios/web", | 127 "//ios/web", |
| 128 "//ios/web:test_support", | 128 "//ios/web:test_support", |
| 129 "//testing/gtest", | 129 "//testing/gtest", |
| 130 "//third_party/ocmock", | 130 "//third_party/ocmock", |
| 131 ] | 131 ] |
| 132 } | 132 } |
| 133 | 133 |
| 134 source_set("eg_tests") { | 134 source_set("eg_tests") { |
| 135 testonly = true | 135 testonly = true |
| 136 sources = [ | 136 sources = [ |
| 137 "tab_usage_recorder_egtest.mm", | 137 "tab_usage_recorder_egtest.mm", |
| 138 ] | 138 ] |
| 139 deps = [ | 139 deps = [ |
| 140 ":metrics_internal", |
| 140 "//base", | 141 "//base", |
| 141 "//base/test:test_support", | 142 "//base/test:test_support", |
| 142 "//components/strings", | 143 "//components/strings", |
| 143 "//ios/chrome/app/strings", | 144 "//ios/chrome/app/strings", |
| 144 "//ios/chrome/browser", | 145 "//ios/chrome/browser", |
| 145 "//ios/chrome/browser/metrics:metrics_internal", | |
| 146 "//ios/chrome/browser/ui", | 146 "//ios/chrome/browser/ui", |
| 147 "//ios/chrome/browser/ui/settings", | 147 "//ios/chrome/browser/ui/settings", |
| 148 "//ios/chrome/browser/ui/toolbar", | 148 "//ios/chrome/browser/ui/toolbar", |
| 149 "//ios/chrome/browser/ui/tools_menu", | 149 "//ios/chrome/browser/ui/tools_menu", |
| 150 "//ios/chrome/test/app:test_support", | 150 "//ios/chrome/test/app:test_support", |
| 151 "//ios/chrome/test/earl_grey:test_support", | 151 "//ios/chrome/test/earl_grey:test_support", |
| 152 "//ios/testing:ios_test_support", | 152 "//ios/testing:ios_test_support", |
| 153 "//ios/third_party/earl_grey", | 153 "//ios/third_party/earl_grey", |
| 154 "//ios/web:test_support", | 154 "//ios/web:test_support", |
| 155 "//ui/base", | 155 "//ui/base", |
| 156 ] | 156 ] |
| 157 libs = [ "XCTest.framework" ] | 157 libs = [ "XCTest.framework" ] |
| 158 } | 158 } |
| OLD | NEW |