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

Side by Side Diff: blimp/common/BUILD.gn

Issue 1876983002: Use Chromium BUILD to approximate Blimp protocol version, and check it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Route EndConnection to OnConnectionError notifications Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//testing/test.gni") 5 import("//testing/test.gni")
6 import("//chrome/version.gni")
Kevin M 2016/05/25 21:19:19 alphabetic sort
Wez 2016/05/25 23:11:36 Done.
6 7
7 component("common") { 8 component("common") {
8 output_name = "blimp_common" 9 output_name = "blimp_common"
9 sources = [ 10 sources = [
10 "blimp_common_export.h", 11 "blimp_common_export.h",
11 "blob_cache/blob_cache.h", 12 "blob_cache/blob_cache.h",
12 "blob_cache/id_util.cc", 13 "blob_cache/id_util.cc",
13 "blob_cache/id_util.h", 14 "blob_cache/id_util.h",
14 "blob_cache/in_memory_blob_cache.cc", 15 "blob_cache/in_memory_blob_cache.cc",
15 "blob_cache/in_memory_blob_cache.h", 16 "blob_cache/in_memory_blob_cache.h",
16 "compositor/blimp_task_graph_runner.cc", 17 "compositor/blimp_task_graph_runner.cc",
17 "compositor/blimp_task_graph_runner.h", 18 "compositor/blimp_task_graph_runner.h",
18 "create_blimp_message.cc", 19 "create_blimp_message.cc",
19 "create_blimp_message.h", 20 "create_blimp_message.h",
20 "get_client_token.cc", 21 "get_client_token.cc",
21 "get_client_token.h", 22 "get_client_token.h",
22 "logging.cc", 23 "logging.cc",
23 "logging.h", 24 "logging.h",
24 "protocol_version.h",
25 "switches.cc", 25 "switches.cc",
26 "switches.h", 26 "switches.h",
27 "version_info.h",
27 ] 28 ]
28 29
29 defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ] 30 defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ]
30 31
31 deps = [ 32 deps = [
33 ":generate_version_info",
32 "//base", 34 "//base",
33 "//blimp/common/proto", 35 "//blimp/common/proto",
34 "//cc", 36 "//cc",
35 "//crypto", 37 "//crypto",
36 ] 38 ]
37 } 39 }
38 40
39 source_set("test_support") { 41 source_set("test_support") {
40 testonly = true 42 testonly = true
41 43
(...skipping 25 matching lines...) Expand all
67 deps = [ 69 deps = [
68 ":common", 70 ":common",
69 "//base", 71 "//base",
70 "//blimp/common/proto", 72 "//blimp/common/proto",
71 "//blimp/net:test_support", 73 "//blimp/net:test_support",
72 "//crypto", 74 "//crypto",
73 "//testing/gmock", 75 "//testing/gmock",
74 "//testing/gtest", 76 "//testing/gtest",
75 ] 77 ]
76 } 78 }
79
80 process_version("generate_version_info") {
81 template_file = "version_info.cc.version"
82 output = "$target_gen_dir/version_info.cc"
83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698