chromium/components/cloud_devices/common/BUILD.gn

# Copyright 2014 The Chromium Authors
# 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",
    "description_items.h",
    "description_items_inl.h",
    "printer_description.cc",
    "printer_description.h",
  ]
  deps = [
    "//base",
    "//build:chromeos_buildflags",
    "//ui/gfx/geometry",
  ]
}

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

  deps = [
    ":common",
    "//base",
    "//base/test:test_support",
    "//build:chromeos_buildflags",
    "//testing/gmock",
    "//testing/gtest",
    "//ui/gfx/geometry",
  ]
}