Borjan Tchakaloff | 7dc79bf | 2018-01-30 15:31:13 +0100 | [diff] [blame] | 1 | # |
| 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 | |
| 17 | ifneq ($(TARGET_BUILD_JAVA_SUPPORT_LEVEL),) |
| 18 | |
| 19 | LOCAL_PATH := $(call my-dir) |
| 20 | |
| 21 | # The library |
| 22 | # ============================================================ |
| 23 | include $(CLEAR_VARS) |
| 24 | |
| 25 | LOCAL_SRC_FILES := \ |
| 26 | $(call all-subdir-java-files) |
| 27 | |
Borjan Tchakaloff | f4dfa4a | 2018-01-30 15:34:39 +0100 | [diff] [blame] | 28 | LOCAL_JAVA_LIBRARIES := framework |
| 29 | |
Borjan Tchakaloff | 7dc79bf | 2018-01-30 15:31:13 +0100 | [diff] [blame] | 30 | LOCAL_MODULE_TAGS := optional |
| 31 | |
| 32 | LOCAL_MODULE := com.fairphone.common |
| 33 | |
| 34 | include $(BUILD_JAVA_LIBRARY) |
| 35 | |
| 36 | # The documentation |
| 37 | # ============================================================ |
| 38 | include $(CLEAR_VARS) |
| 39 | |
| 40 | LOCAL_SRC_FILES := $(call all-subdir-java-files) $(call all-subdir-html-files) |
| 41 | |
| 42 | LOCAL_MODULE := fairphone-common |
| 43 | LOCAL_DROIDDOC_OPTIONS := |
| 44 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 45 | LOCAL_DROIDDOC_USE_STANDARD_DOCLET := true |
| 46 | |
| 47 | include $(BUILD_DROIDDOC) |
| 48 | |
| 49 | endif # JAVA_SUPPORT |