| Index: components/reporting/core/browser/BUILD.gn
|
| diff --git a/components/reporting/core/browser/BUILD.gn b/components/reporting/core/browser/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1d576692ce23ce12b0afd9b3fc4ba7fd31b0c952
|
| --- /dev/null
|
| +++ b/components/reporting/core/browser/BUILD.gn
|
| @@ -0,0 +1,50 @@
|
| +# Copyright 2016 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +component("browser") {
|
| + output_name = "reporting_core_browser"
|
| +
|
| + sources = [
|
| + "reporting_cache.cc",
|
| + "reporting_cache.h",
|
| + "reporting_client.cc",
|
| + "reporting_client.h",
|
| + "reporting_endpoint.cc",
|
| + "reporting_endpoint.h",
|
| + "reporting_manager.cc",
|
| + "reporting_manager.h",
|
| + "reporting_report.cc",
|
| + "reporting_report.h",
|
| + "reporting_service.cc",
|
| + "reporting_service.h",
|
| + "reporting_uploader.cc",
|
| + "reporting_uploader.h",
|
| + "reporting_util.cc",
|
| + "reporting_util.h",
|
| + ]
|
| +
|
| + defines = [ "REPORTING_IMPLEMENTATION" ]
|
| +
|
| + public_deps = [
|
| + "//base",
|
| + "//components/keyed_service/core",
|
| + "//components/reporting/core/common",
|
| + "//components/reporting/core/public/interfaces",
|
| + "//net",
|
| + "//url",
|
| + ]
|
| +}
|
| +
|
| +source_set("unit_tests") {
|
| + testonly = true
|
| +
|
| + sources = [
|
| + "reporting_cache_unittest.cc",
|
| + ]
|
| +
|
| + public_deps = [
|
| + ":browser",
|
| + "//testing/gtest",
|
| + ]
|
| +}
|
|
|