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 "//google_apis", |
23 "//net", | 24 "//net", |
| 25 "//url", |
24 ] | 26 ] |
25 } | 27 } |
26 | 28 |
27 source_set("unit_tests") { | 29 source_set("unit_tests") { |
28 testonly = true | 30 testonly = true |
29 sources = [ | 31 sources = [ |
30 "cloud_devices_urls_unittest.cc", | 32 "cloud_devices_urls_unittest.cc", |
31 "printer_description_unittest.cc", | 33 "printer_description_unittest.cc", |
32 ] | 34 ] |
33 | 35 |
34 deps = [ | 36 deps = [ |
35 ":common", | 37 ":common", |
| 38 "//base", |
36 "//testing/gmock", | 39 "//testing/gmock", |
37 "//testing/gtest", | 40 "//testing/gtest", |
38 ] | 41 ] |
39 } | 42 } |
OLD | NEW |