blob: 0f49d9bfc77edf6ce67ed5ac8518916f591cedb0 [file] [log] [blame]
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/test/test_package.gni")
import("//build/testing/environments.gni")
source_set("cmx_facet_parser") {
sources = [
"cmx_facet_parser.cc",
"cmx_facet_parser.h",
]
public_deps = [
"//src/lib/json_parser:json",
"//src/lib/pkg_url",
"//third_party/rapidjson",
]
deps = [
"//zircon/public/lib/trace",
]
}
executable("cmx_facet_parser_unittests_bin") {
testonly = true
output_name = "cmx_facet_parser_unittest"
sources = [
"cmx_facet_parser_unittest.cc",
]
deps = [
":cmx_facet_parser",
"//src/lib/fxl/test:gtest_main",
"//src/lib/json_parser:json",
"//third_party/googletest:gmock",
"//third_party/rapidjson",
]
}
test_package("cmx_facet_parser_unittests") {
deps = [
":cmx_facet_parser_unittests_bin",
]
tests = [
{
name = "cmx_facet_parser_unittest"
environments = basic_envs
},
]
}
group("tests") {
testonly = true
deps = [
":cmx_facet_parser_unittests",
]
}