Explicitly add python-numpy dependency to install-build-deps.
[chromium-blink-merge.git] / components / rappor / BUILD.gn
blobe5b8dd9189ef66457d60a4293a98c3c78d2dc6b7
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
3 # found in the LICENSE file.
5 # GYP version: components/rappor.gypi:rappor
6 static_library("rappor") {
7   sources = [
8     "bloom_filter.cc",
9     "bloom_filter.h",
10     "byte_vector_utils.cc",
11     "byte_vector_utils.h",
12     "log_uploader.cc",
13     "log_uploader.h",
14     "rappor_metric.cc",
15     "rappor_metric.h",
16     "rappor_parameters.cc",
17     "rappor_parameters.h",
18     "rappor_pref_names.cc",
19     "rappor_pref_names.h",
20     "rappor_service.cc",
21     "rappor_service.h",
22   ]
24   deps = [
25     "//base",
26     "//components/metrics",
27     "//components/rappor/proto",
28     "//components/variations",
29     "//crypto",
30     "//net",
31     "//third_party/smhasher:cityhash",
32   ]
35 # GYP version: components/rappor.gypi:rappor_test_support
36 static_library("test_support") {
37   testonly = true
38   sources = [
39     "test_rappor_service.cc",
40     "test_rappor_service.h",
41   ]
43   deps = [
44     ":rappor",
45     "//components/rappor/proto",
46   ]
49 source_set("unit_tests") {
50   testonly = true
51   sources = [
52     "bloom_filter_unittest.cc",
53     "byte_vector_utils_unittest.cc",
54     "log_uploader_unittest.cc",
55     "rappor_metric_unittest.cc",
56     "rappor_service_unittest.cc",
57   ]
59   deps = [
60     ":rappor",
61     "//base/test:test_support",
62     "//components/rappor/proto",
63     "//testing/gtest",
64   ]