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 \ |
| 35 | android_security_cts_MediaCryptoTest.cpp |
Nick Kralevich | 6537494 | 2012-12-18 10:36:12 -0800 | [diff] [blame] | 36 | |
Jeff Tinker | e8cd8fa | 2015-08-25 22:04:34 -0700 | [diff] [blame^] | 37 | LOCAL_C_INCLUDES := \ |
| 38 | $(JNI_H_INCLUDE) \ |
| 39 | system/core/include \ |
| 40 | frameworks/base/media/jni |
Nick Kralevich | 6537494 | 2012-12-18 10:36:12 -0800 | [diff] [blame] | 41 | |
Jeff Tinker | e8cd8fa | 2015-08-25 22:04:34 -0700 | [diff] [blame^] | 42 | LOCAL_SHARED_LIBRARIES := \ |
| 43 | libnativehelper \ |
| 44 | liblog \ |
| 45 | libbinder \ |
| 46 | libutils \ |
| 47 | libmedia \ |
| 48 | libselinux \ |
| 49 | libdl \ |
| 50 | libcutils \ |
| 51 | libcrypto \ |
| 52 | libstagefright_foundation \ |
| 53 | libmedia_jni |
Sami Tolvanen | f48612d | 2015-07-09 13:57:32 +0100 | [diff] [blame] | 54 | |
| 55 | LOCAL_C_INCLUDES += ndk/sources/cpufeatures |
| 56 | LOCAL_STATIC_LIBRARIES := cpufeatures |
Nick Kralevich | 6537494 | 2012-12-18 10:36:12 -0800 | [diff] [blame] | 57 | |
| 58 | include $(BUILD_SHARED_LIBRARY) |