OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library native; | 5 library native; |
6 | 6 |
7 import 'dart:collection' show Queue; | 7 import 'dart:collection' show Queue; |
8 | 8 |
9 import '../common.dart'; | 9 import '../common.dart'; |
10 import '../common/backend_api.dart' show | 10 import '../common/backend_api.dart' show |
(...skipping 12 matching lines...) Expand all Loading... |
23 import '../enqueue.dart' show | 23 import '../enqueue.dart' show |
24 Enqueuer, | 24 Enqueuer, |
25 ResolutionEnqueuer; | 25 ResolutionEnqueuer; |
26 import '../elements/elements.dart'; | 26 import '../elements/elements.dart'; |
27 import '../elements/modelx.dart' show | 27 import '../elements/modelx.dart' show |
28 BaseClassElementX, | 28 BaseClassElementX, |
29 ElementX, | 29 ElementX, |
30 FunctionElementX, | 30 FunctionElementX, |
31 LibraryElementX; | 31 LibraryElementX; |
32 import '../js/js.dart' as js; | 32 import '../js/js.dart' as js; |
| 33 import '../js_backend/backend_helpers.dart' show |
| 34 BackendHelpers; |
33 import '../js_backend/js_backend.dart'; | 35 import '../js_backend/js_backend.dart'; |
34 import '../js_emitter/js_emitter.dart' show | 36 import '../js_emitter/js_emitter.dart' show |
35 CodeEmitterTask, | 37 CodeEmitterTask, |
36 NativeEmitter; | 38 NativeEmitter; |
37 import '../parser/listener.dart' show | 39 import '../parser/listener.dart' show |
38 Listener; | 40 Listener; |
39 import '../parser/element_listener.dart' show | 41 import '../parser/element_listener.dart' show |
40 ElementListener; | 42 ElementListener; |
41 import '../ssa/ssa.dart'; | 43 import '../ssa/ssa.dart'; |
42 import '../tokens/token.dart' show | 44 import '../tokens/token.dart' show |
(...skipping 26 matching lines...) Expand all Loading... |
69 || libraryName == 'dart:svg' | 71 || libraryName == 'dart:svg' |
70 || libraryName == 'dart:_native_typed_data' | 72 || libraryName == 'dart:_native_typed_data' |
71 || libraryName == 'dart:web_audio' | 73 || libraryName == 'dart:web_audio' |
72 || libraryName == 'dart:web_gl' | 74 || libraryName == 'dart:web_gl' |
73 || libraryName == 'dart:web_sql' | 75 || libraryName == 'dart:web_sql' |
74 || compiler.allowNativeExtensions) { | 76 || compiler.allowNativeExtensions) { |
75 return true; | 77 return true; |
76 } | 78 } |
77 return false; | 79 return false; |
78 } | 80 } |
OLD | NEW |