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

Issue 10159006: Split test_support_common into test_support_common[_base] (Closed)

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

Description

Split test_support_common into test_support_common[_base] test_support_common depends on liballocator.a, which contains tcmalloc. It cannot be used in .so files. I split this library into two parts: one that doesn't depend on tcmalloc and the original one (which does depend on tcmalloc). _pyautolib.so links against test_support_common_base which doens't depend on tcmalloc. This way it can be dlopen()'d without any problems. BUG=none TEST=Rebuilt chrome + _pyautolib.so and ran tests to make sure _pyautolib.so works. Also ran trybots.

Patch Set 1 #

Patch Set 2 : Removed commented lines. #

Patch Set 3 : . #

Patch Set 4 : Removed double inclusions. #

Patch Set 5 : Added back dependencies. #

Patch Set 6 : Added empty file for mac. #

Patch Set 7 : Added empty file. #

Patch Set 8 : Fixed path #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -15 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 5 chunks +112 lines, -15 lines 3 comments Download
A chrome/empty.cc View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
asharif1
This is an alternative to http://codereview.chromium.org/10035012/. I refactored out all source code from test_support_common and ...
8 years, 8 months ago (2012-04-20 20:03:37 UTC) #1
Nirnimesh
http://codereview.chromium.org/10159006/diff/17003/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/10159006/diff/17003/chrome/chrome_tests.gypi#newcode40 chrome/chrome_tests.gypi:40: 'chrome_resources.gyp:chrome_strings', please keep this list sorted http://codereview.chromium.org/10159006/diff/17003/chrome/chrome_tests.gypi#newcode69 chrome/chrome_tests.gypi:69: # ...
8 years, 8 months ago (2012-04-20 20:43:13 UTC) #2
asharif1
On 2012/04/20 20:43:13, Nirnimesh wrote: > http://codereview.chromium.org/10159006/diff/17003/chrome/chrome_tests.gypi > File chrome/chrome_tests.gypi (right): > > http://codereview.chromium.org/10159006/diff/17003/chrome/chrome_tests.gypi#newcode40 > ...
8 years, 8 months ago (2012-04-20 22:19:50 UTC) #3
asharif1
http://codereview.chromium.org/10159006/diff/17003/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/10159006/diff/17003/chrome/chrome_tests.gypi#newcode69 chrome/chrome_tests.gypi:69: # copied from skia. On 2012/04/20 20:43:14, Nirnimesh wrote: ...
8 years, 8 months ago (2012-04-20 22:20:00 UTC) #4
asharif1
7 years, 8 months ago (2013-04-23 00:07:26 UTC) #5
On 2012/04/20 22:20:00, asharif1 wrote:
> http://codereview.chromium.org/10159006/diff/17003/chrome/chrome_tests.gypi
> File chrome/chrome_tests.gypi (right):
> 
>
http://codereview.chromium.org/10159006/diff/17003/chrome/chrome_tests.gypi#n...
> chrome/chrome_tests.gypi:69: # copied from skia.
> On 2012/04/20 20:43:14, Nirnimesh wrote:
> > why is skia stuff necessary?
> 
> It doesn't build without it since I removed skia from the deps (skia pulls in
> tcmalloc).

I worked around this, so closing this issue for now.

Powered by Google App Engine
This is Rietveld 408576698