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

Issue 9599014: Add native extensions for the Dart shell to the MacOs platform (Closed)

Created:
8 years, 9 months ago by Bill Hesse
Modified:
8 years, 9 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add native extensions for the Dart shell to the MacOs platform BUG= TEST= This CL is superceded by https://chromiumcodereview.appspot.com/9465004/, and so is closed without committing.

Patch Set 1 #

Total comments: 3

Patch Set 2 : Split posix files into identical macos and linux files. #

Patch Set 3 : Remove stray file #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -5 lines) Patch
M runtime/bin/bin.gypi View 1 2 chunks +6 lines, -2 lines 0 comments Download
M runtime/bin/extensions_macos.cc View 1 1 chunk +34 lines, -3 lines 1 comment Download
A runtime/bin/test_extension_macos.cc View 1 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Bill Hesse
I found out the gyp settings to make the project build (the command line file ...
8 years, 9 months ago (2012-03-05 17:21:36 UTC) #1
Søren Gjesse
lgtm
8 years, 9 months ago (2012-03-05 20:55:19 UTC) #2
Ivan Posva
Please refrain from committing this. Apart from the fact that combining Linux and Mac OS ...
8 years, 9 months ago (2012-03-05 23:07:47 UTC) #3
Mads Ager (google)
There should be only one test-extension.cc file. As far as I can tell, the only ...
8 years, 9 months ago (2012-03-06 07:33:48 UTC) #4
Mads Ager (google)
https://chromiumcodereview.appspot.com/9599014/diff/1/runtime/bin/bin.gypi File runtime/bin/bin.gypi (right): https://chromiumcodereview.appspot.com/9599014/diff/1/runtime/bin/bin.gypi#newcode433 runtime/bin/bin.gypi:433: 'test_extension_posix.cc', This should just be test_extension.cc and everything needed ...
8 years, 9 months ago (2012-03-06 07:39:50 UTC) #5
Bill Hesse
All comments addressed. The posix files are split into linux and macos files, even when ...
8 years, 9 months ago (2012-03-06 17:18:24 UTC) #6
siva
8 years, 9 months ago (2012-03-07 00:14:49 UTC) #7
https://chromiumcodereview.appspot.com/9599014/diff/3002/runtime/bin/extensio...
File runtime/bin/extensions_macos.cc (right):

https://chromiumcodereview.appspot.com/9599014/diff/3002/runtime/bin/extensio...
runtime/bin/extensions_macos.cc:44: return (*fn)(parent_library);
The API could be factored as:

void* Extensions::LoadLibrary(const char* extension_name);
void* Extensions::ResolveSymbol(void* library_handle, const char* name, char**
error);

Then only the implementation of these functions would be platform specific and
the rest of the code could be in a generic file.

Powered by Google App Engine
This is Rietveld 408576698