diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2009-10-02 09:20:45 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2009-10-02 09:20:45 -0700 |
commit | a2a9eeca1ab465ef6bfcc36282b537caa9c93347 (patch) | |
tree | 8104dd7ba9f25144744642756bc0434600b90079 | |
parent | 5a30c843a939669d63b71dfc67296b285c2d922b (diff) | |
download | prebuilt-open-a2a9eeca1ab465ef6bfcc36282b537caa9c93347.tar.gz |
Scripts to handle htc prebuilts
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Android.mk | 33 | ||||
-rwxr-xr-x | extract-files.sh | 9 |
3 files changed, 43 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f5b82f3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +proprietary/* diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..06d01f3 --- /dev/null +++ b/Android.mk @@ -0,0 +1,33 @@ +ifeq ($(BOARD_USE_HTC_APPS),true) + +LOCAL_PATH:= $(call my-dir) + +############################################################################### +include $(CLEAR_VARS) + +LOCAL_MODULE := FieldTest +LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE).apk +LOCAL_MODULE_CLASS := APPS +LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX) + +include $(BUILD_PREBUILT) + +############################################################################### +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := proprietary/debug_tool +LOCAL_MODULE := debug_tool +LOCAL_MODULE_CLASS := EXECUTABLES + +include $(BUILD_PREBUILT) + +############################################################################### +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := proprietary/htclogkernel +LOCAL_MODULE := htclogkernel +LOCAL_MODULE_CLASS := EXECUTABLES + +include $(BUILD_PREBUILT) + +endif # ifeq ($(BOARD_USE_HTC_APPS),true) diff --git a/extract-files.sh b/extract-files.sh new file mode 100755 index 0000000..ee23de1 --- /dev/null +++ b/extract-files.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +mkdir -p proprietary + +adb pull /system/app/FieldTest.apk proprietary/FieldTest.apk +adb pull /system/bin/debug_tool proprietary/debug_tool +chmod 755 proprietary/debug_tool +adb pull /system/bin/htclogkernel proprietary/htclogkernel +chmod 755 proprietary/htclogkernel |