# 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", "log_uploader_interface.h", "rappor_metric.cc", "rappor_metric.h", "rappor_parameters.cc", "rappor_parameters.h", "rappor_pref_names.cc", "rappor_pref_names.h", "rappor_prefs.cc", "rappor_prefs.h", "rappor_service.cc", "rappor_service.h", "rappor_utils.cc", "rappor_utils.h", "reports.cc", "reports.h", "sample.cc", "sample.h", "sampler.cc", "sampler.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_log_uploader.cc", "test_log_uploader.h", "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_prefs_unittest.cc", "rappor_service_unittest.cc", "rappor_utils_unittest.cc", "sampler_unittest.cc", ] deps = [ ":rappor", "//base/test:test_support", "//components/rappor/proto", "//testing/gtest", ] }