1 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 static_library("common") { 6 output_name = "cloud_devices_common" 7 sources = [ 8 "cloud_device_description.cc", 9 "cloud_device_description.h", 10 "cloud_device_description_consts.cc", 11 "cloud_device_description_consts.h", 12 "cloud_devices_switches.cc", 13 "cloud_devices_switches.h", 14 "cloud_devices_urls.cc", 15 "cloud_devices_urls.h", 16 "description_items.h", 17 "description_items_inl.h", 18 "printer_description.cc", 19 "printer_description.h", 20 ] 21 deps = [ 22 "//base", 23 "//net", 24 ] 25 } 26 27 source_set("unit_tests") { 28 testonly = true 29 sources = [ 30 "cloud_devices_urls_unittest.cc", 31 "printer_description_unittest.cc", 32 ] 33 34 deps = [ 35 ":common", 36 "//testing/gmock", 37 "//testing/gtest", 38 ] 39 } 40