Adam Barth | 3d35910 | 2015-01-08 11:25:50 -0800 | [diff] [blame] | 1 | # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | import("//mojo/public/mojo_application.gni") |
| 6 | import("//mojo/public/tools/bindings/mojom.gni") |
Benjamin Lerman | dc3d193 | 2015-03-09 11:17:39 +0100 | [diff] [blame] | 7 | import("//mojo/tools/embed/rules.gni") |
Adam Barth | 3d35910 | 2015-01-08 11:25:50 -0800 | [diff] [blame] | 8 | |
Benjamin Lerman | dc3d193 | 2015-03-09 11:17:39 +0100 | [diff] [blame] | 9 | embed_file("embed_icu_data") { |
| 10 | source = "$root_build_dir/icudtl.dat" |
| 11 | namespace = "icu_data" |
| 12 | variable = "kICUData" |
Adam Barth | 3d35910 | 2015-01-08 11:25:50 -0800 | [diff] [blame] | 13 | |
| 14 | deps = [ |
| 15 | "//third_party/icu:icudata", |
| 16 | ] |
| 17 | } |
| 18 | |
| 19 | mojo_native_application("icu_data") { |
| 20 | sources = [ |
| 21 | "icu_data_impl.cc", |
Adam Barth | 3d35910 | 2015-01-08 11:25:50 -0800 | [diff] [blame] | 22 | ] |
| 23 | |
| 24 | deps = [ |
| 25 | "//base", |
| 26 | "//mojo/application", |
| 27 | "//mojo/common", |
| 28 | "//mojo/environment:chromium", |
Viet-Trung Luu | 84765c4 | 2015-10-10 01:07:51 -0700 | [diff] [blame] | 29 | "//mojo/services/icu_data/interfaces", |
Adam Barth | 3d35910 | 2015-01-08 11:25:50 -0800 | [diff] [blame] | 30 | ":embed_icu_data", |
Adam Barth | 3d35910 | 2015-01-08 11:25:50 -0800 | [diff] [blame] | 31 | ] |
| 32 | } |