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_action_list.h",
10 "data_reduction_proxy_bypass_type_list.h",
11 "data_reduction_proxy_client_config_parser.cc",
12 "data_reduction_proxy_client_config_parser.h",
13 "data_reduction_proxy_config_values.h",
14 "data_reduction_proxy_event_creator.cc",
15 "data_reduction_proxy_event_creator.h",
16 "data_reduction_proxy_event_storage_delegate.h",
17 "data_reduction_proxy_event_store.cc",
18 "data_reduction_proxy_event_store.h",
19 "data_reduction_proxy_headers.cc",
20 "data_reduction_proxy_headers.h",
21 "data_reduction_proxy_params.cc",
22 "data_reduction_proxy_params.h",
23 "data_reduction_proxy_pref_names.cc",
24 "data_reduction_proxy_pref_names.h",
25 "data_reduction_proxy_switches.cc",
26 "data_reduction_proxy_switches.h",
34 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
40 source_set("test_support") {
43 "data_reduction_proxy_event_storage_delegate_test_utils.cc",
44 "data_reduction_proxy_event_storage_delegate_test_utils.h",
45 "data_reduction_proxy_headers_test_utils.cc",
46 "data_reduction_proxy_headers_test_utils.h",
47 "data_reduction_proxy_params_test_utils.cc",
48 "data_reduction_proxy_params_test_utils.h",
63 source_set("unit_tests") {
66 "data_reduction_proxy_client_config_parser_unittest.cc",
67 "data_reduction_proxy_event_store_unittest.cc",
68 "data_reduction_proxy_headers_unittest.cc",
69 "data_reduction_proxy_params_unittest.cc",
76 "//base/test:test_support",
77 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
83 process_version("version_header") {
84 template_file = "version.h.in"
85 output = "$target_gen_dir/version.h"