ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / components / data_reduction_proxy / core / common / BUILD.gn
blob674c3619e188091d7bbc7b0b1844302aa073a75f
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_event_store.cc",
11     "data_reduction_proxy_event_store.h",
12     "data_reduction_proxy_headers.cc",
13     "data_reduction_proxy_headers.h",
14     "data_reduction_proxy_params.cc",
15     "data_reduction_proxy_params.h",
16     "data_reduction_proxy_pref_names.cc",
17     "data_reduction_proxy_pref_names.h",
18     "data_reduction_proxy_switches.cc",
19     "data_reduction_proxy_switches.h",
20   ]
22   public_deps = [
23     ":version_header",
24   ]
25   deps = [
26     "//base",
27     "//net",
28     "//url",
29   ]
32 source_set("test_support") {
33   testonly = true
34   sources = [
35     "data_reduction_proxy_headers_test_utils.cc",
36     "data_reduction_proxy_headers_test_utils.h",
37     "data_reduction_proxy_params_test_utils.cc",
38     "data_reduction_proxy_params_test_utils.h",
39   ]
41   public_deps = [
42     ":common",
43   ]
44   deps = [
45     "//base",
46     "//net",
47     "//net:test_support",
48     "//testing/gmock",
49     "//testing/gtest",
50   ]
53 source_set("unit_tests") {
54   testonly = true
55   sources = [
56     "data_reduction_proxy_event_store_unittest.cc",
57     "data_reduction_proxy_headers_unittest.cc",
58     "data_reduction_proxy_params_unittest.cc",
59   ]
61   deps = [
62     ":common",
63     ":test_support",
64     "//base",
65     "//base/test:test_support",
66     "//net:test_support",
67     "//testing/gtest",
68   ]
71 process_version("version_header") {
72   template_file = "version.h.in"
73   output = "$target_gen_dir/version.h"