Skip to content

Commit

Permalink
Add support for Google TV devices
Browse files Browse the repository at this point in the history
  • Loading branch information
kruton committed Dec 20, 2011
1 parent 9565d76 commit a1894f4
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AndroidManifest.xml
Expand Up @@ -29,6 +29,8 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />

<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>

<supports-screens />

<application
Expand Down
17 changes: 17 additions & 0 deletions build.xml
Expand Up @@ -127,6 +127,23 @@
includes="**/*.pot **/*.po" />
</target>

<target name="-check-ndk">
<fail
message="ndk.dir is missing. Make sure to put it in local.properties"
unless="ndk.dir"
/>
</target>

<target name="native-build" depends="-check-ndk">
<exec executable="${ndk.dir}/ndk-build" failonerror="true" />
</target>

<target name="native-clean" depends="-check-ndk">
<exec executable="${ndk.dir}/ndk-build" failonerror="true">
<arg value="clean" />
</exec>
</target>

<!-- End custom ConnectBot stuff -->

<!-- quick check on sdk.dir -->
Expand Down
2 changes: 2 additions & 0 deletions jni/Application.mk
@@ -0,0 +1,2 @@
# Build both ARMv5TE and x86-32 machine code.
APP_ABI := armeabi x86
1 change: 1 addition & 0 deletions jni/Exec/Android.mk
Expand Up @@ -3,6 +3,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE := com_google_ase_Exec
LOCAL_CFLAGS := -Werror
LOCAL_SRC_FILES := com_google_ase_Exec.cpp
LOCAL_LDLIBS := -llog

Expand Down
Binary file modified libs/armeabi/libcom_google_ase_Exec.so
Binary file not shown.
Binary file added libs/x86/libcom_google_ase_Exec.so
Binary file not shown.

0 comments on commit a1894f4

Please sign in to comment.