• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
15cc_library_shared {
16    name: "libFFTEm",
17
18    srcs: [
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",
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
106    cflags: [
107        "-Wall",
108        "-Werror",
109        "-Wno-enum-conversion",
110        "-Depl_LINUX",
111        "-Wno-unused-parameter",
112    ],
113
114    local_include_dirs: [
115        "FaceRecEm/common/src/b_FDSDK",
116        "FaceRecEm/common/src",
117        "Embedded/common/conf",
118        "Embedded/common/src",
119    ],
120
121    shared_libs: [
122        "libnativehelper",
123        "libutils",
124        "liblog",
125        "libjnigraphics",
126        "libcutils",
127    ],
128
129
130    required: [
131        "RFFspeed_501.bmd",
132        "RFFstd_501.bmd",
133    ],
134
135    //disable build in PDK
136    product_variables: {
137        pdk: {
138            enabled: false,
139        },
140    },
141}
142