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:
parent
afec27f13b
commit
e71dc3fd0d
@ -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',
|
||||
|
@ -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' ],
|
||||
|
@ -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')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user