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

Issue 652166: Solaris: various edits towards compiling Chromium on Solaris. Changed __Solar... (Closed)

Created:
10 years, 10 months ago by jchoi42
Modified:
9 years, 7 months ago
CC:
chromium-reviews, brettw+cc_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

Solaris: various edits towards compiling Chromium on Solaris. Changed __Solaris__ to __sun. Defined NAME_MAX as MAXNAMLEN for systems where it is undefined. BUG=30101 TEST=compiles Patch by James Choi <jchoi42 at pha.jhu.edu> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43297

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 5

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

Total comments: 3

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 12

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Total comments: 2

Patch Set 12 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -9 lines) Patch
M base/base.gypi View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +10 lines, -2 lines 0 comments Download
M base/data_pack.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -2 lines 0 comments Download
M base/float_util.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M base/process_util.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M base/third_party/nspr/prcpucfg.h View 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M build/build_config.h View 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
jchoi42
gcl upload prints this- ** Presubmit Messages ** Found a bad license header in these ...
10 years, 10 months ago (2010-02-23 22:55:10 UTC) #1
jchoi42
Blast from the past- I didn't realize this was still open! Anything, guys? :)
10 years, 9 months ago (2010-02-28 20:03:31 UTC) #2
brettw at google
On Sun, Feb 28, 2010 at 12:03 PM, <electricmonopole@gmail.com> wrote: > Blast from the past- ...
10 years, 9 months ago (2010-03-01 05:28:37 UTC) #3
Evan Martin
http://codereview.chromium.org/652166/diff/2001/3009 File base/float_util.h (right): http://codereview.chromium.org/652166/diff/2001/3009#newcode15 base/float_util.h:15: # define finite(val) (val <= std::numeric_limits<double>::max()) Better than an ...
10 years, 9 months ago (2010-03-01 07:16:56 UTC) #4
jchoi42
> However, this thread argues that MAXNAMLEN is obsolete: > http://www.mail-archive.com/bugs%40crater.dragonflybsd.org/msg03065.html > > Is NAME_MAX ...
10 years, 9 months ago (2010-03-01 17:43:43 UTC) #5
Evan Martin
http://codereview.chromium.org/652166/diff/2010/2014 File build/common.gypi (right): http://codereview.chromium.org/652166/diff/2010/2014#newcode719 build/common.gypi:719: 'conditions': [ There looks to be a second 'conditions' ...
10 years, 9 months ago (2010-03-01 17:48:59 UTC) #6
Evan Martin
On 2010/03/01 17:43:43, jchoi42 wrote: > > Is NAME_MAX really not available? > > No, ...
10 years, 9 months ago (2010-03-01 17:54:35 UTC) #7
jchoi42
Done. Though the changes to build/common.gypi made no difference :( On 2010/03/01 17:54:35, Evan Martin ...
10 years, 9 months ago (2010-03-03 17:29:52 UTC) #8
jchoi42
Anyone? On 2010/03/03 17:29:52, jchoi42 wrote: > Done. Though the changes to build/common.gypi made no ...
10 years, 9 months ago (2010-03-24 13:59:53 UTC) #9
Paweł Hajdan Jr.
http://codereview.chromium.org/652166/diff/2026/2032 File base/data_pack.cc (right): http://codereview.chromium.org/652166/diff/2026/2032#newcode26 base/data_pack.cc:26: #pragma pack(1) I think this logic should be extracted ...
10 years, 9 months ago (2010-03-24 14:06:27 UTC) #10
jchoi42
> http://codereview.chromium.org/652166/diff/2026/2032#newcode26 > base/data_pack.cc:26: #pragma pack(1) > I think this logic should be extracted to ...
10 years, 9 months ago (2010-03-24 15:01:05 UTC) #11
Paweł Hajdan Jr.
On 2010/03/24 15:01:05, jchoi42 wrote: > > http://codereview.chromium.org/652166/diff/2026/2032#newcode26 > > base/data_pack.cc:26: #pragma pack(1) > > ...
10 years, 9 months ago (2010-03-24 16:41:39 UTC) #12
jchoi42
Ok, adding Mark here for the __init__.py issue. Moved the pragma bit out to base/compiler_specific.h ...
10 years, 9 months ago (2010-03-24 17:30:37 UTC) #13
Mark Mentovai
Check out the GYP trunk according to these instructions: http://code.google.com/p/gyp/source/browse/ You can modify __init__.py there, ...
10 years, 9 months ago (2010-03-24 17:34:09 UTC) #14
Mark Mentovai
I wrote: > Check out the GYP trunk according to these instructions: > > http://code.google.com/p/gyp/source/browse/ ...
10 years, 9 months ago (2010-03-24 17:35:06 UTC) #15
Evan Martin
http://codereview.chromium.org/652166/diff/22001/23007 File base/base.gypi (right): http://codereview.chromium.org/652166/diff/22001/23007#newcode599 base/base.gypi:599: # 'cflags': [ '-oohfhjdhfksfkjk'], probably didn't intend to include ...
10 years, 9 months ago (2010-03-24 21:06:41 UTC) #16
Mark Mentovai
I’d look some of these up myself, but I don’t have access to a Solaris ...
10 years, 9 months ago (2010-03-24 21:16:08 UTC) #17
Evan Martin
http://codereview.chromium.org/652166/diff/22001/23004 File build/linux/dump_app_syms (right): http://codereview.chromium.org/652166/diff/22001/23004#newcode51 build/linux/dump_app_syms:51: GNU_SED="/usr/gnu/bin/sed" On 2010/03/24 21:16:08, Mark Mentovai wrote: > We ...
10 years, 9 months ago (2010-03-24 21:21:44 UTC) #18
jchoi42
> http://codereview.chromium.org/652166/diff/22001/23007#newcode599 > base/base.gypi:599: # 'cflags': [ '-oohfhjdhfksfkjk'], > probably didn't intend to include this? ...
10 years, 9 months ago (2010-03-25 15:58:33 UTC) #19
jchoi42
> http://codereview.chromium.org/652166/diff/22001/23009#newcode101 > base/compiler_specific.h:101: #define PRAGMA_PUSH _Pragma ( "pack(1)" ) > Are you using gcc ...
10 years, 9 months ago (2010-03-25 16:03:45 UTC) #20
Mark Mentovai
electricmonopole@gmail.com wrote: >> http://codereview.chromium.org/652166/diff/22001/23009#newcode101 >> base/compiler_specific.h:101: #define PRAGMA_PUSH _Pragma ( "pack(1)" ) >> Are you ...
10 years, 9 months ago (2010-03-26 16:40:08 UTC) #21
Evan Martin
On Fri, Mar 26, 2010 at 9:39 AM, Mark Mentovai <mark@chromium.org> wrote: > electricmonopole@gmail.com wrote: ...
10 years, 9 months ago (2010-03-26 16:43:36 UTC) #22
Mark Mentovai
Evan Martin wrote: > On my 64-bit system, it seems we don't need struct packing ...
10 years, 9 months ago (2010-03-26 16:47:02 UTC) #23
Evan Martin
On Fri, Mar 26, 2010 at 9:46 AM, Mark Mentovai <mark@chromium.org> wrote: > Evan Martin ...
10 years, 9 months ago (2010-03-26 16:52:22 UTC) #24
Mark Mentovai
Evan Martin wrote: > For the one struct that uses this, it's all 32-bit fields. ...
10 years, 9 months ago (2010-03-26 16:54:33 UTC) #25
jchoi42
Did one of you guys want to edit the file, or should I? In the ...
10 years, 8 months ago (2010-03-31 15:04:02 UTC) #26
Evan Martin
On 2010/03/31 15:04:02, jchoi42 wrote: > Did one of you guys want to edit the ...
10 years, 8 months ago (2010-03-31 15:56:34 UTC) #27
jchoi42
There is already a line COMPILE_ASSERT(sizeof(DataPackEntry) == 12, size_of_header_must_be_twelve); in base/data_pack.cc. Is this what you ...
10 years, 8 months ago (2010-03-31 16:09:37 UTC) #28
Evan Martin
+erg, who wrote the code Ah, we do already check! Elliot, did you add the ...
10 years, 8 months ago (2010-03-31 16:16:46 UTC) #29
Evan Martin
Ok, so it then sounds like we can remove the pack and let the compile_assert ...
10 years, 8 months ago (2010-03-31 16:45:53 UTC) #30
jchoi42
Removed build/linux/dump_app_syms as it has been reworked by evmar to not use sed -i :)
10 years, 8 months ago (2010-03-31 16:52:02 UTC) #31
jchoi42
Removed base/compiler_specific.h and modified base/data_pack.cc to not use the push/pop pragma packing, as described above.
10 years, 8 months ago (2010-03-31 20:21:56 UTC) #32
Evan Martin
LGTM, a few last fixes http://codereview.chromium.org/652166/diff/59001/60003 File build/common.gypi (right): http://codereview.chromium.org/652166/diff/59001/60003#newcode730 build/common.gypi:730: #'-fvisibility-inlines-hidden', This can't be ...
10 years, 8 months ago (2010-03-31 20:36:58 UTC) #33
jchoi42
> http://codereview.chromium.org/652166/diff/59001/60003#newcode1177 > build/common.gypi:1177: # Disable native client on FreeBSD/OpenBSD for now > this comment ...
10 years, 8 months ago (2010-03-31 20:59:17 UTC) #34
Evan Martin
On 2010/03/31 20:59:17, jchoi42 wrote: > > http://codereview.chromium.org/652166/diff/59001/60003#newcode1177 > > build/common.gypi:1177: # Disable native client ...
10 years, 8 months ago (2010-03-31 21:02:51 UTC) #35
jchoi42
10 years, 8 months ago (2010-03-31 21:24:24 UTC) #36
done!

Powered by Google App Engine
This is Rietveld 408576698