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