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

Issue 2818523002: Introduce host_pkg_config variable for cross-compilation (Closed)

Created:
3 years, 8 months ago by richard.townsend
Modified:
3 years, 8 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce host_pkg_config variable for cross-compilation When cross-compiling in the ChromiumOS chroot, it's possible for host-based compiled_actions targets to pick up libraries in the board sysroot which causes linker warnings (converted to errors via --fatal-warnings). To address this, introduce a host_pkg_config variable, which can override pkg_config when building tools used on the host as part of the build process. BUG=710841 Review-Url: https://codereview.chromium.org/2818523002 Cr-Commit-Position: refs/heads/master@{#466947} Committed: https://chromium.googlesource.com/chromium/src/+/0dbb630385d7bd387348b00437e72b611287cb49

Patch Set 1 #

Patch Set 2 : Fix native Linux builds #

Patch Set 3 : Address incorrect sysroot handling #

Total comments: 4

Patch Set 4 : Cleanup of patchset #3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M build/config/linux/pkg_config.gni View 1 2 3 2 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 34 (25 generated)
richard.townsend
This patch is ready to review, it maintains the existing pkg_config behaviour across all platforms ...
3 years, 8 months ago (2017-04-20 23:19:47 UTC) #17
vapier
seems ok, but i'm not a GN expert at all
3 years, 8 months ago (2017-04-20 23:27:38 UTC) #18
Dirk Pranke
Basically looks fine. The comments are slightly more than nits, but only slightly :). https://codereview.chromium.org/2818523002/diff/60001/build/config/linux/pkg_config.gni ...
3 years, 8 months ago (2017-04-21 00:25:25 UTC) #19
richard.townsend
Awaiting someone with permission to check the CQ bit on patchset #4. https://codereview.chromium.org/2818523002/diff/60001/build/config/linux/pkg_config.gni File build/config/linux/pkg_config.gni ...
3 years, 8 months ago (2017-04-21 17:08:03 UTC) #20
Dirk Pranke
lgtm, thanks!
3 years, 8 months ago (2017-04-21 18:10:58 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2818523002/80001
3 years, 8 months ago (2017-04-24 10:37:06 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/437271)
3 years, 8 months ago (2017-04-24 13:21:33 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2818523002/80001
3 years, 8 months ago (2017-04-25 10:44:23 UTC) #31
commit-bot: I haz the power
3 years, 8 months ago (2017-04-25 11:58:56 UTC) #34
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/0dbb630385d7bd387348b00437e7...

Powered by Google App Engine
This is Rietveld 408576698