Merge "Remove NN host specific build defines" am: fe9368b729

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1997731

Change-Id: If387ac212a2a1e92b59525f870c6c97742a96ebe
This commit is contained in:
Michael Butler
2022-02-24 01:31:54 +00:00
committed by Automerger Merge Worker
3 changed files with 0 additions and 28 deletions

View File

@@ -45,16 +45,6 @@ cc_library_static {
cflags: ["-DNN_DEBUGGABLE"],
},
},
target: {
host: {
cflags: [
"-D__INTRODUCED_IN(x)=",
"-D__assert(a,b,c)=",
// We want all the APIs to be available on the host.
"-D__ANDROID_API__=10000",
],
},
},
}
cc_test {

View File

@@ -42,16 +42,6 @@ cc_library_static {
"neuralnetworks_utils_hal_1_1",
"neuralnetworks_utils_hal_1_2",
],
target: {
host: {
cflags: [
"-D__INTRODUCED_IN(x)=",
"-D__assert(a,b,c)=",
// We want all the APIs to be available on the host.
"-D__ANDROID_API__=10000",
],
},
},
}
cc_test {

View File

@@ -127,14 +127,6 @@ cc_test {
android: {
shared_libs: ["libnativewindow"],
},
host: {
cflags: [
"-D__INTRODUCED_IN(x)=",
"-D__assert(a,b,c)=",
// We want all the APIs to be available on the host.
"-D__ANDROID_API__=10000",
],
},
},
cflags: [
/* GMOCK defines functions for printing all MOCK_DEVICE arguments and