Skip to content

Commit

Permalink
fix gem build
Browse files Browse the repository at this point in the history
  • Loading branch information
genywind committed Mar 29, 2012
1 parent 153d8df commit 0f76910
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 18 deletions.
2 changes: 0 additions & 2 deletions platform/shared/common/app_build_capabilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
#define APP_BUILD_CAPABILITY_CALENDAR
#define APP_BUILD_CAPABILITY_CAMERA
#define APP_BUILD_CAPABILITY_GPS
#define APP_BUILD_CAPABILITY_MOTOROLA
#define APP_BUILD_CAPABILITY_PHONE
#define APP_BUILD_CAPABILITY_PIM
#define APP_BUILD_CAPABILITY_VIBRATE
#define APP_BUILD_CAPABILITY_WEBKIT_BROWSER

4 changes: 1 addition & 3 deletions platform/shared/common/app_build_configs.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
#include "app_build_configs.h"

static const char* keys[] = { ""
,"moto-plugins"
};

static const char* values[] = { ""
,"ALL"
};

#define APP_BUILD_CONFIG_COUNT 2
#define APP_BUILD_CONFIG_COUNT 1

const char* get_app_build_config_item(const char* key) {
int i;
Expand Down
13 changes: 0 additions & 13 deletions platform/shared/ruby/ext/rho/extensions.c
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
// WARNING! THIS FILE IS GENERATED AUTOMATICALLY! DO NOT EDIT IT MANUALLY!
#pragma comment(lib, "digest.lib")
#pragma comment(lib, "digest-md5.lib")
#pragma comment(lib, "digest-sha1.lib")
#pragma comment(lib, "RhoElementsExt.lib")
#pragma comment(lib, "rhowebkit.lib")
extern void Init_digest(void);
extern void Init_md5(void);
extern void Init_sha1(void);
extern void Init_RhoElementsExt_extension(void);
void Init_Extensions(void) {
Init_digest();
Init_md5();
Init_sha1();
Init_RhoElementsExt_extension();
}
54 changes: 54 additions & 0 deletions rhobuild.yml.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
env:
app: C:/rhodes-app
paths:
java: C:/Program Files/Java/jdk1.6.0_11/bin
android: C:/android-sdk-windows
android-ndk: C:/android-ndk-r4b
cabwiz: C:/Program Files/Windows Mobile 6 SDK/Tools/CabWiz
4.6:
jde: C:/Program Files/Research In Motion/BlackBerry JDE 4.6.0
mds: C:/Program Files/Research In Motion/BlackBerry JDE 4.6.0/MDS
sim: 9000
4.2:
jde: C:/Program Files/Research In Motion/BlackBerry JDE 4.2.0
mds: C:/Program Files/Research In Motion/BlackBerry Email and MDS Services Simulators 4.1.2/MDS
sim: 8100
build:
bbpath: platform/bb
wmpath: platform/wm
wppath: platform/wp7
androidpath: platform/android
iphonepath: platform/iphone
symbianpath: platform/symbian
bb:
bbsignpwd: "somepasswordhere"
android:
# Google API key obtained from http://code.google.com/intl/en/android/add-ons/google-apis/mapkey.html
#apikey: "GOOGLE-API-KEY-FOR-ANDROID"
# This is version of Android platform used to run emulator. If not specified, latest available will be used.
#version: 1.6
# This enable/disable native geo mapping for Android. Disabled by default
#mapping: yes
# Here data for production certificate located. If file pointed by certificate: does not exist, it will be auto-generated
#production:
# certificate: /path/to/developer/certificate
# password: "password-for-certificate"
# alias: "certificate-alias"

excludedirs:
all:
- "**/.*.swo"
- "**/.*.swn"
- "**/.DS_Store"
bb:
- public/js/iui
- public/js/jquery*
- public/jqtouch*
- public/js/prototype*
- public/css/iphone*
- public/iwebkit
- public/themes
- "**/jquery*.js"
- "**/*.db"
- public/images/android
- public/images/iphone

0 comments on commit 0f76910

Please sign in to comment.