OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//chrome/version.gni") # TODO layering violation! | |
6 import("//testing/test.gni") | 5 import("//testing/test.gni") |
7 | 6 |
8 source_set("crypto") { | 7 source_set("crypto") { |
9 sources = [ | 8 sources = [ |
10 "signature_cache.cc", | 9 "signature_cache.cc", |
11 "signature_cache.h", | 10 "signature_cache.h", |
12 ] | 11 ] |
13 | 12 |
14 deps = [ | 13 deps = [ |
15 "//base", | 14 "//base", |
16 ] | 15 ] |
17 } | 16 } |
18 | 17 |
19 # Note: this doesn't correspond to a GYP unit test and should be merged with | 18 # Note: this doesn't correspond to a GYP unit test and should be merged with |
20 # others. (b/22952424) | 19 # others. (b/22952424) |
21 test("cast_crypto_unittests") { | 20 test("cast_crypto_unittests") { |
22 sources = [ | 21 sources = [ |
23 "signature_cache_unittest.cc", | 22 "signature_cache_unittest.cc", |
24 ] | 23 ] |
25 | 24 |
26 deps = [ | 25 deps = [ |
27 ":crypto", | 26 ":crypto", |
28 "//base", | 27 "//base", |
29 "//base/test:run_all_unittests", | 28 "//base/test:run_all_unittests", |
30 "//testing/gtest", | 29 "//testing/gtest", |
31 ] | 30 ] |
32 } | 31 } |
OLD | NEW |