OLD | NEW |
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("//chrome/version.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 component("common") { | 8 component("common") { |
9 output_name = "blimp_common" | 9 output_name = "blimp_common" |
10 sources = [ | 10 sources = [ |
11 "blimp_common_export.h", | 11 "blimp_common_export.h", |
12 "blob_cache/blob_cache.h", | 12 "blob_cache/blob_cache.h", |
13 "blob_cache/id_util.cc", | 13 "blob_cache/id_util.cc", |
14 "blob_cache/id_util.h", | 14 "blob_cache/id_util.h", |
15 "blob_cache/in_memory_blob_cache.cc", | 15 "blob_cache/in_memory_blob_cache.cc", |
16 "blob_cache/in_memory_blob_cache.h", | 16 "blob_cache/in_memory_blob_cache.h", |
17 "compositor/blimp_task_graph_runner.cc", | 17 "compositor/blimp_task_graph_runner.cc", |
18 "compositor/blimp_task_graph_runner.h", | 18 "compositor/blimp_task_graph_runner.h", |
| 19 "compositor/reference_tracker.cc", |
| 20 "compositor/reference_tracker.h", |
19 "create_blimp_message.cc", | 21 "create_blimp_message.cc", |
20 "create_blimp_message.h", | 22 "create_blimp_message.h", |
21 "get_client_token.cc", | 23 "get_client_token.cc", |
22 "get_client_token.h", | 24 "get_client_token.h", |
23 "logging.cc", | 25 "logging.cc", |
24 "logging.h", | 26 "logging.h", |
25 "switches.cc", | 27 "switches.cc", |
26 "switches.h", | 28 "switches.h", |
27 ] | 29 ] |
28 | 30 |
(...skipping 28 matching lines...) Expand all Loading... |
57 "//testing/gtest", | 59 "//testing/gtest", |
58 ] | 60 ] |
59 } | 61 } |
60 | 62 |
61 source_set("unit_tests") { | 63 source_set("unit_tests") { |
62 testonly = true | 64 testonly = true |
63 | 65 |
64 sources = [ | 66 sources = [ |
65 "blob_cache/id_util_unittest.cc", | 67 "blob_cache/id_util_unittest.cc", |
66 "blob_cache/in_memory_blob_cache_unittest.cc", | 68 "blob_cache/in_memory_blob_cache_unittest.cc", |
| 69 "compositor/reference_tracker_unittest.cc", |
67 "create_blimp_message_unittest.cc", | 70 "create_blimp_message_unittest.cc", |
68 "logging_unittest.cc", | 71 "logging_unittest.cc", |
69 ] | 72 ] |
70 | 73 |
71 deps = [ | 74 deps = [ |
72 ":common", | 75 ":common", |
73 ":test_support", | 76 ":test_support", |
74 "//base", | 77 "//base", |
75 "//blimp/common/proto", | 78 "//blimp/common/proto", |
76 "//blimp/net:test_support", | 79 "//blimp/net:test_support", |
77 "//crypto", | 80 "//crypto", |
78 "//testing/gmock", | 81 "//testing/gmock", |
79 "//testing/gtest", | 82 "//testing/gtest", |
80 ] | 83 ] |
81 } | 84 } |
82 | 85 |
83 process_version("protocol_version") { | 86 process_version("protocol_version") { |
84 template_file = "protocol_version.h.version" | 87 template_file = "protocol_version.h.version" |
85 output = "$target_gen_dir/protocol_version.h" | 88 output = "$target_gen_dir/protocol_version.h" |
86 } | 89 } |
OLD | NEW |