diff options
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/Android.mk b/Android.mk deleted file mode 100644 index 6b5c4dc8..00000000 --- a/Android.mk +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright (C) 2016 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -# -# Build support for snakeyaml within the Android Open Source Project -# See https://source.android.com/source/building.html for more information -# - -LOCAL_PATH := $(call my-dir) - -# List of all files that need to be patched (see src/patches/android) -snakeyaml_need_patch_src_files := \ - src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactConstructor.java \ - src/main/java/org/yaml/snakeyaml/constructor/Constructor.java \ - src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java \ - src/main/java/org/yaml/snakeyaml/representer/Representer.java -# List of all files that are unsupported on android (see pom.xml) -snakeyaml_unsupported_android_src_files := \ - src/main/java/org/yaml/snakeyaml/introspector/MethodProperty.java -snakeyaml_src_files_unfiltered := $(call all-java-files-under, src/main) -# We omit the list of files that need to be patched because those are included by LOCAL_GENERATED_SOURCES instead. -snakeyaml_src_files := $(filter-out $(snakeyaml_need_patch_src_files) $(snakeyaml_unsupported_android_src_files),$(snakeyaml_src_files_unfiltered)) - -# Target Java build -include $(CLEAR_VARS) -LOCAL_SRC_FILES := $(snakeyaml_src_files) -LOCAL_MODULE := snakeyaml -include $(LOCAL_PATH)/ApplyAndroidPatches.mk -include $(BUILD_STATIC_JAVA_LIBRARY) - -# Host-side Java build -include $(CLEAR_VARS) -LOCAL_SRC_FILES := $(snakeyaml_src_files_unfiltered) -LOCAL_MODULE := snakeyaml-host -include $(BUILD_HOST_JAVA_LIBRARY) - -# Host-side Dalvik build -include $(CLEAR_VARS) -LOCAL_SRC_FILES := $(snakeyaml_src_files) -LOCAL_MODULE := snakeyaml-hostdex -include $(LOCAL_PATH)/ApplyAndroidPatches.mk -include $(BUILD_HOST_DALVIK_STATIC_JAVA_LIBRARY) - -# TODO: Consider adding tests. |