本文整理汇总了Python中build_options.OPTIONS.disable_hwui方法的典型用法代码示例。如果您正苦于以下问题:Python OPTIONS.disable_hwui方法的具体用法?Python OPTIONS.disable_hwui怎么用?Python OPTIONS.disable_hwui使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类build_options.OPTIONS
的用法示例。
在下文中一共展示了OPTIONS.disable_hwui方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: get_android_static_library_deps
# 需要导入模块: from build_options import OPTIONS [as 别名]
# 或者: from build_options.OPTIONS import disable_hwui [as 别名]
#.........这里部分代码省略.........
'libcorkscrew.a',
'libcpustats.a',
'libcrypto_static.a',
'libcutils.a',
'libdrmframeworkcommon.a',
'libdrmserver.a',
'libeffects.a',
'libemoji.a',
'libetc1.a',
'libexpat.a',
'libFLAC.a', # used by libstagefright
'libft2.a', # used by libskia
'libgabi++.a',
'libgccdemangle.a',
'libgif.a', # used by libskia
'libgui.a',
'libhardware.a',
'libharfbuzz_ng.a',
'libicui18n.a',
'libicuuc.a',
'libinput.a',
'libinputservice.a',
'libjpeg_static.a',
'liblogcat.a',
'liblog_fake.a',
'libmedia.a',
'libmedia_helper.a', # used by audioflinger
'libmediaplayerservice.a',
'libmemtrack.a',
'libnbaio.a', # used by audioflinger
'libndk_libandroid.a',
'libndk_libandroid_runtime.a',
'libndk_libcrypto_unstable.a',
'libndk_libcutils_unstable.a',
'libndk_libEGL.a',
'libndk_libGLESv1_CM.a',
'libndk_libGLESv2.a',
'libndk_libOpenSLES.a',
'libndk_libjnigraphics.a',
'libndk_liblog.a',
'libndk_libnativehelper.a',
'libndk_libz.a',
'libOpenMAXAL.a',
'libopensles_helper.a', # used by libOpenMAXAL
'libOpenSLES.a', # used by libOpenMAXAL
'libOpenSLESUT.a', # used by libOpenMAXAL
'libpng.a', # used by libskia
'libpowermanager.a',
'libsafe_iop.a',
'libscheduling_policy.a', # used by audioflinger
'libsensorservice.a',
'libsfntly.a', # used by libskia
'libskia.a',
'libsonivox.a',
'libspeexresampler.a', # used by libaudioutils
'libsqlite3_android.a',
'libsqlite.a',
'libssl_static.a',
'libstagefright.a',
'libstagefright_amrnb_common.a', # used by libmedia_jni
'libstagefright_color_conversion.a', # used by libstagefright
'libstagefright_enc_common.a',
'libstagefright_foundation.a',
'libstagefright_httplive.a', # used by libstagefright
'libstagefright_id3.a', # used by libstagefright
'libstagefright_matroska.a', # used by libstagefright
'libstagefright_mpeg2ts.a', # used by libstagefright
'libstagefright_nuplayer.a', # used by libmediaplayerservice
'libstagefright_omx.a',
'libstagefright_rtsp.a', # used by libmediaplayerservice
'libstagefright_timedtext.a', # used by libstagefright
'libstagefright_wfd.a', # used by libmediaplayerservice
'libstagefright_yuv.a',
'libsync.a', # used by HW composer
'libui.a',
'libunwind.a',
'libvorbisidec.a', # used by libstagefright
'libvpx.a', # used by libstagefright
'libwebm.a', # used by libstagefright
'libwebp-decode.a', # used by libskia
'libwebp-encode.a', # used by libskia
'libwilhelm.a', # used by libOpenMAXAL
'libyuv_static.a',
'libz.a']
if OPTIONS.enable_emugl():
deps.append('libEGL.a')
deps.append('libGLESv1_CM.a')
else:
deps.append('libegl.a')
deps.append('libgles.a')
deps.append('libgralloc.a')
if not OPTIONS.disable_hwui():
deps.append('libhwui.a')
if OPTIONS.enable_aacenc():
deps.append('libstagefright_aacenc.a')
return deps
示例2: str
# 需要导入模块: from build_options import OPTIONS [as 别名]
# 或者: from build_options.OPTIONS import disable_hwui [as 别名]
print subprocess.check_output([build_info_sh])
print
print '# begin build properties added by generate_build_prop.py'
# Set up the same DNS as in config.xml to avoid errors at startup.
# Dummy network does not provide its own DNS server names.
# The value matches the default from config.xml.
print 'net.dns1=8.8.8.8'
# Normally init parses the hardware value from the kernel command line
# androidboot.hardware=* parameter. We hardcode it here and this is
# used in determining appropriate HAL modules.
print 'ro.hardware=arc'
# Enable atrace. See android/frameworks/base/core/java/android/os/Trace.java
# for flag definition. Here we turn on every category when debugging code is
# enabled.
if OPTIONS.is_debug_code_enabled():
print 'debug.atrace.tags.enableflags=' + str(int('0xffffffff', 16))
if not OPTIONS.disable_hwui():
# This value is exposed through the Activity Manager service
# getDeviceConfigurationInfo() call, and this value indicates that GLES2 is
# available. The number is the major version number in the upper sixteen bits
# followed by the minor version number in the lower sixteen bits.
print 'ro.opengles.version=131072'
print '# end build properties added by generate_build_prop.py'