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