Use a statically linked libhwui for testing.

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1688383005

Review URL: https://codereview.chromium.org/1688383005
This commit is contained in:
djsollen 2016-02-16 09:19:35 -08:00 committed by Commit bot
parent afec27f13b
commit e71dc3fd0d
3 changed files with 3 additions and 9 deletions

View File

@ -16,10 +16,7 @@
['skia_android_framework', {
'libraries': [
'skia_static.a',
'-lhwui',
],
'include_dirs': [
'../../../frameworks/base/libs/hwui/',
'hwui_static.a',
],
'sources': [
'../dm/DMSrcSinkAndroid.cpp',

View File

@ -32,11 +32,6 @@
[ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "android"]', {
'sources!': [ '../tests/FontMgrAndroidParserTest.cpp', ],
}],
[ 'skia_android_framework == 1', {
'libraries': [
'-ldl',
],
}],
[ 'not skia_pdf', {
'dependencies!': [ 'pdf.gyp:pdf', 'zlib.gyp:zlib' ],
'dependencies': [ 'pdf.gyp:nopdf' ],

View File

@ -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')