Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: BUILD.gn

Issue 2743123002: ICU data customization for iOS (Closed)
Patch Set: update BUILD.gn and icudtl.dat for iOS Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698