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

Issue 1580643002: Use PKG_CONFIG_LIBDIR to force pkg-config to use sysroot only (Closed)

Created:
4 years, 11 months ago by Sam Clegg
Modified:
4 years, 11 months ago
CC:
chromium-reviews, Raphael Kubo da Costa (rakuco)
Base URL:
https://chromium.googlesource.com/chromium/src.git@refactor_pkg_config
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use PKG_CONFIG_LIBDIR to force pkg-config to use sysroot only Previously we were using PKG_CONFIG_PATH to tell pkg-config to search the sysroot directories. However the default libpath is always added to this path, so pkg-config would fall back to looking in the system directories. Using PKG_CONFIG_LIBDIR instead overrides the default libdir which makes the build more hermetic and forces the sysroot to provide all the required .pc files. Committed: https://crrev.com/4d4a9acde47d5e955c12eb0bf3feaa800c2a6f55 Cr-Commit-Position: refs/heads/master@{#369224}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : ; #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -36 lines) Patch
M build/config/linux/pkg-config.py View 1 2 3 4 chunks +28 lines, -23 lines 0 comments Download
M build/linux/pkg-config-wrapper View 3 chunks +6 lines, -9 lines 0 comments Download
M build/linux/sysroot_scripts/sysroot-creator.sh View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 34 (16 generated)
Sam Clegg
4 years, 11 months ago (2016-01-12 02:14:27 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580643002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580643002/1
4 years, 11 months ago (2016-01-12 02:15:35 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/6608) android_chromium_gn_compile_rel on ...
4 years, 11 months ago (2016-01-12 02:19:31 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580643002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580643002/40001
4 years, 11 months ago (2016-01-12 18:12:10 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-12 18:41:49 UTC) #11
Sam Clegg
gentle ping..
4 years, 11 months ago (2016-01-12 22:53:09 UTC) #12
Lei Zhang
lgtm https://codereview.chromium.org/1580643002/diff/40001/build/config/linux/pkg-config.py File build/config/linux/pkg-config.py (right): https://codereview.chromium.org/1580643002/diff/40001/build/config/linux/pkg-config.py#newcode58 build/config/linux/pkg-config.py:58: # Add the sysroot path to the environment's ...
4 years, 11 months ago (2016-01-12 23:01:50 UTC) #14
Sam Clegg
https://codereview.chromium.org/1580643002/diff/40001/build/config/linux/pkg-config.py File build/config/linux/pkg-config.py (right): https://codereview.chromium.org/1580643002/diff/40001/build/config/linux/pkg-config.py#newcode58 build/config/linux/pkg-config.py:58: # Add the sysroot path to the environment's PKG_CONFIG_LIBDIR ...
4 years, 11 months ago (2016-01-12 23:25:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580643002/60001
4 years, 11 months ago (2016-01-12 23:25:36 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/134753)
4 years, 11 months ago (2016-01-12 23:57:56 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580643002/60001
4 years, 11 months ago (2016-01-13 00:06:25 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/134770)
4 years, 11 months ago (2016-01-13 00:18:07 UTC) #24
Sam Clegg
+scottmg for build/config/OWNERS
4 years, 11 months ago (2016-01-13 00:46:53 UTC) #26
scottmg
rs lgtm
4 years, 11 months ago (2016-01-13 02:50:44 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580643002/60001
4 years, 11 months ago (2016-01-13 18:33:18 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-13 18:40:25 UTC) #31
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/4d4a9acde47d5e955c12eb0bf3feaa800c2a6f55 Cr-Commit-Position: refs/heads/master@{#369224}
4 years, 11 months ago (2016-01-13 18:41:30 UTC) #33
Dirk Pranke
4 years, 11 months ago (2016-01-26 01:31:35 UTC) #34
Message was sent while issue was closed.
lgtm (belatedly)

Powered by Google App Engine
This is Rietveld 408576698