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