Index: tools/create_sdk.py |
diff --git a/tools/create_sdk.py b/tools/create_sdk.py |
index 9c45dc1a82406eab9f561d1f142733c7a6a8bfd3..273d1fd43d3fa4eec78d61c960829f3dbfcc37ca 100755 |
--- a/tools/create_sdk.py |
+++ b/tools/create_sdk.py |
@@ -373,6 +373,7 @@ def Main(argv): |
dest_file = open(join(corelib_dest_dir, 'core_runtime.dart'), 'w') |
dest_file.write('#library("dart:core");\n') |
dest_file.write('#import("dart:coreimpl");\n') |
+ dest_file.write('#import("dart:math");\n') |
for filename in corelib_sources: |
dest_file.write('#source("runtime/' + filename + '");\n') |
for filename in corelib_runtime_sources: |
@@ -400,6 +401,7 @@ def Main(argv): |
# Construct lib/coreimpl/coreimpl_runtime.dart from whole cloth. |
dest_file = open(join(coreimpl_dest_dir, 'coreimpl_runtime.dart'), 'w') |
dest_file.write('#library("dart:coreimpl");\n') |
+ dest_file.write('#import("dart:math");\n') |
for filename in coreimpl_sources: |
dest_file.write('#source("runtime/' + filename + '");\n') |
for filename in coreimpl_runtime_sources: |