| 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 '../compiler.dart' show Compiler; | 7 import '../compiler.dart' show Compiler; |
| 8 import '../elements/elements.dart'; | 8 import '../elements/elements.dart'; |
| 9 | 9 |
| 10 export 'behavior.dart'; | 10 export 'behavior.dart'; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 || libraryName == 'dart:async' | 23 || libraryName == 'dart:async' |
| 24 || libraryName == 'dart:html' | 24 || libraryName == 'dart:html' |
| 25 || libraryName == 'dart:html_common' | 25 || libraryName == 'dart:html_common' |
| 26 || libraryName == 'dart:indexed_db' | 26 || libraryName == 'dart:indexed_db' |
| 27 || libraryName == 'dart:js' | 27 || libraryName == 'dart:js' |
| 28 || libraryName == 'dart:svg' | 28 || libraryName == 'dart:svg' |
| 29 || libraryName == 'dart:_native_typed_data' | 29 || libraryName == 'dart:_native_typed_data' |
| 30 || libraryName == 'dart:web_audio' | 30 || libraryName == 'dart:web_audio' |
| 31 || libraryName == 'dart:web_gl' | 31 || libraryName == 'dart:web_gl' |
| 32 || libraryName == 'dart:web_sql' | 32 || libraryName == 'dart:web_sql' |
| 33 || compiler.allowNativeExtensions) { | 33 || compiler.options.allowNativeExtensions) { |
| 34 return true; | 34 return true; |
| 35 } | 35 } |
| 36 return false; | 36 return false; |
| 37 } | 37 } |
| OLD | NEW |