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