blob: e5b8dd9189ef66457d60a4293a98c3c78d2dc6b7 [file] [log] [blame]
# Copyright 2014 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.
# GYP version: components/rappor.gypi:rappor
static_library("rappor") {
sources = [
"bloom_filter.cc",
"bloom_filter.h",
"byte_vector_utils.cc",
"byte_vector_utils.h",
"log_uploader.cc",
"log_uploader.h",
"rappor_metric.cc",
"rappor_metric.h",
"rappor_parameters.cc",
"rappor_parameters.h",
"rappor_pref_names.cc",
"rappor_pref_names.h",
"rappor_service.cc",
"rappor_service.h",
]
deps = [
"//base",
"//components/metrics",
"//components/rappor/proto",
"//components/variations",
"//crypto",
"//net",
"//third_party/smhasher:cityhash",
]
}
# GYP version: components/rappor.gypi:rappor_test_support
static_library("test_support") {
testonly = true
sources = [
"test_rappor_service.cc",
"test_rappor_service.h",
]
deps = [
":rappor",
"//components/rappor/proto",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"bloom_filter_unittest.cc",
"byte_vector_utils_unittest.cc",
"log_uploader_unittest.cc",
"rappor_metric_unittest.cc",
"rappor_service_unittest.cc",
]
deps = [
":rappor",
"//base/test:test_support",
"//components/rappor/proto",
"//testing/gtest",
]
}