DescriptionAdded 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. #Messages
Total messages: 4 (0 generated)
|