File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
llvm/utils/gn/secondary/compiler-rt/lib Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ group("lib") {
10
10
if (current_os == " linux" || current_os == " android" ) {
11
11
deps += [ " //compiler-rt/lib/ubsan_minimal" ]
12
12
}
13
+ if (current_os == " android" && current_cpu == " arm64" ) {
14
+ deps += [ " //compiler-rt/lib/hwasan" ]
15
+ }
13
16
if (current_os != " baremetal" ) {
14
17
deps += [
15
18
" //compiler-rt/lib/asan" ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ gen_version_script("version_script") {
11
11
extra = " hwasan.syms.extra"
12
12
output = " $target_gen_dir /hwasan.vers"
13
13
libs = [
14
- " :hwasan " ,
14
+ " :hwasan_static " ,
15
15
" :hwasan_cxx" ,
16
16
]
17
17
lib_names = [
@@ -88,7 +88,7 @@ source_set("cxx_sources") {
88
88
sources = [ " hwasan_new_delete.cpp" ]
89
89
}
90
90
91
- static_library (" hwasan " ) {
91
+ static_library (" hwasan_static " ) {
92
92
output_dir = crt_current_out_dir
93
93
output_name = " clang_rt.$hwasan_name$crt_current_target_suffix "
94
94
complete_static_lib = true
@@ -140,3 +140,13 @@ static_library("hwasan_preinit") {
140
140
configs += [ " //llvm/utils/gn/build:crt_code" ]
141
141
sources = [ " hwasan_preinit.cpp" ]
142
142
}
143
+
144
+ group (" hwasan" ) {
145
+ deps = [
146
+ " :hwasan_preinit" ,
147
+ " :hwasan_shared" ,
148
+ " :hwasan_static" ,
149
+ " :hwasan_cxx" ,
150
+ " :version_script" ,
151
+ ]
152
+ }
You can’t perform that action at this time.
0 commit comments