• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


Commit MetaInfo

Revisãoa2f6f4fa49d2de5a1bb3b2d165514dde398432b8 (tree)
Hora2017-06-08 19:03:57
Autorandroid-build-team Robot <android-build-team-robot@goog...>
Commiterandroid-build-team Robot

Mensagem de Log

release-request-011e6329-d82e-4e46-980f-68776b0cd6b9-for-git_oc-release-4080367 snap-temp-L79900000072116775

Change-Id: Ia866dca1af449622f59b06d01a29516f28a5556e

Mudança Sumário

Diff

--- /dev/null
+++ b/vndk/Android.mk
@@ -0,0 +1,47 @@
1+ifneq ($(filter generic_%,$(TARGET_DEVICE)),)
2+
3+LOCAL_PATH := $(call my-dir)
4+
5+include $(LOCAL_PATH)/vndk-sp-libs.mk
6+
7+define define-vndk-sp-lib
8+include $$(CLEAR_VARS)
9+LOCAL_MODULE := $1.vndk-sp-gen
10+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
11+LOCAL_PREBUILT_MODULE_FILE := $$(TARGET_OUT_INTERMEDIATE_LIBRARIES)/$1.so
12+LOCAL_STRIP_MODULE := false
13+LOCAL_MULTILIB := first
14+LOCAL_MODULE_TAGS := optional
15+LOCAL_INSTALLED_MODULE_STEM := $1.so
16+LOCAL_MODULE_SUFFIX := .so
17+LOCAL_MODULE_RELATIVE_PATH := vndk-sp
18+include $$(BUILD_PREBUILT)
19+
20+ifneq ($$(TARGET_2ND_ARCH),)
21+ifneq ($$(TARGET_TRANSLATE_2ND_ARCH),true)
22+include $$(CLEAR_VARS)
23+LOCAL_MODULE := $1.vndk-sp-gen
24+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
25+LOCAL_PREBUILT_MODULE_FILE := $$($$(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_INTERMEDIATE_LIBRARIES)/$1.so
26+LOCAL_STRIP_MODULE := false
27+LOCAL_MULTILIB := 32
28+LOCAL_MODULE_TAGS := optional
29+LOCAL_INSTALLED_MODULE_STEM := $1.so
30+LOCAL_MODULE_SUFFIX := .so
31+LOCAL_MODULE_RELATIVE_PATH := vndk-sp
32+include $$(BUILD_PREBUILT)
33+endif # TARGET_TRANSLATE_2ND_ARCH is not true
34+endif # TARGET_2ND_ARCH is not empty
35+endef
36+
37+$(foreach lib,$(VNDK_SP_LIBRARIES),\
38+ $(eval $(call define-vndk-sp-lib,$(lib))))
39+
40+include $(CLEAR_VARS)
41+LOCAL_MODULE := vndk-sp
42+LOCAL_MODULE_OWNER := google
43+LOCAL_MODULE_TAGS := optional
44+LOCAL_REQUIRED_MODULES := $(addsuffix .vndk-sp-gen,$(VNDK_SP_LIBRARIES))
45+include $(BUILD_PHONY_PACKAGE)
46+
47+endif # TARGET_DEVICE is generic_*
--- /dev/null
+++ b/vndk/vndk-sp-libs.mk
@@ -0,0 +1,26 @@
1+VNDK_SP_LIBRARIES := \
2+ android.hardware.graphics.allocator@2.0 \
3+ android.hardware.graphics.mapper@2.0 \
4+ android.hardware.graphics.common@1.0 \
5+ android.hardware.renderscript@1.0 \
6+ android.hidl.base@1.0 \
7+ libRSCpuRef \
8+ libRSDriver \
9+ libRS_internal \
10+ libbacktrace \
11+ libbase \
12+ libbcinfo \
13+ libblas \
14+ libc++ \
15+ libcompiler_rt \
16+ libcutils \
17+ libft2 \
18+ libhardware \
19+ libhidlbase \
20+ libhidltransport \
21+ libhwbinder \
22+ libion \
23+ liblzma \
24+ libpng \
25+ libunwind \
26+ libutils \