OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 static_library("feedback") { | 5 source_set("feedback") { |
6 sources = [ | 6 sources = [ |
7 "feedback_common.cc", | 7 "feedback_common.cc", |
8 "feedback_common.h", | 8 "feedback_common.h", |
9 "feedback_data.cc", | 9 "feedback_data.cc", |
10 "feedback_data.h", | 10 "feedback_data.h", |
11 "feedback_report.cc", | 11 "feedback_report.cc", |
12 "feedback_report.h", | 12 "feedback_report.h", |
13 "feedback_switches.cc", | 13 "feedback_switches.cc", |
14 "feedback_switches.h", | 14 "feedback_switches.h", |
15 "feedback_uploader.cc", | 15 "feedback_uploader.cc", |
(...skipping 13 matching lines...) Expand all Loading... |
29 deps = [ | 29 deps = [ |
30 "//base", | 30 "//base", |
31 "//components/keyed_service/core:core", | 31 "//components/keyed_service/core:core", |
32 "//components/feedback/proto", | 32 "//components/feedback/proto", |
33 "//components/variations/net", | 33 "//components/variations/net", |
34 "//content/public/common", | 34 "//content/public/common", |
35 "//net", | 35 "//net", |
36 "//third_party/zlib:zip", | 36 "//third_party/zlib:zip", |
37 ] | 37 ] |
38 } | 38 } |
| 39 |
| 40 source_set("unit_tests") { |
| 41 testonly = true |
| 42 sources = [ |
| 43 "feedback_common_unittest.cc", |
| 44 "feedback_data_unittest.cc", |
| 45 "feedback_uploader_chrome_unittest.cc", |
| 46 "feedback_uploader_unittest.cc", |
| 47 ] |
| 48 deps = [ |
| 49 ":feedback", |
| 50 "//components/variations/net", |
| 51 "//testing/gmock", |
| 52 "//testing/gtest", |
| 53 ] |
| 54 } |
OLD | NEW |