summaryrefslogtreecommitdiffstats
path: root/components/rappor
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-10 22:00:37 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-10 22:00:37 +0000
commitb9f4c684a708d9d7e2f8076beb77b3382ae75667 (patch)
tree356760b8dc54a50c46d8af2fbc0414138331164a /components/rappor
parent2501ca5dbd5f1a495b306937c7fed7c32698c943 (diff)
downloadchromium_src-b9f4c684a708d9d7e2f8076beb77b3382ae75667.zip
chromium_src-b9f4c684a708d9d7e2f8076beb77b3382ae75667.tar.gz
chromium_src-b9f4c684a708d9d7e2f8076beb77b3382ae75667.tar.bz2
Add components and CLD to GN build.
New components: - rappor - data_reduction_proxy - captive_portal - translate - usb_service - web_modal Removes the _IMPLEMENTATION define for web_modal. It is unused (it is a static library, not a component). Adds third_party/cld and third_party/cld_2 BUILD files. Separates out the include dir setting of "//" and the root gen directory so. cld_2 needed to not have this due to base file name conflicts. R=jamesr@chromium.org Review URL: https://codereview.chromium.org/382663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282438 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/rappor')
-rw-r--r--components/rappor/BUILD.gn32
-rw-r--r--components/rappor/proto/BUILD.gn11
2 files changed, 43 insertions, 0 deletions
diff --git a/components/rappor/BUILD.gn b/components/rappor/BUILD.gn
new file mode 100644
index 0000000..3127aba
--- /dev/null
+++ b/components/rappor/BUILD.gn
@@ -0,0 +1,32 @@
+# 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.
+
+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",
+ ]
+}
diff --git a/components/rappor/proto/BUILD.gn b/components/rappor/proto/BUILD.gn
new file mode 100644
index 0000000..7b11a2c
--- /dev/null
+++ b/components/rappor/proto/BUILD.gn
@@ -0,0 +1,11 @@
+# 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.
+
+import("//third_party/protobuf/proto_library.gni")
+
+proto_library("proto") {
+ sources = [
+ "rappor_metric.proto",
+ ]
+}