Convert env to a defaultdict in run_executable() to fix other callers of that function.
[chromium-blink-merge.git] / components / data_reduction_proxy / common / BUILD.gn
blob24eb383981327a51b60235fd7b3748ca7065b820
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("//components/data_reduction_proxy/common/version.gni")
7 static_library("common") {
8   sources = [
9     "data_reduction_proxy_headers.cc",
10     "data_reduction_proxy_headers.h",
11     "data_reduction_proxy_pref_names.cc",
12     "data_reduction_proxy_pref_names.h",
13     "data_reduction_proxy_switches.cc",
14     "data_reduction_proxy_switches.h",
15   ]
17   deps = [
18     ":version_header",
19     "//base",
20   ]
23 source_set("unit_tests") {
24   testonly = true
25   sources = [
26     "data_reduction_proxy_headers_unittest.cc",
27   ]
29   deps = [
30     ":common",
31     "//testing/gtest",
32   ]
35 process_version("version_header") {
36   source = "version.h.in"
37   output = "$target_gen_dir/version.h"
38