diff options
Diffstat (limited to 'components/json_schema/BUILD.gn')
-rw-r--r-- | components/json_schema/BUILD.gn | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/components/json_schema/BUILD.gn b/components/json_schema/BUILD.gn index 8bcb7d5..4e7b435 100644 --- a/components/json_schema/BUILD.gn +++ b/components/json_schema/BUILD.gn @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -static_library("json_schema") { +source_set("json_schema") { sources = [ "json_schema_constants.cc", "json_schema_constants.h", @@ -15,3 +15,16 @@ static_library("json_schema") { "//third_party/re2", ] } + +source_set("unit_tests") { + testonly = true + sources = [ + "json_schema_validator_unittest.cc", + "json_schema_validator_unittest_base.cc", + "json_schema_validator_unittest_base.h", + ] + deps = [ + ":json_schema", + "//testing/gtest", + ] +} |