blob: 9569f643363ac353bbf407d1d1fccc7fce1b74e3 [file] [log] [blame] [edit]
# 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/host.gni")
import("//build/test.gni")
source_set("srcs") {
sources = [
"json_merge.cc",
"json_merge.h",
]
# TODO(fxbug.dev/57392): Move it back to //third_party once unification completes.
public_deps = [ "//zircon/third_party/rapidjson" ]
}
executable("json_merge") {
sources = [ "main.cc" ]
deps = [ ":srcs" ]
}
test("json_merge_test") {
sources = [ "test.cc" ]
deps = [
":srcs",
"//src/lib/fxl/test:gtest_main",
]
}
install_host_tools("install") {
deps = [ ":json_merge" ]
outputs = [ "json_merge" ]
}