1# Copyright (C) 2008 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) 16include $(CLEAR_VARS) 17 18LOCAL_SRC_FILES:= \ 19 FaceDetector_jni.cpp \ 20 Embedded/common/src/b_APIEm/DCR.c \ 21 Embedded/common/src/b_APIEm/BFFaceFinder.c \ 22 Embedded/common/src/b_APIEm/FaceFinder.c \ 23 Embedded/common/src/b_APIEm/FaceFinderRef.c \ 24 Embedded/common/src/b_APIEm/Functions.c \ 25 Embedded/common/src/b_BasicEm/APh.c \ 26 Embedded/common/src/b_BasicEm/APhArr.c \ 27 Embedded/common/src/b_BasicEm/Complex.c \ 28 Embedded/common/src/b_BasicEm/ComplexArr.c \ 29 Embedded/common/src/b_BasicEm/Context.c \ 30 Embedded/common/src/b_BasicEm/DynMemManager.c \ 31 Embedded/common/src/b_BasicEm/Functions.c \ 32 Embedded/common/src/b_BasicEm/Int16Arr.c \ 33 Embedded/common/src/b_BasicEm/Int32Arr.c \ 34 Embedded/common/src/b_BasicEm/Int8Arr.c \ 35 Embedded/common/src/b_BasicEm/Math.c.arm \ 36 Embedded/common/src/b_BasicEm/MemSeg.c \ 37 Embedded/common/src/b_BasicEm/MemTbl.c \ 38 Embedded/common/src/b_BasicEm/Memory.c \ 39 Embedded/common/src/b_BasicEm/Phase.c \ 40 Embedded/common/src/b_BasicEm/String.c \ 41 Embedded/common/src/b_BasicEm/UInt16Arr.c \ 42 Embedded/common/src/b_BasicEm/UInt32Arr.c \ 43 Embedded/common/src/b_BasicEm/UInt8Arr.c \ 44 Embedded/common/src/b_BitFeatureEm/BitParam.c \ 45 Embedded/common/src/b_BitFeatureEm/Feature.c \ 46 Embedded/common/src/b_BitFeatureEm/Functions.c \ 47 Embedded/common/src/b_BitFeatureEm/I04Dns2x2Ftr.c \ 48 Embedded/common/src/b_BitFeatureEm/I04Dns2x4Ftr.c \ 49 Embedded/common/src/b_BitFeatureEm/I04Tld2x4Ftr.c \ 50 Embedded/common/src/b_BitFeatureEm/L01Dns2x4Ftr.c \ 51 Embedded/common/src/b_BitFeatureEm/L01Tld1x1Ftr.c \ 52 Embedded/common/src/b_BitFeatureEm/L01Tld2x4Ftr.c \ 53 Embedded/common/src/b_BitFeatureEm/L04Dns2x2Ftr.c \ 54 Embedded/common/src/b_BitFeatureEm/L04Dns2x4Ftr.c \ 55 Embedded/common/src/b_BitFeatureEm/L04Dns3x3Ftr.c \ 56 Embedded/common/src/b_BitFeatureEm/L04Tld2x4Ftr.c \ 57 Embedded/common/src/b_BitFeatureEm/L06Dns3x3Ftr.c \ 58 Embedded/common/src/b_BitFeatureEm/L06Dns4x4Ftr.c \ 59 Embedded/common/src/b_BitFeatureEm/L06DnsNx4x4Ftr.c \ 60 Embedded/common/src/b_BitFeatureEm/LocalScanDetector.c \ 61 Embedded/common/src/b_BitFeatureEm/LocalScanner.c \ 62 Embedded/common/src/b_BitFeatureEm/ScanDetector.c \ 63 Embedded/common/src/b_BitFeatureEm/Scanner.c \ 64 Embedded/common/src/b_BitFeatureEm/Sequence.c \ 65 Embedded/common/src/b_ImageEm/APhImage.c \ 66 Embedded/common/src/b_ImageEm/ComplexImage.c \ 67 Embedded/common/src/b_ImageEm/Flt16Image.c \ 68 Embedded/common/src/b_ImageEm/Functions.c \ 69 Embedded/common/src/b_ImageEm/HistoEq.c \ 70 Embedded/common/src/b_ImageEm/UInt16ByteImage.c \ 71 Embedded/common/src/b_ImageEm/UInt16BytePyrImage.c \ 72 Embedded/common/src/b_ImageEm/UInt8Image.c \ 73 Embedded/common/src/b_ImageEm/UInt32Image.c \ 74 Embedded/common/src/b_ImageEm/UInt8PyramidalImage.c \ 75 Embedded/common/src/b_TensorEm/Alt.c \ 76 Embedded/common/src/b_TensorEm/Cluster2D.c \ 77 Embedded/common/src/b_TensorEm/Cluster3D.c \ 78 Embedded/common/src/b_TensorEm/CompactAlt.c \ 79 Embedded/common/src/b_TensorEm/CompactMat.c \ 80 Embedded/common/src/b_TensorEm/Flt16Alt2D.c \ 81 Embedded/common/src/b_TensorEm/Flt16Alt3D.c \ 82 Embedded/common/src/b_TensorEm/Flt16Mat2D.c \ 83 Embedded/common/src/b_TensorEm/Flt16Mat3D.c \ 84 Embedded/common/src/b_TensorEm/Flt16Vec.c \ 85 Embedded/common/src/b_TensorEm/Flt16Vec2D.c \ 86 Embedded/common/src/b_TensorEm/Flt16Vec3D.c \ 87 Embedded/common/src/b_TensorEm/Functions.c \ 88 Embedded/common/src/b_TensorEm/IdCluster2D.c \ 89 Embedded/common/src/b_TensorEm/Int16Mat2D.c \ 90 Embedded/common/src/b_TensorEm/Int16Rect.c \ 91 Embedded/common/src/b_TensorEm/Int16Vec2D.c \ 92 Embedded/common/src/b_TensorEm/Int16Vec3D.c \ 93 Embedded/common/src/b_TensorEm/Int32Mat.c \ 94 Embedded/common/src/b_TensorEm/MapSequence.c \ 95 Embedded/common/src/b_TensorEm/Mat.c \ 96 Embedded/common/src/b_TensorEm/Normalizer.c \ 97 Embedded/common/src/b_TensorEm/RBFMap2D.c \ 98 Embedded/common/src/b_TensorEm/SubVecMap.c \ 99 Embedded/common/src/b_TensorEm/Uint32Rect.c \ 100 Embedded/common/src/b_TensorEm/VectorMap.c \ 101 FaceRecEm/common/src/b_FDSDK/DCR.c \ 102 FaceRecEm/common/src/b_FDSDK/FaceFinder.c \ 103 FaceRecEm/common/src/b_FDSDK/SDK.c 104## 105 106LOCAL_CFLAGS += -Depl_LINUX 107 108LOCAL_C_INCLUDES += \ 109 external/neven/FaceRecEm/common/src/b_FDSDK \ 110 $(JNI_H_INCLUDE) \ 111 $(call include-path-for, corecg graphics) \ 112 $(LOCAL_PATH)/FaceRecEm/common/src \ 113 $(LOCAL_PATH)/Embedded/common/conf \ 114 $(LOCAL_PATH)/Embedded/common/src \ 115 $(LOCAL_PATH)/unix/src 116 117LOCAL_SHARED_LIBRARIES := \ 118 libandroid_runtime \ 119 libnativehelper \ 120 libutils \ 121 libskia \ 122 libcutils 123 124LOCAL_MODULE:= libFFTEm 125 126ALL_PREBUILT += $(TARGET_OUT)/usr/share/bmd/RFFspeed_501.bmd 127$(TARGET_OUT)/usr/share/bmd/RFFspeed_501.bmd : $(LOCAL_PATH)/Embedded/common/data/APIEm/Modules/RFFspeed_501.bmd | $(ACP) 128 $(transform-prebuilt-to-target) 129 130ALL_PREBUILT += $(TARGET_OUT)/usr/share/bmd/RFFstd_501.bmd 131$(TARGET_OUT)/usr/share/bmd/RFFstd_501.bmd : $(LOCAL_PATH)/Embedded/common/data/APIEm/Modules/RFFstd_501.bmd | $(ACP) 132 $(transform-prebuilt-to-target) 133 134 135include $(BUILD_SHARED_LIBRARY) 136