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

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: Fix Android to use GetVersionNumber() Created 4 years, 6 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
« no previous file with comments | « blimp/client/session/assignment_source_unittest.cc ('k') | blimp/common/create_blimp_message.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//chrome/version.gni")
5 import("//testing/test.gni") 6 import("//testing/test.gni")
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 ] 27 ]
28 28
29 defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ] 29 defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ]
30 30
31 deps = [ 31 deps = [
32 "//base", 32 "//base",
33 "//blimp/common/proto", 33 "//blimp/common/proto",
34 "//cc", 34 "//cc",
35 "//crypto", 35 "//crypto",
36 ] 36 ]
37
38 public_deps = [
39 ":protocol_version",
40 ]
37 } 41 }
38 42
39 source_set("test_support") { 43 source_set("test_support") {
40 testonly = true 44 testonly = true
41 45
42 sources = [ 46 sources = [
43 "blob_cache/mock_blob_cache.cc", 47 "blob_cache/mock_blob_cache.cc",
44 "blob_cache/mock_blob_cache.h", 48 "blob_cache/mock_blob_cache.h",
45 "blob_cache/test_util.cc", 49 "blob_cache/test_util.cc",
46 "blob_cache/test_util.h", 50 "blob_cache/test_util.h",
(...skipping 21 matching lines...) Expand all
68 ":common", 72 ":common",
69 ":test_support", 73 ":test_support",
70 "//base", 74 "//base",
71 "//blimp/common/proto", 75 "//blimp/common/proto",
72 "//blimp/net:test_support", 76 "//blimp/net:test_support",
73 "//crypto", 77 "//crypto",
74 "//testing/gmock", 78 "//testing/gmock",
75 "//testing/gtest", 79 "//testing/gtest",
76 ] 80 ]
77 } 81 }
82
83 process_version("protocol_version") {
84 template_file = "protocol_version.h.version"
85 output = "$target_gen_dir/protocol_version.h"
86 }
OLDNEW
« no previous file with comments | « blimp/client/session/assignment_source_unittest.cc ('k') | blimp/common/create_blimp_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698