| # 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("//src/lib/icu/third_party_icu_headers.gni") |
| |
| # [START icu_library] |
| third_party_icu_headers("icu_headers") { |
| headers = [ |
| "third_party/icu/source/common/unicode/locid.h", |
| "third_party/icu/source/common/unicode/ucnv.h", |
| "third_party/icu/source/common/unicode/unistr.h", |
| "third_party/icu/source/i18n/unicode/calendar.h", |
| "third_party/icu/source/i18n/unicode/gregocal.h", |
| "third_party/icu/source/i18n/unicode/smpdtfmt.h", |
| "third_party/icu/source/i18n/unicode/timezone.h", |
| "third_party/icu/source/i18n/unicode/tzfmt.h", |
| ] |
| } |
| |
| source_set("lib") { |
| sources = [ |
| "intl_wisdom_client.cc", |
| "intl_wisdom_client.h", |
| ] |
| |
| public_deps = [ |
| ":icu_headers", |
| "//examples/intl/wisdom/fidl:wisdom_hlcpp", |
| "//sdk/lib/fidl/cpp", |
| "//sdk/lib/sys/cpp", |
| ] |
| } |
| |
| # [END icu_library] |
| |
| executable("intl_wisdom_client") { |
| output_name = "intl_wisdom_client" |
| |
| sources = [ "main.cc" ] |
| |
| deps = [ |
| ":lib", |
| "//examples/intl/wisdom/fidl:wisdom_hlcpp", |
| "//sdk/lib/fidl/cpp", |
| "//sdk/lib/sys/cpp", |
| "//src/lib/fxl", |
| "//src/lib/icu:lib", |
| "//src/lib/icu_data/cpp", |
| "//zircon/system/ulib/async-default", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| ] |
| } |