summaryrefslogtreecommitdiff
path: root/chromium/components/cloud_devices/common/BUILD.gn
blob: 18ed60337022609a7eb0e4873b247edbd7c4b9f1 (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
# Copyright 2014 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.

static_library("common") {
  output_name = "cloud_devices_common"
  sources = [
    "cloud_device_description.cc",
    "cloud_device_description.h",
    "cloud_device_description_consts.cc",
    "cloud_device_description_consts.h",
    "cloud_devices_switches.cc",
    "cloud_devices_switches.h",
    "cloud_devices_urls.cc",
    "cloud_devices_urls.h",
    "description_items.h",
    "description_items_inl.h",
    "printer_description.cc",
    "printer_description.h",
  ]
  deps = [
    "//base",
    "//google_apis",
    "//net",
    "//url",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "cloud_devices_urls_unittest.cc",
    "printer_description_unittest.cc",
  ]

  deps = [
    ":common",
    "//base",
    "//testing/gmock",
    "//testing/gtest",
  ]
}