Index: platform_tools/android/gyp_gen/tool_makefile_writer.py |
diff --git a/platform_tools/android/gyp_gen/tool_makefile_writer.py b/platform_tools/android/gyp_gen/tool_makefile_writer.py |
index 4c1174fa59554d7dbda3af98793d19a324ec4cd0..41326fb093aba9b20618277e2c1d7e4b4b4dd3c1 100644 |
--- a/platform_tools/android/gyp_gen/tool_makefile_writer.py |
+++ b/platform_tools/android/gyp_gen/tool_makefile_writer.py |
@@ -42,6 +42,8 @@ def write_tool_android_mk(target_dir, var_dict): |
f.write(SKIA_RESOURCES) |
f.write('include $(LOCAL_PATH)/../skia_static_deps.mk\n') |
+ if 'libhwui_static' in var_dict['LOCAL_STATIC_LIBRARIES']: |
+ f.write('include frameworks/base/libs/hwui/hwui_static_deps.mk\n') |
f.write('include $(BUILD_NATIVE_TEST)\n') |