diff options
author | 2020-09-09 13:55:24 -0700 | |
---|---|---|
committer | 2020-10-28 11:16:53 -0700 | |
commit | 5820852c0f0fe634a104f81691ad3e0026caecdc (patch) | |
tree | 3e430545bfdf4788230f9dcfbaca29c8eee47778 /libs/input/KeyCharacterMap.cpp | |
parent | 1ac550d7973e5a1f90a3cd9b661a0fa0668d6516 (diff) |
Build all of libinput for linux host.
Including enabling parcel-related code in source already building for
host.
Test: m libandroid_runtime
Change-Id: Ia569e5158ba6ead28486069036f6a3595662bbf8
Diffstat (limited to 'libs/input/KeyCharacterMap.cpp')
-rw-r--r-- | libs/input/KeyCharacterMap.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/input/KeyCharacterMap.cpp b/libs/input/KeyCharacterMap.cpp index 7ac8a2e02c..2623ecde45 100644 --- a/libs/input/KeyCharacterMap.cpp +++ b/libs/input/KeyCharacterMap.cpp @@ -19,10 +19,7 @@ #include <stdlib.h> #include <string.h> -#ifdef __ANDROID__ #include <binder/Parcel.h> -#endif - #include <android/keycodes.h> #include <attestation/HmacKeyManager.h> #include <input/InputEventLabels.h> @@ -590,7 +587,6 @@ void KeyCharacterMap::addLockedMetaKey(Vector<KeyEvent>& outEvents, } } -#ifdef __ANDROID__ std::shared_ptr<KeyCharacterMap> KeyCharacterMap::readFromParcel(Parcel* parcel) { if (parcel == nullptr) { ALOGE("%s: Null parcel", __func__); @@ -676,7 +672,6 @@ void KeyCharacterMap::writeToParcel(Parcel* parcel) const { parcel->writeInt32(0); } } -#endif // --- KeyCharacterMap::Key --- |