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

Issue 7740020: Refactor .gyp files: (Closed)

Created:
9 years, 4 months ago by Jakob Kummerow
Modified:
9 years, 4 months ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

Refactor .gyp files: common.gypi now contains global target defaults and is included by all .gyp files; standalone.gypi contains definitions for stand-alone v8 builds. This fixes d8 for the ARM simulator. TEST=compiles and tests pass on all platforms Committed: http://code.google.com/p/v8/source/detail?r=9019

Patch Set 1 #

Total comments: 12

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -581 lines) Patch
M Makefile View 2 chunks +5 lines, -4 lines 0 comments Download
M build/common.gypi View 1 1 chunk +214 lines, -151 lines 0 comments Download
M build/gyp_v8 View 1 chunk +2 lines, -2 lines 0 comments Download
A + build/standalone.gypi View 1 4 chunks +3 lines, -14 lines 0 comments Download
D build/v8-features.gypi View 1 chunk +0 lines, -132 lines 0 comments Download
M preparser/preparser.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M samples/samples.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/d8.gyp View 1 2 chunks +2 lines, -0 lines 0 comments Download
M test/cctest/cctest.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/gyp/v8.gyp View 1 6 chunks +4 lines, -277 lines 0 comments Download
M tools/test-wrapper-gypbuild.py View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Jakob Kummerow
PTAL. This looks huge, but the changes are actually purely mechanical: • move stand-alone build ...
9 years, 4 months ago (2011-08-25 09:36:47 UTC) #1
Yang
LGTM with comments. http://codereview.chromium.org/7740020/diff/1/build/standalone.gypi File build/standalone.gypi (right): http://codereview.chromium.org/7740020/diff/1/build/standalone.gypi#newcode58 build/standalone.gypi:58: 'v8_can_use_vfp_instructions%': 'true', You mentioned something about ...
9 years, 4 months ago (2011-08-25 11:24:03 UTC) #2
Jakob Kummerow
9 years, 4 months ago (2011-08-25 14:46:08 UTC) #3
Comments addressed, trailing whitespace fixed. Landing.

http://codereview.chromium.org/7740020/diff/1/build/standalone.gypi
File build/standalone.gypi (right):

http://codereview.chromium.org/7740020/diff/1/build/standalone.gypi#newcode58
build/standalone.gypi:58: 'v8_can_use_vfp_instructions%': 'true',
On 2011/08/25 11:24:03, Yang wrote:
> You mentioned something about this...

Done.

http://codereview.chromium.org/7740020/diff/1/build/standalone.gypi#newcode82
build/standalone.gypi:82: #'ldflags': [ '-pthread', ],
On 2011/08/25 11:24:03, Yang wrote:
> Remove this line.

Done - sort of. In reaction to your other comment, I've re-enabled this, and
removed the conditional definition below instead.

http://codereview.chromium.org/7740020/diff/1/samples/samples.gyp
File samples/samples.gyp (right):

http://codereview.chromium.org/7740020/diff/1/samples/samples.gyp#newcode43
samples/samples.gyp:43: ],
On 2011/08/25 11:24:03, Yang wrote:
> Can this be moved into common.gypi? For example under target_defaults. As far
as
> I can see this is because v8::internal::Thread is implemented with pthread on
> Linux/Mac, and is part of v8 itself, not limited to d8 or the samples or
> cctests.

Done.

http://codereview.chromium.org/7740020/diff/1/src/d8.gyp
File src/d8.gyp (right):

http://codereview.chromium.org/7740020/diff/1/src/d8.gyp#newcode80
src/d8.gyp:80: ],
On 2011/08/25 11:24:03, Yang wrote:
> Ditto.

Done.

http://codereview.chromium.org/7740020/diff/1/test/cctest/cctest.gyp
File test/cctest/cctest.gyp (right):

http://codereview.chromium.org/7740020/diff/1/test/cctest/cctest.gyp#newcode143
test/cctest/cctest.gyp:143: ],
On 2011/08/25 11:24:03, Yang wrote:
> Ditto.

Done.

http://codereview.chromium.org/7740020/diff/1/tools/gyp/v8.gyp
File tools/gyp/v8.gyp (right):

http://codereview.chromium.org/7740020/diff/1/tools/gyp/v8.gyp#newcode760
tools/gyp/v8.gyp:760: ],
On 2011/08/25 11:24:03, Yang wrote:
> Ditto.

Done.

Powered by Google App Engine
This is Rietveld 408576698