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("blimp_common") { | 7 component("blimp_common") { |
8 sources = [ | 8 sources = [ |
9 "blimp_common_export.h", | 9 "blimp_common_export.h", |
10 "compositor/blimp_image_serialization_processor.cc", | 10 "compositor/blimp_image_serialization_processor.cc", |
11 "compositor/blimp_image_serialization_processor.h", | 11 "compositor/blimp_image_serialization_processor.h", |
12 "compositor/blimp_task_graph_runner.cc", | 12 "compositor/blimp_task_graph_runner.cc", |
13 "compositor/blimp_task_graph_runner.h", | 13 "compositor/blimp_task_graph_runner.h", |
| 14 "compositor/webp_decoder.cc", |
| 15 "compositor/webp_decoder.h", |
14 "create_blimp_message.cc", | 16 "create_blimp_message.cc", |
15 "create_blimp_message.h", | 17 "create_blimp_message.h", |
16 "protocol_version.h", | 18 "protocol_version.h", |
17 ] | 19 ] |
18 | 20 |
19 defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ] | 21 defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ] |
20 | 22 |
21 deps = [ | 23 deps = [ |
22 "//base", | 24 "//base", |
23 "//blimp/common/proto", | 25 "//blimp/common/proto", |
24 "//cc", | 26 "//cc", |
25 "//skia", | 27 "//skia", |
| 28 "//third_party/libwebp", |
26 "//ui/gfx/geometry", | 29 "//ui/gfx/geometry", |
27 "//ui/gl", | 30 "//ui/gl", |
28 ] | 31 ] |
29 } | 32 } |
30 | 33 |
31 source_set("unit_tests") { | 34 source_set("unit_tests") { |
32 testonly = true | 35 testonly = true |
33 | 36 |
34 sources = [ | 37 sources = [ |
35 "create_blimp_message_unittest.cc", | 38 "create_blimp_message_unittest.cc", |
36 ] | 39 ] |
37 | 40 |
38 deps = [ | 41 deps = [ |
39 ":blimp_common", | 42 ":blimp_common", |
40 "//blimp/common/proto", | 43 "//blimp/common/proto", |
41 "//testing/gtest", | 44 "//testing/gtest", |
42 ] | 45 ] |
43 } | 46 } |
OLD | NEW |