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") |
|
Kevin M
2016/04/22 21:12:54
Alphabetic order for imports?
| |
| 6 import("//chrome/version.gni") | |
| 6 | 7 |
| 7 component("blimp_common") { | 8 component("blimp_common") { |
| 8 sources = [ | 9 sources = [ |
| 9 "blimp_common_export.h", | 10 "blimp_common_export.h", |
| 10 "blob_cache/blob_cache.h", | 11 "blob_cache/blob_cache.h", |
| 11 "blob_cache/id_util.cc", | 12 "blob_cache/id_util.cc", |
| 12 "blob_cache/id_util.h", | 13 "blob_cache/id_util.h", |
| 13 "blob_cache/in_memory_blob_cache.cc", | 14 "blob_cache/in_memory_blob_cache.cc", |
| 14 "blob_cache/in_memory_blob_cache.h", | 15 "blob_cache/in_memory_blob_cache.h", |
| 15 "compositor/blimp_image_serialization_processor.cc", | 16 "compositor/blimp_image_serialization_processor.cc", |
| 16 "compositor/blimp_image_serialization_processor.h", | 17 "compositor/blimp_image_serialization_processor.h", |
| 17 "compositor/blimp_task_graph_runner.cc", | 18 "compositor/blimp_task_graph_runner.cc", |
| 18 "compositor/blimp_task_graph_runner.h", | 19 "compositor/blimp_task_graph_runner.h", |
| 19 "compositor/webp_decoder.cc", | 20 "compositor/webp_decoder.cc", |
| 20 "compositor/webp_decoder.h", | 21 "compositor/webp_decoder.h", |
| 21 "create_blimp_message.cc", | 22 "create_blimp_message.cc", |
| 22 "create_blimp_message.h", | 23 "create_blimp_message.h", |
| 23 "logging.cc", | 24 "logging.cc", |
| 24 "logging.h", | 25 "logging.h", |
| 25 "protocol_version.h", | 26 "version_info.h", |
|
Kevin M
2016/04/22 21:12:54
Are we missing version_info.cc?
| |
| 26 ] | 27 ] |
| 27 | 28 |
| 28 defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ] | 29 defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ] |
| 29 | 30 |
| 30 deps = [ | 31 deps = [ |
| 32 ":generate_version_info", | |
| 31 "//base", | 33 "//base", |
| 32 "//blimp/common/proto", | 34 "//blimp/common/proto", |
| 33 "//cc", | 35 "//cc", |
| 34 "//skia", | 36 "//skia", |
| 35 "//third_party/libwebp", | 37 "//third_party/libwebp", |
| 36 "//ui/gfx/geometry", | 38 "//ui/gfx/geometry", |
| 37 "//ui/gl", | 39 "//ui/gl", |
| 38 ] | 40 ] |
| 39 } | 41 } |
| 40 | 42 |
| 41 source_set("unit_tests") { | 43 source_set("unit_tests") { |
| 42 testonly = true | 44 testonly = true |
| 43 | 45 |
| 44 sources = [ | 46 sources = [ |
| 45 "blob_cache/in_memory_blob_cache_unittest.cc", | 47 "blob_cache/in_memory_blob_cache_unittest.cc", |
| 46 "create_blimp_message_unittest.cc", | 48 "create_blimp_message_unittest.cc", |
| 47 "logging_unittest.cc", | 49 "logging_unittest.cc", |
| 48 ] | 50 ] |
| 49 | 51 |
| 50 deps = [ | 52 deps = [ |
| 51 ":blimp_common", | 53 ":blimp_common", |
| 52 "//blimp/common/proto", | 54 "//blimp/common/proto", |
| 53 "//testing/gmock", | 55 "//testing/gmock", |
| 54 "//testing/gtest", | 56 "//testing/gtest", |
| 55 ] | 57 ] |
| 56 } | 58 } |
| 59 | |
| 60 process_version("generate_version_info") { | |
| 61 template_file = "version_info.cc.version" | |
| 62 output = "$target_gen_dir/version_info.cc" | |
| 63 } | |
| OLD | NEW |