Customize StubVolume implementation for ARC
This allow ARC to customize StubVolume implementation in vendor partition. Bug: 132796154 Test: Customize the implementation of StubVolume and check on device. Ignore-AOSP-First: Will cherry-pick to AOSP. Change-Id: I626a7ed4113b6132bb456b3258ee4a93b4f8a72e
This commit is contained in:
parent
610eba0ad0
commit
b5d7cb0a52
1 changed files with 19 additions and 0 deletions
19
Android.bp
19
Android.bp
|
@ -149,6 +149,14 @@ cc_library_static {
|
|||
"model/VolumeEncryption.cpp",
|
||||
],
|
||||
product_variables: {
|
||||
arc: {
|
||||
exclude_srcs: [
|
||||
"model/StubVolume.cpp",
|
||||
],
|
||||
static_libs: [
|
||||
"libarcvolume",
|
||||
],
|
||||
},
|
||||
debuggable: {
|
||||
cppflags: ["-D__ANDROID_DEBUGGABLE__"],
|
||||
},
|
||||
|
@ -185,6 +193,17 @@ cc_binary {
|
|||
shared_libs: [
|
||||
"android.hardware.health.storage@1.0",
|
||||
],
|
||||
|
||||
product_variables: {
|
||||
arc: {
|
||||
exclude_srcs: [
|
||||
"model/StubVolume.cpp",
|
||||
],
|
||||
static_libs: [
|
||||
"libarcvolume",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
|
|
Loading…
Reference in a new issue