Make libbacktrace buildable for native_bridge
Bug: http://b/153609531 Test: m -j64 libbacktrace.native_bridge Change-Id: I2b8a881b4e952f3b68dbcaeb14f147a6d955b406 Merged-In: I2b8a881b4e952f3b68dbcaeb14f147a6d955b406
This commit is contained in:
parent
82e0c384f3
commit
fb60e6c9ae
|
@ -96,6 +96,8 @@ cc_defaults {
|
||||||
cc_library {
|
cc_library {
|
||||||
name: "libbacktrace",
|
name: "libbacktrace",
|
||||||
vendor_available: false,
|
vendor_available: false,
|
||||||
|
// TODO(b/153609531): remove when no longer needed.
|
||||||
|
native_bridge_supported: true,
|
||||||
recovery_available: true,
|
recovery_available: true,
|
||||||
apex_available: [
|
apex_available: [
|
||||||
"//apex_available:platform",
|
"//apex_available:platform",
|
||||||
|
@ -120,6 +122,9 @@ cc_library {
|
||||||
recovery: {
|
recovery: {
|
||||||
cflags: ["-DNO_LIBDEXFILE_SUPPORT"],
|
cflags: ["-DNO_LIBDEXFILE_SUPPORT"],
|
||||||
},
|
},
|
||||||
|
native_bridge: {
|
||||||
|
cflags: ["-DNO_LIBDEXFILE_SUPPORT"],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,8 @@ cc_library {
|
||||||
name: "libprocinfo",
|
name: "libprocinfo",
|
||||||
defaults: ["libprocinfo_defaults"],
|
defaults: ["libprocinfo_defaults"],
|
||||||
vendor_available: true,
|
vendor_available: true,
|
||||||
|
// TODO(b/153609531): remove when no longer needed.
|
||||||
|
native_bridge_supported: true,
|
||||||
recovery_available: true,
|
recovery_available: true,
|
||||||
vndk: {
|
vndk: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
|
|
@ -113,6 +113,8 @@ cc_library {
|
||||||
name: "libunwindstack",
|
name: "libunwindstack",
|
||||||
vendor_available: true,
|
vendor_available: true,
|
||||||
recovery_available: true,
|
recovery_available: true,
|
||||||
|
// TODO(b/153609531): remove when no longer needed.
|
||||||
|
native_bridge_supported: true,
|
||||||
vndk: {
|
vndk: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
support_system_process: true,
|
support_system_process: true,
|
||||||
|
@ -134,6 +136,11 @@ cc_library {
|
||||||
exclude_srcs: ["DexFile.cpp"],
|
exclude_srcs: ["DexFile.cpp"],
|
||||||
exclude_shared_libs: ["libdexfile_support"],
|
exclude_shared_libs: ["libdexfile_support"],
|
||||||
},
|
},
|
||||||
|
native_bridge: {
|
||||||
|
cflags: ["-UDEXFILE_SUPPORT"],
|
||||||
|
exclude_srcs: ["DexFile.cpp"],
|
||||||
|
exclude_shared_libs: ["libdexfile_support"],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
apex_available: [
|
apex_available: [
|
||||||
|
|
|
@ -175,6 +175,8 @@ cc_library {
|
||||||
cc_library {
|
cc_library {
|
||||||
name: "libutilscallstack",
|
name: "libutilscallstack",
|
||||||
defaults: ["libutils_defaults"],
|
defaults: ["libutils_defaults"],
|
||||||
|
// TODO(b/153609531): remove when no longer needed.
|
||||||
|
native_bridge_supported: true,
|
||||||
|
|
||||||
srcs: [
|
srcs: [
|
||||||
"CallStack.cpp",
|
"CallStack.cpp",
|
||||||
|
|
Loading…
Reference in New Issue