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("//build/config/host_byteorder.gni") | 5 import("//build/config/host_byteorder.gni") |
6 import("//third_party/icu/config.gni") | 6 import("//third_party/icu/config.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
938 "source/common/unicode/utrace.h", | 938 "source/common/unicode/utrace.h", |
939 "source/common/unicode/utypes.h", | 939 "source/common/unicode/utypes.h", |
940 "source/common/unicode/uvernum.h", | 940 "source/common/unicode/uvernum.h", |
941 "source/common/unicode/uversion.h", | 941 "source/common/unicode/uversion.h", |
942 ] | 942 ] |
943 defines = [ "U_COMMON_IMPLEMENTATION" ] | 943 defines = [ "U_COMMON_IMPLEMENTATION" ] |
944 deps = [ | 944 deps = [ |
945 ":icudata", | 945 ":icudata", |
946 ] | 946 ] |
947 | 947 |
948 if (is_mac && using_sanitizer) { | |
949 deps += [ "//buildtools/third_party/libc++abi" ] | |
950 } | |
951 | |
952 configs -= [ | 948 configs -= [ |
953 "//build/config/compiler:no_rtti", # ICU uses RTTI. | 949 "//build/config/compiler:no_rtti", # ICU uses RTTI. |
954 "//build/config/compiler:chromium_code", | 950 "//build/config/compiler:chromium_code", |
955 ] | 951 ] |
956 configs += [ | 952 configs += [ |
957 "//build/config/compiler:rtti", | 953 "//build/config/compiler:rtti", |
958 "//build/config/compiler:no_chromium_code", | 954 "//build/config/compiler:no_chromium_code", |
959 ] | 955 ] |
960 configs += [ ":icu_code" ] | 956 configs += [ ":icu_code" ] |
961 | 957 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1038 } | 1034 } |
1039 } | 1035 } |
1040 | 1036 |
1041 source_set("icudata") { | 1037 source_set("icudata") { |
1042 sources = [ "$data_assembly" ] | 1038 sources = [ "$data_assembly" ] |
1043 defines = [ "U_HIDE_DATA_SYMBOL" ] | 1039 defines = [ "U_HIDE_DATA_SYMBOL" ] |
1044 deps = [ ":make_data_assembly", ] | 1040 deps = [ ":make_data_assembly", ] |
1045 } | 1041 } |
1046 } | 1042 } |
1047 } | 1043 } |
OLD | NEW |