| # Copyright 2019 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") |
| |
| if (current_toolchain == host_toolchain) { |
| executable("icu_data_extractor") { |
| output_name = "icu_data_extractor" |
| sources = [ |
| "main.cc", |
| "tz_version.cc", |
| "tz_version.h", |
| ] |
| deps = [ |
| "//src/lib/files", |
| "//src/lib/fxl", |
| "//third_party/icu", |
| ] |
| } |
| } |
| |
| install_host_tools("host") { |
| testonly = true |
| deps = [ |
| ":icu_data_extractor", |
| ] |
| outputs = [ |
| "icu_data_extractor", |
| ] |
| } |