| # 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", |
| "//ui/gfx/geometry", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ "printer_description_unittest.cc" ] |
| |
| deps = [ |
| ":common", |
| "//base", |
| "//base/test:test_support", |
| "//testing/gmock", |
| "//testing/gtest", |
| "//ui/gfx/geometry", |
| ] |
| |
| # TODO(crbug.com/40031409): Fix code that adds exit-time destructors and |
| # enable the diagnostic by removing this line. |
| configs += [ "//build/config/compiler:no_exit_time_destructors" ] |
| } |