| 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 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 960 deps = [ ":icudata" ] | 960 deps = [ ":icudata" ] |
| 961 disable_compression = true | 961 disable_compression = true |
| 962 } | 962 } |
| 963 } | 963 } |
| 964 } | 964 } |
| 965 | 965 |
| 966 # TODO(GYP): Gyp has considerations here for QNX and for the host toolchain | 966 # TODO(GYP): Gyp has considerations here for QNX and for the host toolchain |
| 967 # that have not been ported over. | 967 # that have not been ported over. |
| 968 if (is_android) { | 968 if (is_android) { |
| 969 data_dir = "android" | 969 data_dir = "android" |
| 970 } else if (is_ios) { |
| 971 data_dir = "ios" |
| 970 } else { | 972 } else { |
| 971 data_dir = "common" | 973 data_dir = "common" |
| 972 } | 974 } |
| 973 # TODO(GYP): Support to use host byteorder to select the icu date file | 975 # TODO(GYP): Support to use host byteorder to select the icu date file |
| 974 if (current_cpu == "mips" || current_cpu == "mips64") { | 976 if (current_cpu == "mips" || current_cpu == "mips64") { |
| 975 data_bundle_prefix = "icudtb" | 977 data_bundle_prefix = "icudtb" |
| 976 } else { | 978 } else { |
| 977 data_bundle_prefix = "icudtl" | 979 data_bundle_prefix = "icudtl" |
| 978 } | 980 } |
| 979 data_bundle = "${data_bundle_prefix}.dat" | 981 data_bundle = "${data_bundle_prefix}.dat" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1021 } | 1023 } |
| 1022 } | 1024 } |
| 1023 | 1025 |
| 1024 source_set("icudata") { | 1026 source_set("icudata") { |
| 1025 sources = [ "$data_assembly" ] | 1027 sources = [ "$data_assembly" ] |
| 1026 defines = [ "U_HIDE_DATA_SYMBOL" ] | 1028 defines = [ "U_HIDE_DATA_SYMBOL" ] |
| 1027 deps = [ ":make_data_assembly", ] | 1029 deps = [ ":make_data_assembly", ] |
| 1028 } | 1030 } |
| 1029 } | 1031 } |
| 1030 } | 1032 } |
| OLD | NEW |