OLD | NEW |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # | 2 # |
3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
4 # for details. All rights reserved. Use of this source code is governed by a | 4 # for details. All rights reserved. Use of this source code is governed by a |
5 # BSD-style license that can be found in the LICENSE file. | 5 # BSD-style license that can be found in the LICENSE file. |
6 # | 6 # |
7 # A script which will be invoked from gyp to create an SDK. | 7 # A script which will be invoked from gyp to create an SDK. |
8 # | 8 # |
9 # Usage: create_sdk.py sdk_directory | 9 # Usage: create_sdk.py sdk_directory |
10 # | 10 # |
(...skipping 18 matching lines...) Expand all Loading... | |
29 # ........runtime/ | 29 # ........runtime/ |
30 # ......compiler/ | 30 # ......compiler/ |
31 # ......core/ | 31 # ......core/ |
32 # ........core_runtime.dart | 32 # ........core_runtime.dart |
33 # ........runtime/ | 33 # ........runtime/ |
34 # ......coreimpl/ | 34 # ......coreimpl/ |
35 # ........coreimpl_runtime.dart | 35 # ........coreimpl_runtime.dart |
36 # ........runtime/ | 36 # ........runtime/ |
37 # ......dart2js/ | 37 # ......dart2js/ |
38 # ......isolate/ | 38 # ......isolate/ |
39 # ........isolate_{frog, runtime}.dart | 39 # ........isolate_{dart2js, runtime}.dart |
40 # ........{frog, runtime}/ | 40 # ........dart2js/ |
ahe
2012/08/20 19:33:27
Is this true?
dgrove
2012/08/20 19:35:33
Yes. dart-sdk/lib/isolate/dart2js/ contains
compil
ahe
2012/08/20 19:39:28
I don't think dart2js reads those files. Unless yo
dgrove
2012/08/20 20:25:03
I haven't made any changes in where dart2js is pic
| |
41 # ......dom/ | 41 # ......dom/ |
42 # ........dom.dart | 42 # ........dom.dart |
43 # ......html/ | 43 # ......html/ |
44 # ........html_dart2js.dart | 44 # ........html_dart2js.dart |
45 # ........html_dartium.dart | 45 # ........html_dartium.dart |
46 # ......crypto/ | 46 # ......crypto/ |
47 # ........crypto.dart | 47 # ........crypto.dart |
48 # ........(implementation files) | 48 # ........(implementation files) |
49 # ......json/ | 49 # ......json/ |
50 # ........json_frog.dart | 50 # ........json_frog.dart |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
483 if revision is not None: | 483 if revision is not None: |
484 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f: | 484 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f: |
485 f.write(revision + '\n') | 485 f.write(revision + '\n') |
486 f.close() | 486 f.close() |
487 | 487 |
488 move(SDK_tmp, SDK) | 488 move(SDK_tmp, SDK) |
489 utils.Touch(os.path.join(SDK, 'create.stamp')) | 489 utils.Touch(os.path.join(SDK, 'create.stamp')) |
490 | 490 |
491 if __name__ == '__main__': | 491 if __name__ == '__main__': |
492 sys.exit(Main(sys.argv)) | 492 sys.exit(Main(sys.argv)) |
OLD | NEW |