diff options
Diffstat (limited to 'media/omx/1.0/vts/functional/common/Android.bp')
-rw-r--r--[-rwxr-xr-x] | media/omx/1.0/vts/functional/common/Android.bp | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/media/omx/1.0/vts/functional/common/Android.bp b/media/omx/1.0/vts/functional/common/Android.bp index 93251fe8..cdc52fb4 100755..100644 --- a/media/omx/1.0/vts/functional/common/Android.bp +++ b/media/omx/1.0/vts/functional/common/Android.bp | |||
@@ -16,18 +16,43 @@ | |||
16 | 16 | ||
17 | cc_library_static { | 17 | cc_library_static { |
18 | name: "VtsHalMediaOmxV1_0CommonUtil", | 18 | name: "VtsHalMediaOmxV1_0CommonUtil", |
19 | defaults: ["hidl_defaults"], | ||
20 | srcs: ["media_hidl_test_common.cpp"], | 19 | srcs: ["media_hidl_test_common.cpp"], |
21 | shared_libs: [ | 20 | |
22 | "liblog", | 21 | header_libs: ["media_plugin_headers"], |
22 | export_header_lib_headers: ["media_plugin_headers"], | ||
23 | export_include_dirs: ["."], | ||
24 | |||
25 | static_libs: [ | ||
26 | "VtsHalHidlTargetTestBase", | ||
23 | "libhidlmemory", | 27 | "libhidlmemory", |
24 | "android.hidl.allocator@1.0", | 28 | "android.hidl.allocator@1.0", |
25 | "android.hidl.memory@1.0", | 29 | "android.hidl.memory@1.0", |
26 | "android.hardware.media.omx@1.0", | 30 | "android.hardware.media.omx@1.0", |
31 | "android.hardware.graphics.allocator@2.0", | ||
27 | ], | 32 | ], |
28 | static_libs: ["VtsHalHidlTargetTestBase"], | 33 | } |
29 | cflags: [ "-O0", "-g", ], | 34 | |
30 | include_dirs: [ | 35 | cc_defaults { |
31 | "frameworks/native/include/media/openmax/", | 36 | name: "VtsHalMediaOmxV1_0Defaults", |
37 | defaults: ["VtsHalTargetTestDefaults"], | ||
38 | |||
39 | // Link to these statically as they are not guaranteed to be on the device. | ||
40 | static_libs: [ | ||
41 | "VtsHalMediaOmxV1_0CommonUtil", | ||
42 | "android.hardware.graphics.allocator@2.0", | ||
43 | "android.hardware.graphics.mapper@2.0", | ||
44 | "android.hardware.graphics.bufferqueue@1.0", | ||
45 | "android.hardware.graphics.common@1.0", | ||
46 | "android.hardware.media.omx@1.0", | ||
47 | "android.hardware.media@1.0", | ||
48 | "android.hidl.allocator@1.0", | ||
49 | "android.hidl.memory@1.0", | ||
50 | "libhidlmemory", | ||
51 | "libnativehelper", | ||
52 | ], | ||
53 | |||
54 | // TODO(b/64437680): Assume these libs are always available on the device. | ||
55 | shared_libs: [ | ||
56 | "libstagefright_foundation", | ||
32 | ], | 57 | ], |
33 | } | 58 | } |