blob: 455895d1fd4bf9c2c3b6ba09a24bd3337463881d [file] [log] [blame]
Borjan Tchakaloff7dc79bf2018-01-30 15:31:13 +01001#
2# Copyright 2018 Fairphone B.V.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17ifneq ($(TARGET_BUILD_JAVA_SUPPORT_LEVEL),)
18
19LOCAL_PATH := $(call my-dir)
20
21# The library
22# ============================================================
23include $(CLEAR_VARS)
24
25LOCAL_SRC_FILES := \
26 $(call all-subdir-java-files)
27
Borjan Tchakalofff4dfa4a2018-01-30 15:34:39 +010028LOCAL_JAVA_LIBRARIES := framework
29
Borjan Tchakaloff7dc79bf2018-01-30 15:31:13 +010030LOCAL_MODULE_TAGS := optional
31
32LOCAL_MODULE := com.fairphone.common
33
34include $(BUILD_JAVA_LIBRARY)
35
36# The documentation
37# ============================================================
38include $(CLEAR_VARS)
39
40LOCAL_SRC_FILES := $(call all-subdir-java-files) $(call all-subdir-html-files)
41
42LOCAL_MODULE := fairphone-common
43LOCAL_DROIDDOC_OPTIONS :=
44LOCAL_MODULE_CLASS := JAVA_LIBRARIES
45LOCAL_DROIDDOC_USE_STANDARD_DOCLET := true
46
47include $(BUILD_DROIDDOC)
48
49endif # JAVA_SUPPORT