Add an exponential backoff to rechecking the app list doodle.
[chromium-blink-merge.git] / components / data_reduction_proxy / core / common / BUILD.gn
blob6976004e9091b52c9a6ef574cc6566e8a63aa71e
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 import("//chrome/version.gni")
7 static_library("common") {
8   sources = [
9     "data_reduction_proxy_bypass_type_list.h",
10     "data_reduction_proxy_client_config_parser.cc",
11     "data_reduction_proxy_client_config_parser.h",
12     "data_reduction_proxy_config_values.h",
13     "data_reduction_proxy_event_store.cc",
14     "data_reduction_proxy_event_store.h",
15     "data_reduction_proxy_headers.cc",
16     "data_reduction_proxy_headers.h",
17     "data_reduction_proxy_params.cc",
18     "data_reduction_proxy_params.h",
19     "data_reduction_proxy_pref_names.cc",
20     "data_reduction_proxy_pref_names.h",
21     "data_reduction_proxy_switches.cc",
22     "data_reduction_proxy_switches.h",
23   ]
25   public_deps = [
26     ":version_header",
27   ]
28   deps = [
29     "//base",
30     "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
31     "//net",
32     "//url",
33   ]
36 source_set("test_support") {
37   testonly = true
38   sources = [
39     "data_reduction_proxy_headers_test_utils.cc",
40     "data_reduction_proxy_headers_test_utils.h",
41     "data_reduction_proxy_params_test_utils.cc",
42     "data_reduction_proxy_params_test_utils.h",
43   ]
45   public_deps = [
46     ":common",
47   ]
48   deps = [
49     "//base",
50     "//net",
51     "//net:test_support",
52     "//testing/gmock",
53     "//testing/gtest",
54   ]
57 source_set("unit_tests") {
58   testonly = true
59   sources = [
60     "data_reduction_proxy_client_config_parser_unittest.cc",
61     "data_reduction_proxy_event_store_unittest.cc",
62     "data_reduction_proxy_headers_unittest.cc",
63     "data_reduction_proxy_params_unittest.cc",
64   ]
66   deps = [
67     ":common",
68     ":test_support",
69     "//base",
70     "//base/test:test_support",
71     "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
72     "//net:test_support",
73     "//testing/gtest",
74   ]
77 process_version("version_header") {
78   template_file = "version.h.in"
79   output = "$target_gen_dir/version.h"