diff options
-rw-r--r-- | Android.bp | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -59,6 +59,14 @@ cc_library_headers { ], } +genrule { + name: "generated_static_table_fourcc_h", + out: ["generated_static_table_fourcc.h"], + srcs: ["include/drm/drm_fourcc.h"], + tool_files: ["gen_table_fourcc.py"], + cmd: "python3 $(location gen_table_fourcc.py) $(in) $(out)", +} + // Library for the device cc_library { name: "libdrm", @@ -70,6 +78,10 @@ cc_library { "libdrm_sources", ], + generated_headers: [ + "generated_static_table_fourcc_h", + ], + export_include_dirs: ["include/drm", "android"], cflags: [ |