blob: 75e465f7981e7590d3475cb4d469a25f990221da [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/package.gni")
source_set("converter") {
testonly = true
sources = [
"converter.cc",
]
deps = [
"//garnet/public/lib/fxl",
"//third_party/rapidjson",
]
}
executable("converter_bin") {
output_name = "catapult_converter"
testonly = true
sources = [
"main.cc",
]
deps = [
":converter",
"//third_party/rapidjson",
]
}
executable("unittest") {
output_name = "catapult_converter_test"
testonly = true
sources = [
"converter_unittest.cc",
]
deps = [
":converter",
"//garnet/public/lib/fxl",
"//third_party/googletest:gtest",
"//third_party/googletest:gtest_main",
"//third_party/rapidjson",
]
}
package("catapult_converter") {
testonly = true
deps = [
":converter_bin",
":unittest",
]
binary = "catapult_converter"
tests = [ {
name = "catapult_converter_test"
} ]
}