Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
device_xiaomi_onclite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid-Devices
device_xiaomi_onclite
Commits
3a410eb4
Commit
3a410eb4
authored
5 years ago
by
GuaiYiHu
Committed by
Dhina17
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
onclite: Build vndk_package
Change-Id: I58e2a50bd1e74ea11e523744ff8df285212b4d4d
parent
4f8d53b4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
device.mk
+1
-1
1 addition, 1 deletion
device.mk
vndk/Android.mk
+0
-97
0 additions, 97 deletions
vndk/Android.mk
with
1 addition
and
98 deletions
device.mk
+
1
−
1
View file @
3a410eb4
...
...
@@ -340,7 +340,7 @@ PRODUCT_PACKAGES += \
# VNDK
PRODUCT_PACKAGES
+=
\
vndk
-sp
vndk
_package
# Thermal
PRODUCT_PACKAGES
+=
\
...
...
This diff is collapsed.
Click to expand it.
vndk/Android.mk
deleted
100644 → 0
+
0
−
97
View file @
4f8d53b4
ifneq
($(BOARD_VNDK_VERSION),current)
VNDK_SP_LIBRARIES
:=
\
android.hardware.graphics.allocator@2.0
\
android.hardware.graphics.common@1.0
\
android.hardware.graphics.mapper@2.0
\
android.hardware.renderscript@1.0
\
android.hidl.memory@1.0
\
libRSCpuRef
\
libRSDriver
\
libRS_internal
\
libbacktrace
\
libbase
\
libbcinfo
\
libblas
\
libc++
\
libcompiler_rt
\
libcutils
\
libft2
\
libhardware
\
libhidlbase
\
libhidlmemory
\
libhidltransport
\
libhwbinder
\
libion
\
liblzma
\
libpng
\
libunwind
\
libutils
\
libz
EXTRA_VENDOR_LIBRARIES
:=
\
android.hidl.base@1.0
\
android.hidl.manager@1.0
\
vendor.display.color@1.0
\
vendor.display.config@1.0
#-------------------------------------------------------------------------------
# VNDK Modules
#-------------------------------------------------------------------------------
LOCAL_PATH
:=
$(
call my-dir
)
define
define-vndk-lib
include
$$(CLEAR_VARS)
LOCAL_MODULE
:=
$1
.
$2
LOCAL_MODULE_CLASS
:=
SHARED_LIBRARIES
LOCAL_PREBUILT_MODULE_FILE
:=
$$(
TARGET_OUT_INTERMEDIATE_LIBRARIES
)
/
$1
.so
LOCAL_STRIP_MODULE
:=
false
LOCAL_MULTILIB
:=
first
LOCAL_MODULE_TAGS
:=
optional
LOCAL_INSTALLED_MODULE_STEM
:=
$1
.so
LOCAL_MODULE_SUFFIX
:=
.so
LOCAL_MODULE_RELATIVE_PATH
:=
$3
LOCAL_VENDOR_MODULE
:=
$4
include
$$(BUILD_PREBUILT)
ifneq
($$(TARGET_2ND_ARCH),)
ifneq
($$(TARGET_TRANSLATE_2ND_ARCH),true)
include
$$(CLEAR_VARS)
LOCAL_MODULE
:=
$1
.
$2
LOCAL_MODULE_CLASS
:=
SHARED_LIBRARIES
LOCAL_PREBUILT_MODULE_FILE
:=
$$($$(
TARGET_2ND_ARCH_VAR_PREFIX
)
TARGET_OUT_INTERMEDIATE_LIBRARIES
)
/
$1
.so
LOCAL_STRIP_MODULE
:=
false
LOCAL_MULTILIB
:=
32
LOCAL_MODULE_TAGS
:=
optional
LOCAL_INSTALLED_MODULE_STEM
:=
$1
.so
LOCAL_MODULE_SUFFIX
:=
.so
LOCAL_MODULE_RELATIVE_PATH
:=
$3
LOCAL_VENDOR_MODULE
:=
$4
include
$$(BUILD_PREBUILT)
endif
# TARGET_TRANSLATE_2ND_ARCH is not true
endif
# TARGET_2ND_ARCH is not empty
endef
$(
foreach
lib,
$(
VNDK_SP_LIBRARIES
)
,
\
$(
eval
$(
call define-vndk-lib,
$(
lib
)
,vndk-sp-gen,vndk-sp-28,
)))
$(
foreach
lib,
$(
VNDK_SP_EXT_LIBRARIES
)
,
\
$(
eval
$(
call define-vndk-lib,
$(
lib
)
,vndk-sp-ext-gen,vndk-sp,true
)))
$(
foreach
lib,
$(
EXTRA_VENDOR_LIBRARIES
)
,
\
$(
eval
$(
call define-vndk-lib,
$(
lib
)
,vndk-ext-gen,,true
)))
#-------------------------------------------------------------------------------
# Phony Package
#-------------------------------------------------------------------------------
include
$(CLEAR_VARS)
LOCAL_MODULE
:=
vndk-sp
LOCAL_MODULE_TAGS
:=
optional
LOCAL_REQUIRED_MODULES
:=
\
$(
addsuffix .vndk-sp-gen,
$(
VNDK_SP_LIBRARIES
))
\
$(
addsuffix .vndk-sp-ext-gen,
$(
VNDK_SP_EXT_LIBRARIES
))
\
$(
addsuffix .vndk-ext-gen,
$(
EXTRA_VENDOR_LIBRARIES
))
include
$(BUILD_PHONY_PACKAGE)
endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment