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