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") {
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",
30 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
36 source_set("test_support") {
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",
57 source_set("unit_tests") {
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",
70 "//base/test:test_support",
71 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
77 process_version("version_header") {
78 template_file = "version.h.in"
79 output = "$target_gen_dir/version.h"