blob: 63c698ce127e4aedc38d3274bf4ba0edc7ece1eb [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 \
35 android_security_cts_MediaCryptoTest.cpp
Nick Kralevich65374942012-12-18 10:36:12 -080036
Jeff Tinkere8cd8fa2015-08-25 22:04:34 -070037LOCAL_C_INCLUDES := \
38 $(JNI_H_INCLUDE) \
39 system/core/include \
40 frameworks/base/media/jni
Nick Kralevich65374942012-12-18 10:36:12 -080041
Jeff Tinkere8cd8fa2015-08-25 22:04:34 -070042LOCAL_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 Tolvanenf48612d2015-07-09 13:57:32 +010054
55LOCAL_C_INCLUDES += ndk/sources/cpufeatures
56LOCAL_STATIC_LIBRARIES := cpufeatures
Nick Kralevich65374942012-12-18 10:36:12 -080057
58include $(BUILD_SHARED_LIBRARY)