Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: components/rappor/BUILD.gn

Issue 1487433002: Add more components to "gn check", work on dom_distiller. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dom_distiller Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # GYP version: components/rappor.gypi:rappor 5 # GYP version: components/rappor.gypi:rappor
6 source_set("rappor") { 6 source_set("rappor") {
7 sources = [ 7 sources = [
8 "bloom_filter.cc", 8 "bloom_filter.cc",
9 "bloom_filter.h", 9 "bloom_filter.h",
10 "byte_vector_utils.cc", 10 "byte_vector_utils.cc",
(...skipping 14 matching lines...) Expand all
25 "rappor_utils.cc", 25 "rappor_utils.cc",
26 "rappor_utils.h", 26 "rappor_utils.h",
27 "reports.cc", 27 "reports.cc",
28 "reports.h", 28 "reports.h",
29 "sample.cc", 29 "sample.cc",
30 "sample.h", 30 "sample.h",
31 "sampler.cc", 31 "sampler.cc",
32 "sampler.h", 32 "sampler.h",
33 ] 33 ]
34 34
35 public_deps = [
36 "//components/rappor/proto",
37 ]
38
35 deps = [ 39 deps = [
36 "//base", 40 "//base",
41 "//base:prefs",
37 "//components/data_use_measurement/core", 42 "//components/data_use_measurement/core",
38 "//components/metrics", 43 "//components/metrics",
39 "//components/rappor/proto",
40 "//components/variations", 44 "//components/variations",
41 "//crypto", 45 "//crypto",
42 "//net", 46 "//net",
43 "//third_party/smhasher:cityhash", 47 "//third_party/smhasher:cityhash",
44 ] 48 ]
45 } 49 }
46 50
47 # GYP version: components/rappor.gypi:rappor_test_support 51 # GYP version: components/rappor.gypi:rappor_test_support
48 static_library("test_support") { 52 static_library("test_support") {
49 testonly = true 53 testonly = true
50 sources = [ 54 sources = [
51 "test_log_uploader.cc", 55 "test_log_uploader.cc",
52 "test_log_uploader.h", 56 "test_log_uploader.h",
53 "test_rappor_service.cc", 57 "test_rappor_service.cc",
54 "test_rappor_service.h", 58 "test_rappor_service.h",
55 ] 59 ]
56 60
57 public_deps = [ 61 public_deps = [
58 ":rappor", 62 ":rappor",
59 ] 63 ]
60 deps = [ 64 deps = [
61 "//components/rappor/proto", 65 "//base",
66 "//base:prefs_test_support",
62 ] 67 ]
63 } 68 }
64 69
65 source_set("unit_tests") { 70 source_set("unit_tests") {
66 testonly = true 71 testonly = true
67 sources = [ 72 sources = [
68 "bloom_filter_unittest.cc", 73 "bloom_filter_unittest.cc",
69 "byte_vector_utils_unittest.cc", 74 "byte_vector_utils_unittest.cc",
70 "log_uploader_unittest.cc", 75 "log_uploader_unittest.cc",
71 "rappor_metric_unittest.cc", 76 "rappor_metric_unittest.cc",
72 "rappor_prefs_unittest.cc", 77 "rappor_prefs_unittest.cc",
73 "rappor_service_unittest.cc", 78 "rappor_service_unittest.cc",
74 "rappor_utils_unittest.cc", 79 "rappor_utils_unittest.cc",
75 "sampler_unittest.cc", 80 "sampler_unittest.cc",
76 ] 81 ]
77 82
78 deps = [ 83 deps = [
79 ":rappor", 84 ":rappor",
85 ":test_support",
86 "//base",
87 "//base:prefs_test_support",
80 "//base/test:test_support", 88 "//base/test:test_support",
81 "//components/rappor/proto", 89 "//components/metrics",
90 "//net:test_support",
82 "//testing/gtest", 91 "//testing/gtest",
92 "//url",
83 ] 93 ]
84 } 94 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698