Chromium Code Reviews| 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 component("common") { | 7 component("common") { |
| 8 output_name = "blimp_common" | 8 output_name = "blimp_common" |
| 9 sources = [ | 9 sources = [ |
| 10 "blimp_common_export.h", | 10 "blimp_common_export.h", |
| 11 "blob_cache/blob_cache.h", | 11 "blob_cache/blob_cache.h", |
| 12 "blob_cache/id_util.cc", | 12 "blob_cache/id_util.cc", |
| 13 "blob_cache/id_util.h", | 13 "blob_cache/id_util.h", |
| 14 "blob_cache/in_memory_blob_cache.cc", | 14 "blob_cache/in_memory_blob_cache.cc", |
| 15 "blob_cache/in_memory_blob_cache.h", | 15 "blob_cache/in_memory_blob_cache.h", |
| 16 "compositor/blimp_task_graph_runner.cc", | 16 "compositor/blimp_task_graph_runner.cc", |
| 17 "compositor/blimp_task_graph_runner.h", | 17 "compositor/blimp_task_graph_runner.h", |
| 18 "create_blimp_message.cc", | 18 "create_blimp_message.cc", |
| 19 "create_blimp_message.h", | 19 "create_blimp_message.h", |
| 20 "get_client_token.cc", | |
| 21 "get_client_token.h", | |
| 20 "logging.cc", | 22 "logging.cc", |
| 21 "logging.h", | 23 "logging.h", |
| 22 "protocol_version.h", | 24 "protocol_version.h", |
| 23 ] | 25 ] |
| 24 | 26 |
| 25 defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ] | 27 defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ] |
| 26 | 28 |
| 27 deps = [ | 29 deps = [ |
| 30 ":app_switches", | |
| 28 "//base", | 31 "//base", |
| 29 "//blimp/common/proto", | 32 "//blimp/common/proto", |
| 30 "//cc", | 33 "//cc", |
| 31 "//crypto", | 34 "//crypto", |
| 32 ] | 35 ] |
| 33 } | 36 } |
| 34 | 37 |
| 38 source_set("app_switches") { | |
|
Kevin M
2016/05/11 00:39:57
"switches"
Does this need to be a standalone targ
CJ
2016/05/11 23:48:49
Done.
| |
| 39 sources = [ | |
| 40 "switches.cc", | |
| 41 "switches.h", | |
| 42 ] | |
| 43 } | |
| 44 | |
| 35 source_set("test_support") { | 45 source_set("test_support") { |
| 36 testonly = true | 46 testonly = true |
| 37 | 47 |
| 38 sources = [ | 48 sources = [ |
| 39 "blob_cache/mock_blob_cache.cc", | 49 "blob_cache/mock_blob_cache.cc", |
| 40 "blob_cache/mock_blob_cache.h", | 50 "blob_cache/mock_blob_cache.h", |
| 51 "fake_commandline.cc", | |
| 52 "fake_commandline.h", | |
| 41 ] | 53 ] |
| 42 | 54 |
| 43 deps = [ | 55 deps = [ |
| 44 ":common", | 56 ":common", |
| 45 "//blimp/common/proto", | 57 "//blimp/common/proto", |
| 46 "//testing/gmock", | 58 "//testing/gmock", |
| 47 "//testing/gtest", | 59 "//testing/gtest", |
| 48 ] | 60 ] |
| 49 } | 61 } |
| 50 | 62 |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 61 deps = [ | 73 deps = [ |
| 62 ":common", | 74 ":common", |
| 63 "//base", | 75 "//base", |
| 64 "//blimp/common/proto", | 76 "//blimp/common/proto", |
| 65 "//blimp/net:test_support", | 77 "//blimp/net:test_support", |
| 66 "//crypto", | 78 "//crypto", |
| 67 "//testing/gmock", | 79 "//testing/gmock", |
| 68 "//testing/gtest", | 80 "//testing/gtest", |
| 69 ] | 81 ] |
| 70 } | 82 } |
| OLD | NEW |