New issue
Advanced search Search tips

Issue 874583 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Feature
DFM
Proj-VR
Proj-XR
Proj-XR-VR

Blocking:
issue 874564
issue 921663



Sign in to add a comment

Export symbols from libraries required by feature modules

Project Member Reported by cjgrant@chromium.org, Aug 15

Issue description

To support a VR UI native code module, methods from base, skia and other libraries must be exported, the same way they are for component builds.

In order to minimize the impact on APK size, the build will dynamically generate a linker script that will hide unneeded methods at link time.
 

Comment 1 Deleted

Cc: -torne@chromium.org
Summary: Export symbols from libraries required by feature modules (was: Export symbols from required libraries of feature module support is enabled)
Status: Started (was: Assigned)
In addition to the initial batch of export header adjustments, the following is necessary:

- Edits to the vector icon header macros and/or some vector icon sets to export those symbols.
- A change within the Skia repo to land the FEATURE_MODULES conditionals there.
Project Member

Comment 6 by bugdroid1@chromium.org, Sep 5

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fb1cbb9d8c62ff928a560dd3718f3f1b6fde36f9

commit fb1cbb9d8c62ff928a560dd3718f3f1b6fde36f9
Author: Christopher Grant <cjgrant@chromium.org>
Date: Tue Sep 04 17:41:42 2018

Allow vector icons to be exported for use by feature modules.

If the feature is enabled, this change allows a subset of vector icons to be
visible, such that the linker can expose them to libraries outside the base
.so.

Bug: 874583
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:linux_vr;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: I01276a566efc189fd7ce2cf9082eef90ec59773f
Reviewed-on: https://chromium-review.googlesource.com/1197354
Reviewed-by: Aldo Culquicondor <acondor@chromium.org>
Reviewed-by: Evan Stade <estade@chromium.org>
Commit-Queue: Christopher Grant <cjgrant@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588578}
[modify] https://crrev.com/fb1cbb9d8c62ff928a560dd3718f3f1b6fde36f9/chrome/browser/vr/ui_scene_creator.cc
[modify] https://crrev.com/fb1cbb9d8c62ff928a560dd3718f3f1b6fde36f9/chrome/browser/vr/vector_icons/BUILD.gn
[modify] https://crrev.com/fb1cbb9d8c62ff928a560dd3718f3f1b6fde36f9/chrome/browser/vr/vector_icons/vector_icons.cc.template
[modify] https://crrev.com/fb1cbb9d8c62ff928a560dd3718f3f1b6fde36f9/chrome/browser/vr/vector_icons/vector_icons.h.template
[modify] https://crrev.com/fb1cbb9d8c62ff928a560dd3718f3f1b6fde36f9/components/vector_icons/BUILD.gn
[modify] https://crrev.com/fb1cbb9d8c62ff928a560dd3718f3f1b6fde36f9/components/vector_icons/cc_macros.h
[modify] https://crrev.com/fb1cbb9d8c62ff928a560dd3718f3f1b6fde36f9/components/vector_icons/vector_icons.h.template

Labels: DFM
Blocking: 921663

Sign in to add a comment