summaryrefslogtreecommitdiffstats
path: root/blimp/common/BUILD.gn
blob: 2bfed0f75c62d7cee498f5d8862cd3e684a35bfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//testing/test.gni")

component("blimp_common") {
  sources = [
    "blimp_common_export.h",
    "compositor/blimp_image_serialization_processor.cc",
    "compositor/blimp_image_serialization_processor.h",
    "compositor/blimp_task_graph_runner.cc",
    "compositor/blimp_task_graph_runner.h",
    "compositor/webp_decoder.cc",
    "compositor/webp_decoder.h",
    "create_blimp_message.cc",
    "create_blimp_message.h",
    "logging.cc",
    "logging.h",
    "protocol_version.h",
  ]

  defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ]

  deps = [
    "//base",
    "//blimp/common/proto",
    "//cc",
    "//skia",
    "//third_party/libwebp",
    "//ui/gfx/geometry",
    "//ui/gl",
  ]
}

source_set("unit_tests") {
  testonly = true

  sources = [
    "create_blimp_message_unittest.cc",
    "logging_unittest.cc",
  ]

  deps = [
    ":blimp_common",
    "//blimp/common/proto",
    "//testing/gmock",
    "//testing/gtest",
  ]
}