Chromium Code Reviews| Index: services/icu_data/BUILD.gn |
| diff --git a/services/icu_data/BUILD.gn b/services/icu_data/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a4d694ebc3b5d97d9d1b942cedf4a7f2d9b50ab8 |
| --- /dev/null |
| +++ b/services/icu_data/BUILD.gn |
| @@ -0,0 +1,39 @@ |
| +# Copyright 2014 The Chromium 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("//mojo/public/mojo_application.gni") |
| + |
| +action("embed_icu_data") { |
| + script = "embed_icu_data.py" |
| + |
| + inputs = [ |
| + "$root_build_dir/icudtl.dat", |
|
jamesr
2015/01/08 01:23:08
what produces this file? will this change every ti
abarth-chromium
2015/01/08 04:18:12
There are several checked into third_party/icu dep
|
| + ] |
| + |
| + outputs = [ |
| + "$root_gen_dir/mojo/icu/data.c", |
| + ] |
| + |
| + args = rebase_path(inputs + outputs, root_build_dir) |
| + |
| + deps = [ |
| + "//third_party/icu:icudata", |
| + ] |
| +} |
| + |
| +mojo_native_application("icu_data") { |
| + sources = [ |
| + "main.cc", |
| + "$root_gen_dir/mojo/icu/data.c", |
| + ] |
| + |
| + deps = [ |
| + ":embed_icu_data", |
| + "//base", |
| + "//mojo/application", |
| + "//mojo/common", |
| + "//mojo/environment:chromium", |
| + "//mojo/services/icu_data/public/interfaces", |
| + ] |
| +} |