Merge "bpfmt."
am: 0609e8d231
Change-Id: I810b09372da24d4b84bbeaa5d0c03ec0baf928fd
This commit is contained in:
commit
b57755c429
30 changed files with 148 additions and 86 deletions
|
|
@ -13,39 +13,39 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
python_binary_host {
|
python_binary_host {
|
||||||
name: "adb_integration_test_adb",
|
name: "adb_integration_test_adb",
|
||||||
main: "test_adb.py",
|
main: "test_adb.py",
|
||||||
srcs: [
|
srcs: [
|
||||||
"test_adb.py",
|
"test_adb.py",
|
||||||
],
|
],
|
||||||
libs: [
|
libs: [
|
||||||
"adb_py",
|
"adb_py",
|
||||||
],
|
],
|
||||||
version: {
|
version: {
|
||||||
py2: {
|
py2: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
},
|
||||||
|
py3: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
py3: {
|
|
||||||
enabled: false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
python_binary_host {
|
python_binary_host {
|
||||||
name: "adb_integration_test_device",
|
name: "adb_integration_test_device",
|
||||||
main: "test_device.py",
|
main: "test_device.py",
|
||||||
srcs: [
|
srcs: [
|
||||||
"test_device.py",
|
"test_device.py",
|
||||||
],
|
],
|
||||||
libs: [
|
libs: [
|
||||||
"adb_py",
|
"adb_py",
|
||||||
],
|
],
|
||||||
version: {
|
version: {
|
||||||
py2: {
|
py2: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
},
|
||||||
|
py3: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
py3: {
|
|
||||||
enabled: false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,11 @@
|
||||||
|
|
||||||
cc_defaults {
|
cc_defaults {
|
||||||
name: "libbase_defaults",
|
name: "libbase_defaults",
|
||||||
cflags: ["-Wall", "-Werror", "-Wextra"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
"-Wextra",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library_headers {
|
cc_library_headers {
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ cc_defaults {
|
||||||
|
|
||||||
cc_library_headers {
|
cc_library_headers {
|
||||||
name: "libdebuggerd_common_headers",
|
name: "libdebuggerd_common_headers",
|
||||||
export_include_dirs: ["common/include"]
|
export_include_dirs: ["common/include"],
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library_shared {
|
cc_library_shared {
|
||||||
|
|
@ -39,7 +39,7 @@ cc_library_shared {
|
||||||
],
|
],
|
||||||
|
|
||||||
export_header_lib_headers: ["libdebuggerd_common_headers"],
|
export_header_lib_headers: ["libdebuggerd_common_headers"],
|
||||||
export_include_dirs: ["tombstoned/include"]
|
export_include_dirs: ["tombstoned/include"],
|
||||||
}
|
}
|
||||||
|
|
||||||
// Utility library to tombstoned and get an output fd.
|
// Utility library to tombstoned and get an output fd.
|
||||||
|
|
@ -60,7 +60,7 @@ cc_library_static {
|
||||||
],
|
],
|
||||||
|
|
||||||
export_header_lib_headers: ["libdebuggerd_common_headers"],
|
export_header_lib_headers: ["libdebuggerd_common_headers"],
|
||||||
export_include_dirs: ["tombstoned/include"]
|
export_include_dirs: ["tombstoned/include"],
|
||||||
}
|
}
|
||||||
|
|
||||||
// Core implementation, linked into libdebuggerd_handler and the dynamic linker.
|
// Core implementation, linked into libdebuggerd_handler and the dynamic linker.
|
||||||
|
|
@ -186,7 +186,10 @@ cc_test {
|
||||||
"client/debuggerd_client_test.cpp",
|
"client/debuggerd_client_test.cpp",
|
||||||
"debuggerd_test.cpp",
|
"debuggerd_test.cpp",
|
||||||
],
|
],
|
||||||
static_libs: ["libasync_safe", "libtombstoned_client_static"],
|
static_libs: [
|
||||||
|
"libasync_safe",
|
||||||
|
"libtombstoned_client_static",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -197,7 +200,7 @@ cc_test {
|
||||||
"libdebuggerd_client",
|
"libdebuggerd_client",
|
||||||
"liblog",
|
"liblog",
|
||||||
"libminijail",
|
"libminijail",
|
||||||
"libnativehelper"
|
"libnativehelper",
|
||||||
],
|
],
|
||||||
|
|
||||||
static_libs: [
|
static_libs: [
|
||||||
|
|
@ -298,7 +301,7 @@ cc_binary {
|
||||||
"liblog",
|
"liblog",
|
||||||
],
|
],
|
||||||
|
|
||||||
init_rc: ["tombstoned/tombstoned.rc"]
|
init_rc: ["tombstoned/tombstoned.rc"],
|
||||||
}
|
}
|
||||||
|
|
||||||
subdirs = [
|
subdirs = [
|
||||||
|
|
|
||||||
|
|
@ -42,11 +42,11 @@ cc_library {
|
||||||
],
|
],
|
||||||
|
|
||||||
local_include_dirs: [
|
local_include_dirs: [
|
||||||
"include",
|
"include",
|
||||||
],
|
],
|
||||||
|
|
||||||
export_include_dirs: [
|
export_include_dirs: [
|
||||||
"include",
|
"include",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ cc_defaults {
|
||||||
},
|
},
|
||||||
uml: {
|
uml: {
|
||||||
cppflags: ["-DUSER_MODE_LINUX"],
|
cppflags: ["-DUSER_MODE_LINUX"],
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"libbootloader_message",
|
"libbootloader_message",
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,10 @@
|
||||||
cc_binary {
|
cc_binary {
|
||||||
name: "test_service",
|
name: "test_service",
|
||||||
srcs: ["test_service.cpp"],
|
srcs: ["test_service.cpp"],
|
||||||
cflags: ["-Wall", "-Werror"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
shared_libs: ["libbase"],
|
shared_libs: ["libbase"],
|
||||||
init_rc: ["test_service.rc"],
|
init_rc: ["test_service.rc"],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ cc_library_shared {
|
||||||
"FuseBuffer.cc",
|
"FuseBuffer.cc",
|
||||||
"FuseBridgeLoop.cc",
|
"FuseBridgeLoop.cc",
|
||||||
"EpollController.cc",
|
"EpollController.cc",
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_test {
|
cc_test {
|
||||||
|
|
@ -31,5 +31,5 @@ cc_test {
|
||||||
"tests/FuseAppLoopTest.cc",
|
"tests/FuseAppLoopTest.cc",
|
||||||
"tests/FuseBridgeLoopTest.cc",
|
"tests/FuseBridgeLoopTest.cc",
|
||||||
"tests/FuseBufferTest.cc",
|
"tests/FuseBufferTest.cc",
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,11 @@
|
||||||
|
|
||||||
cc_defaults {
|
cc_defaults {
|
||||||
name: "libasyncio_defaults",
|
name: "libasyncio_defaults",
|
||||||
cflags: ["-Wall", "-Werror", "-Wextra"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
"-Wextra",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library {
|
cc_library {
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ cc_defaults {
|
||||||
|
|
||||||
include_dirs: ["external/libunwind/include/tdep"],
|
include_dirs: ["external/libunwind/include/tdep"],
|
||||||
|
|
||||||
|
|
||||||
target: {
|
target: {
|
||||||
darwin: {
|
darwin: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
|
|
@ -41,7 +40,7 @@ cc_defaults {
|
||||||
lib64: {
|
lib64: {
|
||||||
suffix: "64",
|
suffix: "64",
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
libbacktrace_sources = [
|
libbacktrace_sources = [
|
||||||
|
|
@ -84,8 +83,8 @@ cc_library {
|
||||||
darwin: {
|
darwin: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
linux: {
|
linux: {
|
||||||
srcs: libbacktrace_sources,
|
srcs: libbacktrace_sources,
|
||||||
|
|
@ -106,7 +105,7 @@ cc_library {
|
||||||
"art/runtime",
|
"art/runtime",
|
||||||
],
|
],
|
||||||
|
|
||||||
header_libs: [ "jni_headers", ],
|
header_libs: ["jni_headers"],
|
||||||
},
|
},
|
||||||
android: {
|
android: {
|
||||||
static_libs: ["libasync_safe"],
|
static_libs: ["libasync_safe"],
|
||||||
|
|
@ -114,7 +113,7 @@ cc_library {
|
||||||
vendor: {
|
vendor: {
|
||||||
cflags: ["-DNO_LIBDEXFILE_SUPPORT"],
|
cflags: ["-DNO_LIBDEXFILE_SUPPORT"],
|
||||||
exclude_shared_libs: ["libdexfile"],
|
exclude_shared_libs: ["libdexfile"],
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
whole_static_libs: ["libdemangle"],
|
whole_static_libs: ["libdemangle"],
|
||||||
}
|
}
|
||||||
|
|
@ -130,7 +129,7 @@ cc_library_shared {
|
||||||
srcs: ["backtrace_testlib.cpp"],
|
srcs: ["backtrace_testlib.cpp"],
|
||||||
|
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libunwindstack",
|
"libunwindstack",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
cc_library {
|
cc_library {
|
||||||
name: "libion",
|
name: "libion",
|
||||||
vendor_available: true,
|
vendor_available: true,
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ cc_defaults {
|
||||||
},
|
},
|
||||||
host: {
|
host: {
|
||||||
shared_libs: ["liblog"],
|
shared_libs: ["liblog"],
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
|
|
||||||
cc_library_headers {
|
cc_library_headers {
|
||||||
name: "libnativebridge-dummy-headers",
|
name: "libnativebridge-dummy-headers",
|
||||||
|
|
||||||
host_supported: true,
|
host_supported: true,
|
||||||
export_include_dirs=["include"],
|
export_include_dirs: ["include"],
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library {
|
cc_library {
|
||||||
|
|
@ -11,9 +10,12 @@ cc_library {
|
||||||
|
|
||||||
host_supported: true,
|
host_supported: true,
|
||||||
srcs: ["native_bridge.cc"],
|
srcs: ["native_bridge.cc"],
|
||||||
shared_libs: ["liblog", "libbase"],
|
shared_libs: [
|
||||||
|
"liblog",
|
||||||
|
"libbase",
|
||||||
|
],
|
||||||
|
|
||||||
export_include_dirs=["include"],
|
export_include_dirs: ["include"],
|
||||||
|
|
||||||
cflags: [
|
cflags: [
|
||||||
"-Werror",
|
"-Werror",
|
||||||
|
|
|
||||||
|
|
@ -17,31 +17,34 @@
|
||||||
cc_library {
|
cc_library {
|
||||||
name: "libfoo.oem1",
|
name: "libfoo.oem1",
|
||||||
srcs: ["test.cpp"],
|
srcs: ["test.cpp"],
|
||||||
cflags : ["-DLIBNAME=\"libfoo.oem1.so\""],
|
cflags: ["-DLIBNAME=\"libfoo.oem1.so\""],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library {
|
cc_library {
|
||||||
name: "libbar.oem1",
|
name: "libbar.oem1",
|
||||||
srcs: ["test.cpp"],
|
srcs: ["test.cpp"],
|
||||||
cflags : ["-DLIBNAME=\"libbar.oem1.so\""],
|
cflags: ["-DLIBNAME=\"libbar.oem1.so\""],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library {
|
cc_library {
|
||||||
name: "libfoo.oem2",
|
name: "libfoo.oem2",
|
||||||
srcs: ["test.cpp"],
|
srcs: ["test.cpp"],
|
||||||
cflags : ["-DLIBNAME=\"libfoo.oem2.so\""],
|
cflags: ["-DLIBNAME=\"libfoo.oem2.so\""],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library {
|
cc_library {
|
||||||
name: "libbar.oem2",
|
name: "libbar.oem2",
|
||||||
srcs: ["test.cpp"],
|
srcs: ["test.cpp"],
|
||||||
cflags : ["-DLIBNAME=\"libbar.oem2.so\""],
|
cflags: ["-DLIBNAME=\"libbar.oem2.so\""],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,10 @@ cc_library {
|
||||||
|
|
||||||
name: "libpackagelistparser",
|
name: "libpackagelistparser",
|
||||||
srcs: ["packagelistparser.c"],
|
srcs: ["packagelistparser.c"],
|
||||||
cflags: ["-Wall", "-Werror"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
shared_libs: ["liblog"],
|
shared_libs: ["liblog"],
|
||||||
local_include_dirs: ["include"],
|
local_include_dirs: ["include"],
|
||||||
export_include_dirs: ["include"],
|
export_include_dirs: ["include"],
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,11 @@
|
||||||
|
|
||||||
cc_defaults {
|
cc_defaults {
|
||||||
name: "libprocinfo_defaults",
|
name: "libprocinfo_defaults",
|
||||||
cflags: ["-Wall", "-Werror", "-Wextra"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
"-Wextra",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library {
|
cc_library {
|
||||||
|
|
@ -65,7 +69,10 @@ cc_test {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
shared_libs: ["libbase", "libprocinfo"],
|
shared_libs: [
|
||||||
|
"libbase",
|
||||||
|
"libprocinfo",
|
||||||
|
],
|
||||||
|
|
||||||
compile_multilib: "both",
|
compile_multilib: "both",
|
||||||
multilib: {
|
multilib: {
|
||||||
|
|
|
||||||
|
|
@ -11,5 +11,5 @@ cc_library_headers {
|
||||||
windows: {
|
windows: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,10 @@ cc_library {
|
||||||
target: {
|
target: {
|
||||||
// Always disable optimizations for host to make it easier to debug.
|
// Always disable optimizations for host to make it easier to debug.
|
||||||
host: {
|
host: {
|
||||||
cflags: ["-O0", "-g"],
|
cflags: [
|
||||||
|
"-O0",
|
||||||
|
"-g",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
vendor: {
|
vendor: {
|
||||||
cflags: ["-DNO_LIBDEXFILE_SUPPORT"],
|
cflags: ["-DNO_LIBDEXFILE_SUPPORT"],
|
||||||
|
|
@ -131,7 +134,10 @@ cc_library_static {
|
||||||
target: {
|
target: {
|
||||||
// Always disable optimizations for host to make it easier to debug.
|
// Always disable optimizations for host to make it easier to debug.
|
||||||
host: {
|
host: {
|
||||||
cflags: ["-O0", "-g"],
|
cflags: [
|
||||||
|
"-O0",
|
||||||
|
"-g",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,12 +20,12 @@ cc_library_headers {
|
||||||
header_libs: [
|
header_libs: [
|
||||||
"liblog_headers",
|
"liblog_headers",
|
||||||
"libsystem_headers",
|
"libsystem_headers",
|
||||||
"libcutils_headers"
|
"libcutils_headers",
|
||||||
],
|
],
|
||||||
export_header_lib_headers: [
|
export_header_lib_headers: [
|
||||||
"liblog_headers",
|
"liblog_headers",
|
||||||
"libsystem_headers",
|
"libsystem_headers",
|
||||||
"libcutils_headers"
|
"libcutils_headers",
|
||||||
],
|
],
|
||||||
export_include_dirs: ["include"],
|
export_include_dirs: ["include"],
|
||||||
|
|
||||||
|
|
@ -52,7 +52,10 @@ cc_defaults {
|
||||||
},
|
},
|
||||||
host_supported: true,
|
host_supported: true,
|
||||||
|
|
||||||
cflags: ["-Wall", "-Werror"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
include_dirs: ["external/safe-iop/include"],
|
include_dirs: ["external/safe-iop/include"],
|
||||||
header_libs: [
|
header_libs: [
|
||||||
"libutils_headers",
|
"libutils_headers",
|
||||||
|
|
@ -193,7 +196,10 @@ cc_test {
|
||||||
static_libs: ["libutils"],
|
static_libs: ["libutils"],
|
||||||
shared_libs: ["liblog"],
|
shared_libs: ["liblog"],
|
||||||
srcs: ["SharedBufferTest.cpp"],
|
srcs: ["SharedBufferTest.cpp"],
|
||||||
cflags: ["-Wall", "-Werror"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
subdirs = ["tests"]
|
subdirs = ["tests"]
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,10 @@ cc_test_library {
|
||||||
host_supported: true,
|
host_supported: true,
|
||||||
relative_install_path: "libutils_tests",
|
relative_install_path: "libutils_tests",
|
||||||
srcs: ["Singleton_test1.cpp"],
|
srcs: ["Singleton_test1.cpp"],
|
||||||
cflags: ["-Wall", "-Werror"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_test_library {
|
cc_test_library {
|
||||||
|
|
@ -85,6 +88,9 @@ cc_test_library {
|
||||||
host_supported: true,
|
host_supported: true,
|
||||||
relative_install_path: "libutils_tests",
|
relative_install_path: "libutils_tests",
|
||||||
srcs: ["Singleton_test2.cpp"],
|
srcs: ["Singleton_test2.cpp"],
|
||||||
cflags: ["-Wall", "-Werror"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
shared_libs: ["libutils_tests_singleton1"],
|
shared_libs: ["libutils_tests_singleton1"],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,10 @@ subdirs = ["tests"]
|
||||||
cc_library {
|
cc_library {
|
||||||
name: "libvndksupport",
|
name: "libvndksupport",
|
||||||
srcs: ["linker.c"],
|
srcs: ["linker.c"],
|
||||||
cflags: ["-Wall", "-Werror"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
local_include_dirs: ["include/vndksupport"],
|
local_include_dirs: ["include/vndksupport"],
|
||||||
export_include_dirs: ["include"],
|
export_include_dirs: ["include"],
|
||||||
shared_libs: ["liblog"],
|
shared_libs: ["liblog"],
|
||||||
|
|
|
||||||
|
|
@ -17,11 +17,14 @@ cc_test {
|
||||||
srcs: [
|
srcs: [
|
||||||
"linker_test.cpp",
|
"linker_test.cpp",
|
||||||
],
|
],
|
||||||
cflags: ["-Wall", "-Werror"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
|
|
||||||
host_supported: false,
|
host_supported: false,
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libvndksupport",
|
"libvndksupport",
|
||||||
"libbase",
|
"libbase",
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -68,8 +68,11 @@ cc_prebuilt_binary {
|
||||||
srcs: ["logpersist"],
|
srcs: ["logpersist"],
|
||||||
init_rc: ["logcatd.rc"],
|
init_rc: ["logcatd.rc"],
|
||||||
required: ["logcatd"],
|
required: ["logcatd"],
|
||||||
symlinks: ["logpersist.stop", "logpersist.cat"],
|
symlinks: [
|
||||||
|
"logpersist.stop",
|
||||||
|
"logpersist.cat",
|
||||||
|
],
|
||||||
strip: {
|
strip: {
|
||||||
none: true,
|
none: true,
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ event_flag = [
|
||||||
"-DAUDITD_LOG_TAG=1003",
|
"-DAUDITD_LOG_TAG=1003",
|
||||||
"-DCHATTY_LOG_TAG=1004",
|
"-DCHATTY_LOG_TAG=1004",
|
||||||
"-DTAG_DEF_LOG_TAG=1005",
|
"-DTAG_DEF_LOG_TAG=1005",
|
||||||
"-DLIBLOG_LOG_TAG=1006"
|
"-DLIBLOG_LOG_TAG=1006",
|
||||||
]
|
]
|
||||||
|
|
||||||
cc_library_static {
|
cc_library_static {
|
||||||
|
|
|
||||||
|
|
@ -49,5 +49,5 @@ cc_benchmark {
|
||||||
],
|
],
|
||||||
cflags: [
|
cflags: [
|
||||||
"-Werror",
|
"-Werror",
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,10 @@ cc_binary {
|
||||||
"trusty_keymaster_ipc.cpp",
|
"trusty_keymaster_ipc.cpp",
|
||||||
"trusty_keymaster_main.cpp",
|
"trusty_keymaster_main.cpp",
|
||||||
],
|
],
|
||||||
cflags: ["-Wall", "-Werror"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libcrypto",
|
"libcrypto",
|
||||||
"libcutils",
|
"libcutils",
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,10 @@ cc_library {
|
||||||
|
|
||||||
srcs: ["trusty.c"],
|
srcs: ["trusty.c"],
|
||||||
export_include_dirs: ["include"],
|
export_include_dirs: ["include"],
|
||||||
cflags: ["-Wall", "-Werror"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
|
|
||||||
shared_libs: ["liblog"],
|
shared_libs: ["liblog"],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,5 +25,8 @@ cc_test {
|
||||||
"liblog",
|
"liblog",
|
||||||
],
|
],
|
||||||
gtest: false,
|
gtest: false,
|
||||||
cflags: ["-Wall", "-Werror"],
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,5 +34,5 @@ cc_library_static {
|
||||||
"-fvisibility=hidden",
|
"-fvisibility=hidden",
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-Werror",
|
"-Werror",
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,5 +36,5 @@ cc_binary {
|
||||||
cflags: [
|
cflags: [
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-Werror",
|
"-Werror",
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,4 +13,3 @@ cc_binary {
|
||||||
"libcutils",
|
"libcutils",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue