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

Issue 10054022: Added a GYP_DEFINE to add libraries to the link line. (Closed)

Created:
8 years, 8 months ago by asharif1
Modified:
8 years, 8 months ago
Reviewers:
DaveMoore, sgk
CC:
chromium-reviews, bjanakiraman1
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Added a GYP_DEFINE to add libraries to the link line. When Chrome is built with -fprofile-generate in *_extra_cflags, it needs to link against gcov. Adding -lgcov to the link line doesn't help because it occurs before -Wl,--start-group. This flag correctly adds the required library if used like the test case described below. BUG=102550 TEST=GYP_DEFINES="debug_extra_cflags=-fprofile-generate libraries_for_target=-lgcov" ./build/gyp_chromium make -j5 chrome # passes. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132061

Patch Set 1 #

Patch Set 2 : Initialized libraries_for_target. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M build/common.gypi View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
asharif1
PTAL.
8 years, 8 months ago (2012-04-11 19:16:56 UTC) #1
DaveMoore
lgtm
8 years, 8 months ago (2012-04-12 14:46:19 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asharif@chromium.org/10054022/4001
8 years, 8 months ago (2012-04-12 18:32:24 UTC) #3
commit-bot: I haz the power
8 years, 8 months ago (2012-04-12 21:24:38 UTC) #4
Change committed as 132061

Powered by Google App Engine
This is Rietveld 408576698