diff options
| author | LuK1337 <priv.luk@gmail.com> | 2016-01-25 20:04:06 +0100 |
|---|---|---|
| committer | LuK1337 <priv.luk@gmail.com> | 2016-01-27 16:48:48 +0100 |
| commit | 4f01803b535307933aa95cd251d53aa5528d0ee0 (patch) | |
| tree | 9f26f8c905a0820ac37efae987e26c52baac84eb /libshims | |
| parent | b54c7ba15ec744c830ed721d53d18f9733bb59d0 (diff) | |
msm8916-common: Remove RIL shim
Change-Id: Ia32764c88e001c2a17f48eb2d0f2803091052e6f
Diffstat (limited to 'libshims')
| -rw-r--r-- | libshims/Android.mk | 11 | ||||
| -rw-r--r-- | libshims/Parcel.cpp | 45 |
2 files changed, 0 insertions, 56 deletions
diff --git a/libshims/Android.mk b/libshims/Android.mk index 4dfee14..90d16e6 100644 --- a/libshims/Android.mk +++ b/libshims/Android.mk @@ -12,14 +12,3 @@ LOCAL_MODULE := libshim_camera LOCAL_MODULE_CLASS := SHARED_LIBRARIES include $(BUILD_SHARED_LIBRARY) - -include $(CLEAR_VARS) - -LOCAL_SRC_FILES := \ - Parcel.cpp - -LOCAL_SHARED_LIBRARIES := libbinder -LOCAL_MODULE := libshim_parcel -LOCAL_MODULE_CLASS := SHARED_LIBRARIES - -include $(BUILD_SHARED_LIBRARY) diff --git a/libshims/Parcel.cpp b/libshims/Parcel.cpp deleted file mode 100644 index a19ad0b..0000000 --- a/libshims/Parcel.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2015 The CyanogenMod 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. - */ - -#include <stdlib.h> -#include <utils/Errors.h> - -namespace android { - -extern "C" { - -#ifdef __aarch64__ - // C++11 Parcel::writeString16(const char16_t* str, size_t len) - status_t _ZN7android6Parcel13writeString16EPKDsm(const char16_t* str, size_t len); - - // Old signature with typedef uint16_t - status_t _ZN7android6Parcel13writeString16EPKtm(const char16_t* str, size_t len) { - return _ZN7android6Parcel13writeString16EPKDsm(str, len); - } -#else - // C++11 Parcel::writeString16(const char16_t* str, size_t len) - status_t _ZN7android6Parcel13writeString16EPKDsj(const char16_t* str, size_t len); - - // Old signature with typedef uint16_t - status_t _ZN7android6Parcel13writeString16EPKtj(const char16_t* str, size_t len) { - return _ZN7android6Parcel13writeString16EPKDsj(str, len); - } -#endif - -} - -}; // namespace android - |
