12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- aidl_interface {
- name: "ashmemd_aidl_interface",
- local_include_dir: "aidl",
- srcs: [
- "aidl/android/ashmemd/IAshmemDeviceService.aidl",
- ],
- }
- cc_defaults {
- name: "ashmemd_defaults",
- shared_libs: [
- "ashmemd_aidl_interface-cpp",
- "libbase",
- "libbinder",
- "libutils",
- ],
- cflags: [
- "-Wall",
- "-Werror",
- ],
- }
- cc_binary {
- name: "ashmemd",
- defaults: ["ashmemd_defaults"],
- srcs: ["ashmemd.cpp"],
- init_rc: ["ashmemd.rc"],
- }
- cc_library {
- name: "libashmemd_client",
- defaults: ["ashmemd_defaults"],
- srcs: ["ashmemd_client.cpp"],
- cflags: [
- "-Wexit-time-destructors",
- "-fno-c++-static-destructors",
- ],
- }
- cc_test {
- name: "ashmemd_test",
- defaults: ["ashmemd_defaults"],
- srcs: ["tests/ashmemd_test.cpp"],
- test_suites: ["device-tests"],
- }
|