Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Issue 116803003: Add support for sysroots to GN's pkg-config. (Closed)

Created:
7 years ago by brettw
Modified:
7 years ago
Reviewers:
piman
CC:
chromium-reviews
Visibility:
Public.

Description

Add support for sysroots to GN's pkg-config. This adds support similar to the GYP scripts for running pkg-config in the presence of sysroots. It also adds the linker flags by calling the existing horrible sysroot_ld_path.sh shell script that extracts stuff from the sysroot's configuration. With this change, official 32-bit linux builds work in the checked in 32-bit Debian sysroots. R=piman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241397

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -12 lines) Patch
M build/config/compiler/BUILD.gn View 2 chunks +7 lines, -1 line 0 comments Download
M build/config/linux/pkg-config.py View 5 chunks +92 lines, -10 lines 0 comments Download
M build/config/linux/pkg_config.gni View 2 chunks +9 lines, -1 line 0 comments Download
A build/config/linux/sysroot_ld_path.py View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
brettw
7 years ago (2013-12-16 23:50:53 UTC) #1
piman
lgtm
7 years ago (2013-12-16 23:55:58 UTC) #2
brettw
7 years ago (2013-12-17 22:54:49 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r241397 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698