OSDN Git Service

Fix bug 5236913 EOS causes HEADATEND event in play callback
[android-x86/system-media.git] / mca / Android.mk
1 # Copyright (C) 2011 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
16 FILTERFW_PATH:= $(call my-dir)
17
18 # for shared defintion of libfilterfw_to_document
19 include $(FILTERFW_PATH)/Docs.mk
20
21 #
22 # Build all native libraries
23 #
24 include $(call all-subdir-makefiles)
25
26 #
27 # Build Java library from filterfw core and all open-source filterpacks
28 #
29
30 LOCAL_PATH := $(FILTERFW_PATH)
31 include $(CLEAR_VARS)
32
33 LOCAL_MODULE_TAGS := optional
34
35 LOCAL_SRC_FILES := $(call libfilterfw_to_document,$(LOCAL_PATH))
36
37 LOCAL_MODULE := filterfw
38
39 LOCAL_JNI_SHARED_LIBRARIES := libfilterfw libfilterpack_imageproc
40
41 LOCAL_PROGUARD_ENABLED := disabled
42
43 LOCAL_NO_STANDARD_LIBRARIES := true
44 LOCAL_JAVA_LIBRARIES := core core-junit ext framework # to avoid circular dependency
45
46 include $(BUILD_JAVA_LIBRARY)
47
48 #
49 # Local droiddoc for faster libfilterfw docs testing
50 #
51 #
52 # Run with:
53 #     m libfilterfw-docs
54 #
55 # Main output:
56 #     out/target/common/docs/libfilterfw/reference/packages.html
57 #
58 # All text for proofreading (or running tools over):
59 #     out/target/common/docs/libfilterfw-proofread.txt
60 #
61 # TODO list of missing javadoc, etc:
62 #     out/target/common/docs/libfilterfw-docs-todo.html
63 #
64 # Rerun:
65 #     rm -rf out/target/common/docs/libfilterfw-timestamp && m libfilterfw-docs
66 #
67
68 LOCAL_PATH := $(FILTERFW_PATH)
69 include $(CLEAR_VARS)
70
71 LOCAL_SRC_FILES:=$(call libfilterfw_to_document,$(LOCAL_PATH))
72
73 # rerun doc generation without recompiling the java
74 LOCAL_JAVA_LIBRARIES:=
75 LOCAL_MODULE_CLASS:=JAVA_LIBRARIES
76
77 LOCAL_MODULE := libfilterfw
78
79 LOCAL_DROIDDOC_OPTIONS:= \
80  -offlinemode \
81  -title "libfilterfw" \
82  -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
83  -todo ../$(LOCAL_MODULE)-docs-todo.html \
84  -hdf android.whichdoc offline
85
86 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
87
88 include $(BUILD_DROIDDOC)