Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: components/data_reduction_proxy/common/BUILD.gn

Issue 533003002: Use chromium version for data reduction proxy version (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//components/data_reduction_proxy/common/version.gni")
6
5 static_library("common") { 7 static_library("common") {
6 sources = [ 8 sources = [
7 "data_reduction_proxy_headers.cc", 9 "data_reduction_proxy_headers.cc",
8 "data_reduction_proxy_headers.h", 10 "data_reduction_proxy_headers.h",
9 "data_reduction_proxy_pref_names.cc", 11 "data_reduction_proxy_pref_names.cc",
10 "data_reduction_proxy_pref_names.h", 12 "data_reduction_proxy_pref_names.h",
11 "data_reduction_proxy_switches.cc", 13 "data_reduction_proxy_switches.cc",
12 "data_reduction_proxy_switches.h", 14 "data_reduction_proxy_switches.h",
13 ] 15 ]
14 16
15 deps = [ 17 deps = [
18 ":version_header",
16 "//base", 19 "//base",
17 ] 20 ]
18 } 21 }
19 22
20 source_set("unit_tests") { 23 source_set("unit_tests") {
21 testonly = true 24 testonly = true
22 sources = [ 25 sources = [
23 "data_reduction_proxy_headers_unittest.cc", 26 "data_reduction_proxy_headers_unittest.cc",
24 ] 27 ]
25 28
26 deps = [ 29 deps = [
27 ":common", 30 ":common",
28 "//testing/gtest", 31 "//testing/gtest",
29 ] 32 ]
30 } 33 }
34
35 process_version("version_header") {
36 source = "version.h.in"
37 output = "$target_gen_dir/version.h"
38 }
39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698