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 source_set("crx_file") { | 5 static_library("proximity_auth") { |
6 sources = [ | 6 sources = [ |
7 "constants.h", | 7 "proximity_auth_system.cc", |
8 "crx_file.cc", | 8 "proximity_auth_system.h", |
9 "crx_file.h", | 9 "remote_device.h", |
10 "id_util.cc", | |
11 "id_util.h", | |
12 ] | 10 ] |
13 | 11 |
14 deps = [ | 12 deps = [ |
15 "//base", | 13 "//base", |
16 ] | 14 ] |
17 } | 15 } |
18 | 16 |
19 source_set("unit_tests") { | 17 source_set("unit_tests") { |
20 sources = [ | 18 sources = [ |
21 "id_util_unittest.cc", | 19 "proximity_auth_system_unittest.cc", |
22 ] | 20 ] |
23 | 21 |
24 deps = [ | 22 deps = [ |
25 ":crx_file", | 23 ":proximity_auth", |
| 24 "//base/test:test_support", |
26 "//testing/gtest", | 25 "//testing/gtest", |
27 ] | 26 ] |
28 } | 27 } |
OLD | NEW |