OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 component("browser") { |
| 6 output_name = "reporting_core_browser" |
| 7 |
| 8 sources = [ |
| 9 "reporting_cache.cc", |
| 10 "reporting_cache.h", |
| 11 "reporting_client.cc", |
| 12 "reporting_client.h", |
| 13 "reporting_endpoint.cc", |
| 14 "reporting_endpoint.h", |
| 15 "reporting_manager.cc", |
| 16 "reporting_manager.h", |
| 17 "reporting_report.cc", |
| 18 "reporting_report.h", |
| 19 "reporting_service.cc", |
| 20 "reporting_service.h", |
| 21 "reporting_uploader.cc", |
| 22 "reporting_uploader.h", |
| 23 "reporting_util.cc", |
| 24 "reporting_util.h", |
| 25 ] |
| 26 |
| 27 defines = [ "REPORTING_IMPLEMENTATION" ] |
| 28 |
| 29 public_deps = [ |
| 30 "//base", |
| 31 "//components/keyed_service/core", |
| 32 "//components/reporting/core/common", |
| 33 "//components/reporting/core/public/interfaces", |
| 34 "//net", |
| 35 "//url", |
| 36 ] |
| 37 } |
| 38 |
| 39 source_set("unit_tests") { |
| 40 testonly = true |
| 41 |
| 42 sources = [ |
| 43 "reporting_cache_unittest.cc", |
| 44 ] |
| 45 |
| 46 public_deps = [ |
| 47 ":browser", |
| 48 "//testing/gtest", |
| 49 ] |
| 50 } |
OLD | NEW |