| # Copyright 2016 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") |
| |
| executable("icu_data_provider") { |
| sources = [ |
| "icu_data_provider_impl.cc", |
| "icu_data_provider_impl.h", |
| "main.cc", |
| ] |
| |
| deps = [ |
| "//garnet/public/lib/app/cpp", |
| "//garnet/public/lib/fsl", |
| "//garnet/public/lib/fxl", |
| "//garnet/public/lib/icu_data/cpp", |
| "//garnet/public/lib/icu_data/fidl", |
| "//zircon/public/lib/async-loop-cpp", |
| ] |
| |
| data = [ |
| "//third_party/icu/common/icudtl.dat", |
| ] |
| } |
| |
| package("icu_data") { |
| deps = [ |
| ":icu_data_provider", |
| ] |
| |
| binary = "icu_data_provider" |
| |
| resources = [ { |
| path = rebase_path("//third_party/icu/common/icudtl.dat") |
| dest = "icudtl.dat" |
| } ] |
| } |