blob: e39a9c7d5cf2fecd2636b036e77b40f19cf9f41e
1 | # |
2 | # Licensed under the Apache License, Version 2.0 (the "License"); |
3 | # you may not use this file except in compliance with the License. |
4 | # You may obtain a copy of the License at |
5 | # |
6 | # http://www.apache.org/licenses/LICENSE-2.0 |
7 | # |
8 | # Unless required by applicable law or agreed to in writing, software |
9 | # distributed under the License is distributed on an "AS IS" BASIS, |
10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
11 | # See the License for the specific language governing permissions and |
12 | # limitations under the License. |
13 | # |
14 | |
15 | LOCAL_PATH := $(call my-dir) |
16 | include $(CLEAR_VARS) |
17 | |
18 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
19 | |
20 | LOCAL_PACKAGE_NAME := VideoPlayer |
21 | LOCAL_CERTIFICATE := platform |
22 | LOCAL_JAVA_LIBRARIES := droidlogic |
23 | LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4 |
24 | |
25 | ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo OK),OK) |
26 | LOCAL_PROPRIETARY_MODULE := true |
27 | endif |
28 | |
29 | #LOCAL_REQUIRED_MODULES := libamplayerjni libsubjni |
30 | |
31 | #LOCAL_PROGUARD_ENABLED := disabled |
32 | #LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags |
33 | |
34 | include $(BUILD_PACKAGE) |
35 | ################################################## |
36 | |
37 | include $(call all-makefiles-under,$(LOCAL_PATH)) |
38 |