Macadamian/titanium_mobile — pull request #52 by dlifshitz-maca (2012-05-11 17:59:27+00:00)
Title: TIMOB-8926: Blackberry: Implement proper packaging of blackberry mobile sdk

Reviewers: Alex, JP
Note: Only review 855adcb9 and later

[Issues Fixed]
TIMOB-8926: Blackberry: Implement proper packaging of blackberry mobile sdk

[Added]
blackberry/tibb/.gitignore
- ignore *.a

[Changes]
SConstruct
- import BlackberryNDK
- fix build_type butchering for clean builds
- build tibb

package.py
- function zip_blackberry
- only zip the following:
- .h and .a files for libv8 and tibb
- tibbapp

blackberryndk.py
- added function buildTibb

[Tests]
Test 1: Build and use mobile sdk
1) Run scons
2) Verify the mobilesdk/win32/2.0.0/blackberry folder only contains what is needed
3) Run scons clean
4) Verify the build files are gone

Test 2: Use the mobile sdk
1) Run scons
2) Extract the sdk so Titanium Studio can use it
3) Open Titanium Studio and create a new project
4) Verify the templates were created properly
5) Run for simulator
6) Verify the app is built, deployed, and run