Nick Kralevich | 6537494 | 2012-12-18 10:36:12 -0800 | [diff] [blame] | 1 | # Copyright (C) 2012 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | LOCAL_PATH:= $(call my-dir) |
| 16 | |
| 17 | include $(CLEAR_VARS) |
| 18 | |
| 19 | LOCAL_MODULE := libctssecurity_jni |
| 20 | |
| 21 | # Don't include this package in any configuration by default. |
| 22 | LOCAL_MODULE_TAGS := optional |
| 23 | |
| 24 | LOCAL_SRC_FILES := \ |
| 25 | CtsSecurityJniOnLoad.cpp \ |
Nick Kralevich | deadf91 | 2013-07-02 17:18:09 -0700 | [diff] [blame] | 26 | android_security_cts_CharDeviceTest.cpp \ |
Nick Kralevich | 4267ab6 | 2013-11-12 12:14:00 -0800 | [diff] [blame] | 27 | android_security_cts_KernelSettingsTest.cpp \ |
Alex Klyubin | e49838e | 2013-08-23 10:25:04 -0700 | [diff] [blame] | 28 | android_security_cts_LinuxRngTest.cpp \ |
Alex Klyubin | 394ebe4 | 2013-08-28 16:08:14 -0700 | [diff] [blame] | 29 | android_security_cts_LoadEffectLibraryTest.cpp \ |
Eric Laurent | 6fe72da | 2013-08-23 17:29:00 -0700 | [diff] [blame] | 30 | android_security_cts_NativeCodeTest.cpp \ |
Anton Carver | ca7f0f8 | 2014-08-13 18:08:27 +0100 | [diff] [blame] | 31 | android_security_cts_SELinuxTest.cpp \ |
Chenjie Luo | 3c3f9d4 | 2014-09-04 16:20:49 -0700 | [diff] [blame] | 32 | android_security_cts_MMapExecutableTest.cpp \ |
Sami Tolvanen | f48612d | 2015-07-09 13:57:32 +0100 | [diff] [blame] | 33 | android_security_cts_AudioPolicyBinderTest.cpp \ |
Jeff Tinker | e8cd8fa | 2015-08-25 22:04:34 -0700 | [diff] [blame] | 34 | android_security_cts_EncryptionTest.cpp \ |
Andy Hung | 1fe8277 | 2015-08-31 19:00:47 -0700 | [diff] [blame] | 35 | android_security_cts_MediaPlayerInfoLeakTest.cpp \ |
Eric Laurent | a6313f9 | 2015-08-28 16:40:30 -0700 | [diff] [blame] | 36 | android_security_cts_AudioEffectBinderTest.cpp \ |
Wonsik Kim | 4a6fa50 | 2015-09-30 18:22:30 +0900 | [diff] [blame] | 37 | android_security_cts_AudioFlingerBinderTest.cpp \ |
| 38 | android_security_cts_StagefrightFoundationTest.cpp |
Nick Kralevich | 6537494 | 2012-12-18 10:36:12 -0800 | [diff] [blame] | 39 | |
Jeff Tinker | 6b345c6 | 2015-09-25 22:15:51 +0000 | [diff] [blame] | 40 | LOCAL_C_INCLUDES := $(JNI_H_INCLUDE) |
Nick Kralevich | 6537494 | 2012-12-18 10:36:12 -0800 | [diff] [blame] | 41 | |
Wonsik Kim | 4a6fa50 | 2015-09-30 18:22:30 +0900 | [diff] [blame] | 42 | LOCAL_SHARED_LIBRARIES := libnativehelper liblog libbinder libutils libmedia libselinux libdl libcutils libcrypto libstagefright_foundation |
Sami Tolvanen | f48612d | 2015-07-09 13:57:32 +0100 | [diff] [blame] | 43 | |
| 44 | LOCAL_C_INCLUDES += ndk/sources/cpufeatures |
| 45 | LOCAL_STATIC_LIBRARIES := cpufeatures |
Nick Kralevich | 6537494 | 2012-12-18 10:36:12 -0800 | [diff] [blame] | 46 | |
| 47 | include $(BUILD_SHARED_LIBRARY) |