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

Issue 2285223003: Fix native extension lookup (Closed)

Created:
4 years, 3 months ago by zra
Modified:
4 years, 3 months ago
Reviewers:
Bill Hesse, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix native extension lookup This CL allows native extension lookup to defer to the platform's library lookup (e.g. dlopen) when the library cannot be found next to the importing Dart library. It also allows dart-ext: to accept an absolute path to the native library. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/b990bc37948b750c4f6985a8575adae4aaee1dee

Patch Set 1 #

Patch Set 2 : Add StringUtils::StrNDup because Windows doesn't have strndup #

Patch Set 3 : Add back test for '/' #

Total comments: 4

Patch Set 4 : Update CHANGELOG #

Patch Set 5 : Address comments #

Patch Set 6 : Update test for error message change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -53 lines) Patch
M CHANGELOG.md View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/bin/extensions.h View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/bin/extensions.cc View 1 2 chunks +88 lines, -28 lines 0 comments Download
M runtime/bin/loader.cc View 1 2 3 4 4 chunks +8 lines, -10 lines 0 comments Download
M runtime/bin/utils.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/bin/utils_android.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/bin/utils_fuchsia.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/bin/utils_linux.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/bin/utils_macos.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/bin/utils_win.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download
M tests/standalone/io/test_extension_fail_test.dart View 1 2 3 4 5 1 chunk +29 lines, -11 lines 0 comments Download
A + tests/standalone/io/test_relative_extension.dart View 1 chunk +2 lines, -2 lines 0 comments Download
A + tests/standalone/io/test_relative_extension_fail_tester.dart View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
zra
4 years, 3 months ago (2016-08-29 19:56:47 UTC) #2
siva
+whesse We need to figure out how to change the native extensions documentation to reflect ...
4 years, 3 months ago (2016-08-30 01:23:00 UTC) #4
zra
On 2016/08/30 01:23:00, siva wrote: > We need to figure out how to change the ...
4 years, 3 months ago (2016-08-30 02:59:02 UTC) #5
zra
I've updated the change log and started a pull request for the doc change here: ...
4 years, 3 months ago (2016-08-30 16:05:18 UTC) #6
zra
4 years, 3 months ago (2016-08-30 16:31:52 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
b990bc37948b750c4f6985a8575adae4aaee1dee (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698