blob: 327eefc5e5cf2fa50cb195bb4b9aeb81496e1cb6 [file] [log] [blame]
Nick Kralevich65374942012-12-18 10:36:12 -08001# 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
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_MODULE := libctssecurity_jni
20
21# Don't include this package in any configuration by default.
22LOCAL_MODULE_TAGS := optional
23
24LOCAL_SRC_FILES := \
25 CtsSecurityJniOnLoad.cpp \
Nick Kralevichdeadf912013-07-02 17:18:09 -070026 android_security_cts_CharDeviceTest.cpp \
Nick Kralevich4267ab62013-11-12 12:14:00 -080027 android_security_cts_KernelSettingsTest.cpp \
Alex Klyubine49838e2013-08-23 10:25:04 -070028 android_security_cts_LinuxRngTest.cpp \
Alex Klyubin394ebe42013-08-28 16:08:14 -070029 android_security_cts_LoadEffectLibraryTest.cpp \
Eric Laurent6fe72da2013-08-23 17:29:00 -070030 android_security_cts_NativeCodeTest.cpp \
Anton Carverca7f0f82014-08-13 18:08:27 +010031 android_security_cts_SELinuxTest.cpp \
Chenjie Luo3c3f9d42014-09-04 16:20:49 -070032 android_security_cts_MMapExecutableTest.cpp \
Sami Tolvanenf48612d2015-07-09 13:57:32 +010033 android_security_cts_AudioPolicyBinderTest.cpp \
Jeff Tinkere8cd8fa2015-08-25 22:04:34 -070034 android_security_cts_EncryptionTest.cpp \
Andy Hung1fe82772015-08-31 19:00:47 -070035 android_security_cts_MediaPlayerInfoLeakTest.cpp \
Eric Laurenta6313f92015-08-28 16:40:30 -070036 android_security_cts_AudioEffectBinderTest.cpp \
Wonsik Kim4a6fa502015-09-30 18:22:30 +090037 android_security_cts_AudioFlingerBinderTest.cpp \
38 android_security_cts_StagefrightFoundationTest.cpp
Nick Kralevich65374942012-12-18 10:36:12 -080039
Jeff Tinker6b345c62015-09-25 22:15:51 +000040LOCAL_C_INCLUDES := $(JNI_H_INCLUDE)
Nick Kralevich65374942012-12-18 10:36:12 -080041
Wonsik Kim4a6fa502015-09-30 18:22:30 +090042LOCAL_SHARED_LIBRARIES := libnativehelper liblog libbinder libutils libmedia libselinux libdl libcutils libcrypto libstagefright_foundation
Sami Tolvanenf48612d2015-07-09 13:57:32 +010043
44LOCAL_C_INCLUDES += ndk/sources/cpufeatures
45LOCAL_STATIC_LIBRARIES := cpufeatures
Nick Kralevich65374942012-12-18 10:36:12 -080046
47include $(BUILD_SHARED_LIBRARY)