summaryrefslogtreecommitdiffstats
path: root/components/data_reduction_proxy
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/data_reduction_proxy
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/data_reduction_proxy')
-rw-r--r--components/data_reduction_proxy/browser/BUILD.gn52
-rw-r--r--components/data_reduction_proxy/common/BUILD.gn18
2 files changed, 70 insertions, 0 deletions
diff --git a/components/data_reduction_proxy/browser/BUILD.gn b/components/data_reduction_proxy/browser/BUILD.gn
new file mode 100644
index 0000000..0bc9879
--- /dev/null
+++ b/components/data_reduction_proxy/browser/BUILD.gn
@@ -0,0 +1,52 @@
+# 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("browser") {
+ sources = [
+ "data_reduction_proxy_auth_request_handler.cc",
+ "data_reduction_proxy_auth_request_handler.h",
+ "data_reduction_proxy_config_service.cc",
+ "data_reduction_proxy_config_service.h",
+ "data_reduction_proxy_configurator.h",
+ "data_reduction_proxy_metrics.cc",
+ "data_reduction_proxy_metrics.h",
+ "data_reduction_proxy_params.cc",
+ "data_reduction_proxy_params.h",
+ "data_reduction_proxy_prefs.cc",
+ "data_reduction_proxy_prefs.h",
+ "data_reduction_proxy_protocol.cc",
+ "data_reduction_proxy_protocol.h",
+ "data_reduction_proxy_settings.cc",
+ "data_reduction_proxy_settings.h",
+ "data_reduction_proxy_usage_stats.cc",
+ "data_reduction_proxy_usage_stats.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/data_reduction_proxy/common",
+ "//components/pref_registry",
+ "//crypto",
+ "//net",
+ ]
+}
+
+static_library("test_support") {
+ sources = [
+ "data_reduction_proxy_params_test_utils.cc",
+ "data_reduction_proxy_params_test_utils.h",
+ "data_reduction_proxy_settings_test_utils.cc",
+ "data_reduction_proxy_settings_test_utils.h",
+ ]
+
+ deps = [
+ ":browser",
+ "//base",
+ "//components/data_reduction_proxy/common",
+ "//net",
+ "//net:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}
diff --git a/components/data_reduction_proxy/common/BUILD.gn b/components/data_reduction_proxy/common/BUILD.gn
new file mode 100644
index 0000000..ed85ddf
--- /dev/null
+++ b/components/data_reduction_proxy/common/BUILD.gn
@@ -0,0 +1,18 @@
+# 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("common") {
+ sources = [
+ "data_reduction_proxy_headers.cc",
+ "data_reduction_proxy_headers.h",
+ "data_reduction_proxy_pref_names.cc",
+ "data_reduction_proxy_pref_names.h",
+ "data_reduction_proxy_switches.cc",
+ "data_reduction_proxy_switches.h",
+ ]
+
+ deps = [
+ "//base",
+ ]
+}