Tri Vo | 038f7be | 2017-09-22 10:48:18 -0700 | [diff] [blame] | 1 | cc_defaults { |
| 2 | name: "VtsHalLibDefaults", |
| 3 | shared_libs: [ |
| 4 | "libbase", |
| 5 | "libcutils", |
| 6 | "liblog", |
| 7 | "libhidlbase", |
| 8 | "libhidltransport", |
| 9 | "libhwbinder", |
| 10 | "libutils", |
| 11 | ], |
| 12 | cflags: [ |
| 13 | "-Wall", |
| 14 | "-Werror", |
| 15 | ], |
| 16 | group_static_libs: true, |
| 17 | } |
| 18 | |
| 19 | cc_defaults { |
| 20 | name: "VtsHalDriverDefaults", |
| 21 | defaults: ["VtsHalLibDefaults"], |
| 22 | shared_libs: [ |
| 23 | "libcamera_metadata", |
| 24 | "libfmq", |
| 25 | "libprotobuf-cpp-full", |
| 26 | "libvts_common", |
| 27 | "libvts_datatype", |
| 28 | "libvts_drivercomm", |
| 29 | "libvts_measurement", |
| 30 | "libvts_multidevice_proto", |
| 31 | "android.hidl.allocator@1.0", |
| 32 | ], |
| 33 | } |
| 34 | |
| 35 | cc_defaults { |
| 36 | name: "VtsHalProfilerDefaults", |
| 37 | defaults: ["VtsHalLibDefaults"], |
| 38 | shared_libs: [ |
| 39 | "libfmq", |
Zhuoyao Zhang | 0c0ea33 | 2018-08-13 10:48:28 -0700 | [diff] [blame] | 40 | "libhidlmemory", |
Tri Vo | 038f7be | 2017-09-22 10:48:18 -0700 | [diff] [blame] | 41 | "libvts_profiling", |
| 42 | "libvts_multidevice_proto", |
| 43 | "libprotobuf-cpp-full", |
Zhuoyao Zhang | 0c0ea33 | 2018-08-13 10:48:28 -0700 | [diff] [blame] | 44 | "android.hidl.memory@1.0", |
Tri Vo | 038f7be | 2017-09-22 10:48:18 -0700 | [diff] [blame] | 45 | ], |
Zhuoyao Zhang | 6719446 | 2018-03-14 22:47:35 -0700 | [diff] [blame] | 46 | // Userdebug only, should not be used to build modules contained in a user build device image. |
| 47 | multilib: { |
| 48 | lib32: { |
| 49 | ldflags: ["-Wl,--rpath,/data/local/tmp/32"] |
| 50 | }, |
| 51 | lib64: { |
| 52 | ldflags: ["-Wl,--rpath,/data/local/tmp/64"] |
| 53 | }, |
| 54 | }, |
Tri Vo | 038f7be | 2017-09-22 10:48:18 -0700 | [diff] [blame] | 55 | } |