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

Unified Diff: tools/patch_sdk.dart

Issue 2580783002: Do not generate a duplicate ExternalName class (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/patch_sdk.dart
diff --git a/tools/patch_sdk.dart b/tools/patch_sdk.dart
index d92f0a693a0142536abe867c6d3ed99918df741e..5a76ff5f5d368504b90eab6e991d5bf89294a893 100644
--- a/tools/patch_sdk.dart
+++ b/tools/patch_sdk.dart
@@ -182,20 +182,6 @@ void main(List<String> argv) {
}
for (var i = 0; i < outPaths.length; i++) {
- if (path.basename(outPaths[i]) == 'internal.dart') {
- contents[i] += '''
-
-/// Marks a function as an external implementation ("native" in the Dart VM).
-///
-/// Provides a backend-specific String that can be used to identify the
-/// function's implementation
-class ExternalName {
- final String name;
- const ExternalName(this.name);
-}
-''';
- }
-
_writeSync(outPaths[i], contents[i]);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698