未验证 提交 b59c8649 编写于 作者: J Jason Simmons 提交者: GitHub

Rename the Android fragment support library JAR (#6400)

上级 4213ac19
......@@ -23,7 +23,7 @@ def GetInstalledVersion(version_stamp):
def main():
# Read latest version.
version_stamp = 'VERSION_SUPPORT_V13'
version_stamp = 'VERSION_SUPPORT_FRAGMENT'
version = ''
with open(os.path.join(THIS_DIR, version_stamp)) as f:
version = f.read().strip()
......@@ -36,7 +36,7 @@ def main():
aar_zip = zipfile.ZipFile(cStringIO.StringIO(aar))
if not os.path.exists(INSTALL_DIR):
os.mkdir(INSTALL_DIR)
with open(os.path.join(INSTALL_DIR, 'android_support_v13.jar'), 'w') as f:
with open(os.path.join(INSTALL_DIR, 'android_support_fragment.jar'), 'w') as f:
f.write(aar_zip.read('classes.jar'))
# Write version as the last step.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册