Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3136] V8 libraries embedded in Rhino APK

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2012-02-21T14:29:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsapk, rhino
ReporterMark Ruys
AssigneeMauro Parra-Miranda
Created2012-01-19T15:56:08.000+0000
Updated2016-03-08T07:48:12.000+0000

Description

The Android builder always embed the V8 libraries, even for a Rhino build. This makes the size of Rhino APK's unnecessary big. Fix would be easy, I guess, just add a test on 'v8': # add sdk runtime native libraries if self.runtime == 'v8': sdk_native_libs = os.path.join(template_dir, 'native', 'libs') apk_zip.write(os.path.join(sdk_native_libs, 'armeabi', 'libkroll-v8.so'), 'lib/armeabi/libkroll-v8.so') apk_zip.write(os.path.join(sdk_native_libs, 'armeabi', 'libstlport_shared.so'), 'lib/armeabi/libstlport_shared.so') apk_zip.write(os.path.join(sdk_native_libs, 'armeabi-v7a', 'libkroll-v8.so'), 'lib/armeabi-v7a/libkroll-v8.so') apk_zip.write(os.path.join(sdk_native_libs, 'armeabi-v7a', 'libstlport_shared.so'), 'lib/armeabi-v7a/libstlport_shared.so')

Comments

  1. Mauro Parra-Miranda 2012-02-21

  2. Mauro Parra-Miranda 2013-11-24

    Closing since it's a dup.

JSON Source