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