This repository has been archived by the owner on Jan 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
vpmedia
committed
Sep 22, 2014
1 parent
30a5fef
commit 3a55568
Showing
70 changed files
with
4,558 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
; This file is for unifying the coding style for different editors and IDEs. | ||
; More information at http://EditorConfig.org | ||
root = true | ||
|
||
[**.as] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# | ||
# =BEGIN MIT LICENSE | ||
# | ||
# The MIT License (MIT) | ||
# | ||
# Copyright (c) 2014 Andras Csizmadia | ||
# http://www.vpmedia.hu | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
# | ||
# =END MIT LICENSE | ||
# | ||
|
||
# Build and Release Folders | ||
build/ | ||
bin/ | ||
publish/ | ||
temp/ | ||
|
||
# Gradle | ||
.gradle/ | ||
local.properties | ||
|
||
# IntelliJ IDEA | ||
.idea/ | ||
*.iml | ||
*.ipr | ||
*.iws | ||
|
||
# Native outputs | ||
*.o | ||
*.a | ||
*.exe | ||
*.lib | ||
*.def |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# | ||
# =BEGIN MIT LICENSE | ||
# | ||
# The MIT License (MIT) | ||
# | ||
# Copyright (c) 2014 Andras Csizmadia | ||
# http://www.vpmedia.hu | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
# | ||
# =END MIT LICENSE | ||
# | ||
|
||
git: | ||
depth: 1 | ||
|
||
language: objective-c | ||
|
||
env: | ||
- TERM=dumb | ||
|
||
before_script: | ||
# Update Brew silently | ||
- brew update >brew-update.log | ||
# Install Brew Packages silently | ||
- brew install gradle >brew-install.log | ||
- brew install adobe-air-sdk >>brew-install.log | ||
- brew install android-sdk >>brew-install.log | ||
- brew install android-ndk >>brew-install.log | ||
# Adobe Flash Player for CLI | ||
- brew install caskroom/cask/brew-cask | ||
- brew cask install flash-player-debugger | ||
# Set env. variable used by FlexUnit | ||
- export FLASHPLAYER_DEBUGGER="$HOME/Applications/Flash Player Debugger.app/Contents/MacOS/Flash Player Debugger" | ||
# Set env. variable used by Gradle | ||
- export FLASH_PLAYER_EXE="$HOME/Applications/Flash Player Debugger.app/Contents/MacOS/Flash Player Debugger" | ||
# Apache Flex SDK | ||
- wget -O flex_sdk.zip http://mirrors.gigenet.com/apache/flex/4.13.0/binaries/apache-flex-sdk-4.13.0-bin.zip | ||
- unzip -q flex_sdk.zip -d flex_sdk | ||
# Init PlayerGlobals | ||
- echo env.PLAYERGLOBAL_HOME=libs/player > flex_sdk/env.properties | ||
# Init Apache Flex SDK | ||
- mkdir -p flex_sdk/frameworks/libs/player/11.1/ | ||
- mkdir -p flex_sdk/frameworks/libs/player/15.0/ | ||
- cp -f /usr/local/opt/adobe-air-sdk/libexec/frameworks/libs/player/15.0/playerglobal.swc flex_sdk/frameworks/libs/player/11.1/ | ||
- cp -f /usr/local/opt/adobe-air-sdk/libexec/frameworks/libs/player/15.0/playerglobal.swc flex_sdk/frameworks/libs/player/15.0/ | ||
# Init Android SDK | ||
- echo yes | android update sdk --filter platform-tools,android-20,build-tools-20.0.0 --force --no-ui > /dev/null | ||
- export ANDROID_HOME=/usr/local/opt/android-sdk | ||
- export ANDROID_NDK_HOME=/usr/local/opt/android-ndk | ||
- export ANDROID_NDK_ROOT=/usr/local/opt/android-ndk | ||
- export NDK_HOME=/usr/local/opt/android-ndk | ||
# Set env. variable used by Gradle | ||
- export FLEX_HOME="$TRAVIS_BUILD_DIR/flex_sdk" | ||
# Init Adobe AIR SDK | ||
- mkdir -p /usr/local/opt/adobe-air-sdk/libexec/frameworks/libs/player/11.1/ | ||
- cp -f /usr/local/opt/adobe-air-sdk/libexec/frameworks/libs/player/15.0/playerglobal.swc /usr/local/opt/adobe-air-sdk/libexec/frameworks/libs/player/11.1/ | ||
# Set env. variable used by Gradle | ||
- export AIR_HOME=/usr/local/opt/adobe-air-sdk/libexec | ||
|
||
script: | ||
- gradle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,39 @@ | ||
system-ane | ||
========== | ||
|
||
Core System AIR Native Extension | ||
[![Build Status](https://travis-ci.org/ane-community/system-ane.png?branch=master)](https://travis-ci.org/ane-community/system-ane) | ||
|
||
## Introduction | ||
|
||
AIR Native Extension for core System APIs | ||
|
||
## Prerequisites | ||
|
||
* JDK (Common) | ||
|
||
> Setting the **JAVA_HOME** env. variable is essential | ||
* Adobe AIR SDK (Flash) | ||
|
||
> Setting the **AIR_HOME** env. variable is essential | ||
* MingW and MSys (Windows) | ||
|
||
> Setting the **MINGW_HOME** and **MSYS_HOME** env. variables is essential | ||
* Android SDK and NDK (Android) | ||
|
||
> Create a **local.properties** file in the source root | ||
ndk.dir=c:\\android-studio\\ndk | ||
sdk.dir=c:\\android-studio\\sdk | ||
|
||
* XCode (iOS) | ||
|
||
## Building | ||
|
||
* run **gradle** | ||
|
||
## License | ||
|
||
* [MIT](http://opensource.org/licenses/MIT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
// | ||
// =BEGIN MIT LICENSE | ||
// | ||
// The MIT License (MIT) | ||
// | ||
// Copyright (c) 2014 Andras Csizmadia | ||
// http://www.vpmedia.hu | ||
// | ||
// Permission is hereby granted, free of charge, to any person obtaining a copy | ||
// of this software and associated documentation files (the "Software"), to deal | ||
// in the Software without restriction, including without limitation the rights | ||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
// copies of the Software, and to permit persons to whom the Software is | ||
// furnished to do so, subject to the following conditions: | ||
// | ||
// The above copyright notice and this permission notice shall be included in | ||
// all copies or substantial portions of the Software. | ||
// | ||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
// THE SOFTWARE. | ||
// | ||
// =END MIT LICENSE | ||
// | ||
|
||
buildscript { | ||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:0.+' | ||
} | ||
} | ||
apply plugin: 'com.android.library' | ||
|
||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
} | ||
|
||
def AIR_HOME = System.getenv('AIR_HOME') | ||
|
||
// apply plugin | ||
apply plugin: 'android-library' | ||
|
||
if("${System.env.JENKINS_BUILD_VERSION}" != "null") { | ||
version = "${System.env.JENKINS_BUILD_VERSION}" | ||
} | ||
|
||
println "${group}.${project.name}-${version}" | ||
|
||
dependencies { | ||
compile files("${AIR_HOME}/lib/android/FlashRuntimeExtensions.jar") | ||
} | ||
|
||
android { | ||
compileSdkVersion 20 | ||
buildToolsVersion "20.0.0" | ||
|
||
defaultConfig { | ||
minSdkVersion 20 | ||
targetSdkVersion 20 | ||
|
||
ndk { | ||
moduleName "MainJNI" | ||
stl "stlport_static" | ||
ldLibs "log" | ||
cFlags "-DBOTAN_USE_GCC_INLINE_ASM=0 -fexceptions -frtti" | ||
} | ||
} | ||
} | ||
|
||
defaultTasks 'assemble' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Add project specific ProGuard rules here. | ||
# By default, the flags in this file are appended to flags specified | ||
# in C:/Work/sdks/android-studio/sdk/tools/proguard/proguard-android.txt | ||
# You can edit the include path and order by changing the proguardFiles | ||
# directive in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# Add any project specific keep options here: | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="no"?> | ||
<!-- | ||
~ | ||
~ =BEGIN MIT LICENSE | ||
~ | ||
~ The MIT License (MIT) | ||
~ | ||
~ Copyright (c) 2014 Andras Csizmadia | ||
~ http://www.vpmedia.hu | ||
~ | ||
~ Permission is hereby granted, free of charge, to any person obtaining a copy | ||
~ of this software and associated documentation files (the "Software"), to deal | ||
~ in the Software without restriction, including without limitation the rights | ||
~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
~ copies of the Software, and to permit persons to whom the Software is | ||
~ furnished to do so, subject to the following conditions: | ||
~ | ||
~ The above copyright notice and this permission notice shall be included in | ||
~ all copies or substantial portions of the Software. | ||
~ | ||
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
~ THE SOFTWARE. | ||
~ | ||
~ =END MIT LICENSE | ||
~ | ||
--> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.docmet.botan_crypto"> | ||
<application android:allowBackup="true" | ||
android:label="@string/app_name" | ||
android:icon="@drawable/ic_launcher" | ||
android:theme="@style/AppTheme"> | ||
</application> | ||
</manifest> |
Oops, something went wrong.