Upstream version 10.38.220.0
[platform/framework/web/crosswalk.git] / src / components / data_reduction_proxy / common / BUILD.gn
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.
4
5 import("//components/data_reduction_proxy/common/version.gni")
6
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   ]
16
17   deps = [
18     ":version_header",
19     "//base",
20   ]
21 }
22
23 source_set("unit_tests") {
24   sources = [
25     "data_reduction_proxy_headers_unittest.cc",
26   ]
27
28   deps = [
29     ":common",
30     "//testing/gtest",
31   ]
32 }
33
34 process_version("version_header") {
35   source = "version.h.in"
36   output = "$target_gen_dir/version.h"
37
38