OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//third_party/icu/config.gni") | 5 import("//third_party/icu/config.gni") |
6 | 6 |
7 # Meta target that includes both icuuc and icui18n. Most targets want both. | 7 # Meta target that includes both icuuc and icui18n. Most targets want both. |
8 # You can depend on the individually if you need to. | 8 # You can depend on the individually if you need to. |
9 group("icu") { | 9 group("icu") { |
10 deps = [ | 10 public_deps = [ |
11 ":icui18n", | 11 ":icui18n", |
12 ":icuuc", | 12 ":icuuc", |
13 ] | 13 ] |
14 } | 14 } |
15 | 15 |
16 # Shared config used by ICU and all dependents. | 16 # Shared config used by ICU and all dependents. |
17 config("icu_config") { | 17 config("icu_config") { |
18 defines = [ | 18 defines = [ |
19 # Tell ICU to not insert |using namespace icu;| into its headers, | 19 # Tell ICU to not insert |using namespace icu;| into its headers, |
20 # so that chrome's source explicitly has to use |icu::|. | 20 # so that chrome's source explicitly has to use |icu::|. |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 sources = [ | 583 sources = [ |
584 "android/icudtl_dat.S", | 584 "android/icudtl_dat.S", |
585 ] | 585 ] |
586 } else { | 586 } else { |
587 assert(false, "No icu data for this platform") | 587 assert(false, "No icu data for this platform") |
588 } | 588 } |
589 defines = [ "U_HIDE_DATA_SYMBOL" ] | 589 defines = [ "U_HIDE_DATA_SYMBOL" ] |
590 } | 590 } |
591 } | 591 } |
592 } | 592 } |
OLD | NEW |