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

Issue 9004001: Fix build so we can make a Windows SDK! (Closed)

Created:
9 years ago by Emily Fortuna
Modified:
9 years ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix build so we can make a Windows SDK! Committed: https://code.google.com/p/dart/source/detail?r=2612

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -74 lines) Patch
M dart.gyp View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
M frog/dart-frog.gyp View 1 2 3 4 2 chunks +11 lines, -2 lines 0 comments Download
A frog/frogc.bat View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
A frog/scripts/list_frog_dependencies.py View 1 chunk +14 lines, -0 lines 0 comments Download
M tools/build.py View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M tools/create_sdk.py View 1 2 3 4 5 11 chunks +20 lines, -71 lines 0 comments Download
M tools/utils.py View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Emily Fortuna
9 years ago (2011-12-20 01:44:07 UTC) #1
dgrove
http://codereview.chromium.org/9004001/diff/4008/dart.gyp File dart.gyp (right): http://codereview.chromium.org/9004001/diff/4008/dart.gyp#newcode8 dart.gyp:8: 'msvs_cygwin_dirs': ['<(cygwin_dir)'], not sure where these are being used. ...
9 years ago (2011-12-20 01:53:29 UTC) #2
Emily Fortuna
ptal http://codereview.chromium.org/9004001/diff/4008/dart.gyp File dart.gyp (right): http://codereview.chromium.org/9004001/diff/4008/dart.gyp#newcode8 dart.gyp:8: 'msvs_cygwin_dirs': ['<(cygwin_dir)'], vcproj file. I added a comment. ...
9 years ago (2011-12-20 02:00:19 UTC) #3
Emily Fortuna
ptal
9 years ago (2011-12-20 02:00:22 UTC) #4
dgrove
lgtm
9 years ago (2011-12-20 02:03:35 UTC) #5
Jennifer Messerly
9 years ago (2011-12-20 02:09:39 UTC) #6
lgtm

http://codereview.chromium.org/9004001/diff/7001/frog/dart-frog.gyp
File frog/dart-frog.gyp (right):

http://codereview.chromium.org/9004001/diff/7001/frog/dart-frog.gyp#newcode20
frog/dart-frog.gyp:20: '<!@(["python", "scripts/list_frog_dependencies.py"])'
VM is using this syntax to set conditional variables (from vm.gypi). Might be
nice to do something similar. Anyway, since the Python script works, not a big
deal :)

      'conditions': [
        ['OS=="linux"', {
          'link_settings': {
            'libraries': [
              '-lpthread',
              '-lrt',
              '-lcrypto',
            ],
          },
        }],
        ['OS=="mac"', {
          'link_settings': {
            'xcode_settings': {
              'OTHER_LDFLAGS': [
                '-lcrypto',
              ],
            },
          },
        }],
        ['OS=="win"', {
          'sources/' : [
            ['exclude', 'gdbjit.cc'],
          ],
          'link_settings': {
            'libraries': [ '-llibeay32MT.lib' ],
          },
       }]],

http://codereview.chromium.org/9004001/diff/7001/frog/frogc.bat
File frog/frogc.bat (right):

http://codereview.chromium.org/9004001/diff/7001/frog/frogc.bat#newcode9
frog/frogc.bat:9: REM If anyone has a prettier way to truncate after the last \,
I'm all ears.
Usually Windows programs ignore duplicated \\, similar to *nix systems. e.g. on
Mac: 
~/dart/dart/frog$ ls lib//////node
node.dart

so it might be that we need Frog and/or VM to have more graceful path handling.

Powered by Google App Engine
This is Rietveld 408576698