aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/android/gyp_gen/tool_makefile_writer.py
diff options
context:
space:
mode:
authorGravatar djsollen <djsollen@google.com>2016-02-16 09:19:35 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-16 09:19:36 -0800
commite71dc3fd0d7e8a9ff8ffbb56c5c2a9daeed9df49 (patch)
treeb18a69792e0dcb9a8c1cf484d04960b90be3a02f /platform_tools/android/gyp_gen/tool_makefile_writer.py
parentafec27f13b28d900232cb1825c63cab2d6e4e103 (diff)
Use a statically linked libhwui for testing.
Diffstat (limited to 'platform_tools/android/gyp_gen/tool_makefile_writer.py')
-rw-r--r--platform_tools/android/gyp_gen/tool_makefile_writer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform_tools/android/gyp_gen/tool_makefile_writer.py b/platform_tools/android/gyp_gen/tool_makefile_writer.py
index 4c1174fa59..41326fb093 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')