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

Side by Side Diff: BUILD.gn

Issue 2247953005: Fix fuzzer build on Mac for ICU (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Created 4 years, 4 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 | no next file » | 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
11 if (is_mac) {
12 import("build/config/sanitizers/sanitizers.gni")
13 }
14
11 # Meta target that includes both icuuc and icui18n. Most targets want both. 15 # Meta target that includes both icuuc and icui18n. Most targets want both.
12 # You can depend on the individually if you need to. 16 # You can depend on the individually if you need to.
13 group("icu") { 17 group("icu") {
14 public_deps = [ 18 public_deps = [
15 ":icui18n", 19 ":icui18n",
16 ":icuuc", 20 ":icuuc",
17 ] 21 ]
18 } 22 }
19 23
20 # Shared config used by ICU and all dependents. 24 # Shared config used by ICU and all dependents.
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 "source/common/unicode/utrace.h", 951 "source/common/unicode/utrace.h",
948 "source/common/unicode/utypes.h", 952 "source/common/unicode/utypes.h",
949 "source/common/unicode/uvernum.h", 953 "source/common/unicode/uvernum.h",
950 "source/common/unicode/uversion.h", 954 "source/common/unicode/uversion.h",
951 ] 955 ]
952 defines = [ "U_COMMON_IMPLEMENTATION" ] 956 defines = [ "U_COMMON_IMPLEMENTATION" ]
953 deps = [ 957 deps = [
954 ":icudata", 958 ":icudata",
955 ] 959 ]
956 960
961 if (is_mac && (is_asan || is_lsan || is_msan || is_tsan)) {
jungshik at Google 2016/08/16 20:24:43 I guess this is not a right condition to check?
962 deps += [ "//buildtools/third_party/libc++abi" ]
963 }
964
957 configs -= [ 965 configs -= [
958 "//build/config/compiler:no_rtti", # ICU uses RTTI. 966 "//build/config/compiler:no_rtti", # ICU uses RTTI.
959 "//build/config/compiler:chromium_code", 967 "//build/config/compiler:chromium_code",
960 ] 968 ]
961 configs += [ 969 configs += [
962 "//build/config/compiler:rtti", 970 "//build/config/compiler:rtti",
963 "//build/config/compiler:no_chromium_code", 971 "//build/config/compiler:no_chromium_code",
964 ] 972 ]
965 configs += [ ":icu_code" ] 973 configs += [ ":icu_code" ]
966 974
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1039 } 1047 }
1040 } 1048 }
1041 1049
1042 source_set("icudata") { 1050 source_set("icudata") {
1043 sources = [ "$data_assembly" ] 1051 sources = [ "$data_assembly" ]
1044 defines = [ "U_HIDE_DATA_SYMBOL" ] 1052 defines = [ "U_HIDE_DATA_SYMBOL" ]
1045 deps = [ ":make_data_assembly", ] 1053 deps = [ ":make_data_assembly", ]
1046 } 1054 }
1047 } 1055 }
1048 } 1056 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698