New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 755453 link

Starred by 0 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

virtual/target-toolchain-sysroot: new package for controlling board sysroots

Project Member Reported by vapier@chromium.org, Aug 15 2017

Issue description

atm, the sysroot we ship for boards is the dep tree of chrome.  this is insufficient for many people, so we should look at making this more flexible.

proposal:
- add a virtual/target-toolchain-sysroot which depends only on virtual/target-chromium-os-toolchain-sysroot
- add a virtual/target-chromium-os-toolchain-sysroot which depends on just chromeos-base/chromeos-chrome to start with
- throw in other random libs we've had people ask for
- add a new cbuildbot stage for generating this sysroot
- update chrome-sdk to use this new sysroot
- drop old chromeos-chrome sysroot
- drop cbuildbot stage which generates the chromeos-chrome sysroot (_BuildAndArchiveChromeSysroot)
 
Cc: llozano@chromium.org bcf@chromium.org
Can we modify cros_setup_toolchains.py instead?

--- a/scripts/cros_setup_toolchains.py
+++ b/scripts/cros_setup_toolchains.py
@@ -899,7 +899,7 @@ def _GetFilesForTarget(target, root='/'):
   # Find all the files owned by the packages for this target.
   for pkg in GetTargetPackages(target):
     # Ignore packages that are part of the target sysroot.
-    if pkg in ('kernel', 'libc'):
+    if pkg in ('kernel'):
       continue
 
     # Skip Go compiler from redistributable packages.

Comment 2 by vapier@chromium.org, Aug 17 2017

that's a sep request ( issue 755693 ).  even if we implement that, we'd still want this feature.  i've had multiple requests from teams/people who wish the standalone sysroot had more stuff.
Project Member

Comment 3 by sheriffbot@chromium.org, Aug 20

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: Infra>Client>ChromeOS>Build
Status: Available (was: Untriaged)

Sign in to add a comment