diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2009-09-30 14:47:08 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2009-09-30 14:47:08 -0700 |
commit | 5ad12999833ef4c66cf46af7565fb5c38702ba23 (patch) | |
tree | 47b3bca26c1284e16efc16f1f5c1088ad088dd50 | |
parent | d6f8660fe31c2b88c5d262b79f1fa1f1495143d2 (diff) | |
download | android-open-5ad12999833ef4c66cf46af7565fb5c38702ba23.tar.gz |
Support for a variety of libraries in the appropriate locations
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Android.mk | 18 | ||||
-rw-r--r-- | libopencorehw/Android.mk | 9 | ||||
-rwxr-xr-x | libopencorehw/extract-files.sh | 5 | ||||
-rw-r--r-- | loc_api/Android.mk | 9 | ||||
-rwxr-xr-x | loc_api/extract-files.sh | 5 | ||||
-rw-r--r-- | pvomx/Android.mk | 9 | ||||
-rwxr-xr-x | pvomx/extract-files.sh | 6 |
8 files changed, 64 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5f111c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +libopencorehw/proprietary/* +loc_api/proprietary/* +pvomx/proprietary/* diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..2ddea0b --- /dev/null +++ b/Android.mk @@ -0,0 +1,18 @@ +# +# Copyright (C) 2009 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +ifeq ($(TARGET_BOARD_PLATFORM),msm7k) + include $(all-subdir-makefiles) +endif diff --git a/libopencorehw/Android.mk b/libopencorehw/Android.mk new file mode 100644 index 0000000..06c5ed7 --- /dev/null +++ b/libopencorehw/Android.mk @@ -0,0 +1,9 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_MODULE := libopencorehw.so +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES) +LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE) +OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES) +include $(BUILD_PREBUILT) diff --git a/libopencorehw/extract-files.sh b/libopencorehw/extract-files.sh new file mode 100755 index 0000000..d2c4fd0 --- /dev/null +++ b/libopencorehw/extract-files.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +mkdir -p proprietary + +adb pull /system/lib/libopencorehw.so proprietary/libopencorehw.so diff --git a/loc_api/Android.mk b/loc_api/Android.mk new file mode 100644 index 0000000..b70b482 --- /dev/null +++ b/loc_api/Android.mk @@ -0,0 +1,9 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_MODULE := libloc_api.so +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES) +LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE) +OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES) +include $(BUILD_PREBUILT) diff --git a/loc_api/extract-files.sh b/loc_api/extract-files.sh new file mode 100755 index 0000000..3857865 --- /dev/null +++ b/loc_api/extract-files.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +mkdir -p proprietary + +adb pull /system/lib/libloc_api.so proprietary/libloc_api.so diff --git a/pvomx/Android.mk b/pvomx/Android.mk new file mode 100644 index 0000000..c3d457b --- /dev/null +++ b/pvomx/Android.mk @@ -0,0 +1,9 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_MODULE := libqcomm_omx.so +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES) +LOCAL_SRC_FILES := proprietary/$(LOCAL_MODULE) +OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES) +include $(BUILD_PREBUILT) diff --git a/pvomx/extract-files.sh b/pvomx/extract-files.sh new file mode 100755 index 0000000..0d507f1 --- /dev/null +++ b/pvomx/extract-files.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +mkdir -p proprietary + +adb pull /system/etc/01_qcomm_omx.cfg proprietary/01_qcomm_omx.cfg +adb pull /system/lib/libqcomm_omx.so proprietary/libqcomm_omx.so |