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

Issue 6904109: linux: components support for base/ (Closed)

Created:
9 years, 8 months ago by Evan Martin
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, jshin+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

linux: components support for base/ This builds base_unittests using libbase as a component. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83583

Patch Set 1 #

Total comments: 8

Patch Set 2 : fix #

Total comments: 2

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -55 lines) Patch
M base/atomicops_internals_x86_gcc.h View 3 chunks +7 lines, -3 lines 0 comments Download
M base/base.gypi View 1 chunk +18 lines, -14 lines 0 comments Download
M base/base_api.h View 1 chunk +5 lines, -1 line 0 comments Download
M base/file_descriptor_shuffle.h View 3 chunks +7 lines, -5 lines 0 comments Download
M base/file_util.h View 1 chunk +4 lines, -3 lines 0 comments Download
M base/logging.h View 2 chunks +2 lines, -2 lines 0 comments Download
M base/message_pump_libevent.h View 1 chunk +1 line, -1 line 0 comments Download
M base/nix/xdg_util.h View 4 chunks +10 lines, -8 lines 0 comments Download
M base/process_util.h View 6 chunks +14 lines, -14 lines 0 comments Download
M base/string16.h View 1 3 chunks +4 lines, -2 lines 0 comments Download
M base/synchronization/lock_impl.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M base/threading/worker_pool_posix.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Evan Martin
9 years, 8 months ago (2011-04-28 23:08:13 UTC) #1
Lei Zhang
I defer to rvargas. http://codereview.chromium.org/6904109/diff/1/base/base.gypi File base/base.gypi (right): http://codereview.chromium.org/6904109/diff/1/base/base.gypi#newcode544 base/base.gypi:544: 'direct_dependent_settings': { Do we need ...
9 years, 8 months ago (2011-04-28 23:21:45 UTC) #2
Evan Martin
I included rvargas more as an FYI. With that in mind, do you think I ...
9 years, 8 months ago (2011-04-28 23:24:52 UTC) #3
rvargas (doing something else)
http://codereview.chromium.org/6904109/diff/1/base/synchronization/lock_impl.h File base/synchronization/lock_impl.h (right): http://codereview.chromium.org/6904109/diff/1/base/synchronization/lock_impl.h#newcode10 base/synchronization/lock_impl.h:10: #include "base/basictypes.h" I think we still want these to ...
9 years, 8 months ago (2011-04-28 23:29:43 UTC) #4
Evan Martin
PTAL http://codereview.chromium.org/6904109/diff/1/base/synchronization/lock_impl.h File base/synchronization/lock_impl.h (right): http://codereview.chromium.org/6904109/diff/1/base/synchronization/lock_impl.h#newcode10 base/synchronization/lock_impl.h:10: #include "base/basictypes.h" On 2011/04/28 23:29:43, rvargas wrote: > ...
9 years, 8 months ago (2011-04-28 23:39:40 UTC) #5
rvargas (doing something else)
9 years, 8 months ago (2011-04-28 23:45:31 UTC) #6
LGTM

http://codereview.chromium.org/6904109/diff/1/base/synchronization/lock_impl.h
File base/synchronization/lock_impl.h (right):

http://codereview.chromium.org/6904109/diff/1/base/synchronization/lock_impl....
base/synchronization/lock_impl.h:10: #include "base/basictypes.h"
On 2011/04/28 23:39:40, Evan Martin wrote:
> On 2011/04/28 23:29:43, rvargas wrote:
> > I think we still want these to go after the os dependent block given that
> > <windows.h> is included there. Granted, there should not be an issue with
what
> > we have here, but the next chromium include added may have issues.
> 
> There was some thread on chromium-dev where we decided to always put these
> before OS-specific headers, so I think we're ok, but I changed it back just in
> case because this isn't relevant to my change.

Yes, that same thread mentioned this exception (although it is not in the style
guide :( ).

Powered by Google App Engine
This is Rietveld 408576698