You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
apply plugin: "c"
|
|
|
|
apply plugin: "cpp"
|
|
|
|
apply plugin: "cpp-unit-test"
|
|
|
|
|
|
|
|
model {
|
|
|
|
buildTypes {
|
|
|
|
release
|
|
|
|
}
|
|
|
|
|
|
|
|
components {
|
|
|
|
avbx(NativeLibrarySpec) {
|
|
|
|
sources {
|
|
|
|
cpp {
|
|
|
|
lib project: ":aosp:libavb", library: "avb"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
binaries.all {
|
|
|
|
cCompiler.args << "-Wall" << "-g"
|
|
|
|
cppCompiler.args << "--std=c++11"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
avbVerifier(NativeExecutableSpec) {
|
|
|
|
sources {
|
|
|
|
cpp {
|
|
|
|
lib project: ":aosp:libavb", library: "avb", linkage: "static"
|
|
|
|
lib project: ":avbImpl", library: "avbx", linkage: "static"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
binaries.all {
|
|
|
|
cppCompiler.define "XXX"
|
|
|
|
cppCompiler.args << '-std=c++11'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|