Enable libcxx_static for Windows am: 5383d2f0ba
am: e21577780b
Change-Id: Id4281b573f0b504ff1772dd09a434dee55c8ae45
This commit is contained in:
committed by
android-build-merger
commit
15800c1f34
18
Android.bp
18
Android.bp
@@ -70,6 +70,24 @@ cc_library_static {
|
||||
linux_bionic: {
|
||||
enabled: true,
|
||||
},
|
||||
windows: {
|
||||
enabled: true,
|
||||
cflags: [
|
||||
"-D_LIBCPP_HAS_THREAD_API_WIN32",
|
||||
"-D_LIBCXXABI_BUILDING_LIBRARY",
|
||||
"-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
|
||||
"-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
|
||||
"-UWIN32_LEAN_AND_MEAN",
|
||||
],
|
||||
srcs: [
|
||||
"src/support/win32/*.cpp",
|
||||
]
|
||||
},
|
||||
windows_x86: {
|
||||
cflags: [
|
||||
"-fsjlj-exceptions",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user