From 8c5b4d9b375514907afceff867fbee8dd5b250c5 Mon Sep 17 00:00:00 2001 From: "floitsch@google.com" <floitsch@google.com> Date: Thu, 13 Nov 2014 12:15:53 +0000 Subject: [PATCH] dart2js: Don't emit additional precompiled file. R=johnniwinther@google.com, rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=41657 Reverted: https://code.google.com/p/dart/source/detail?r=41659 Review URL: https://codereview.chromium.org//700123002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41711 260f80e4-7a28-3924-810f-c04153c831b5 --- test/build/copies_browser_js_next_to_entrypoints_test.dart | 2 +- test/build/copies_browser_js_with_dependency_override_test.dart | 2 +- test/build/copies_browser_js_with_dev_dependency_test.dart | 2 +- test/build/outputs_results_to_json_test.dart | 2 +- test/dart2js/compiles_entrypoints_in_root_package_test.dart | 2 +- test/dart2js/omits_source_map_in_release_test.dart | 2 +- test/dart2js/outputs_deferred_libraries_test.dart | 2 +- test/dart2js/supports_configuration_with_build_test.dart | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/build/copies_browser_js_next_to_entrypoints_test.dart b/test/build/copies_browser_js_next_to_entrypoints_test.dart index 51780218..99e4e64d 100644 --- a/test/build/copies_browser_js_next_to_entrypoints_test.dart +++ b/test/build/copies_browser_js_next_to_entrypoints_test.dart @@ -37,7 +37,7 @@ main() { pubGet(); schedulePub(args: ["build", "foo", "web"], - output: new RegExp(r'Built 16 files to "build".')); + output: new RegExp(r'Built 12 files to "build".')); d.dir(appPath, [ d.dir('build', [ diff --git a/test/build/copies_browser_js_with_dependency_override_test.dart b/test/build/copies_browser_js_with_dependency_override_test.dart index 59d0aced..893eec35 100644 --- a/test/build/copies_browser_js_with_dependency_override_test.dart +++ b/test/build/copies_browser_js_with_dependency_override_test.dart @@ -36,7 +36,7 @@ main() { pubGet(); schedulePub(args: ["build", "--all"], - output: new RegExp(r'Built 4 files to "build".')); + output: new RegExp(r'Built 3 files to "build".')); d.dir(appPath, [ d.dir('build', [ diff --git a/test/build/copies_browser_js_with_dev_dependency_test.dart b/test/build/copies_browser_js_with_dev_dependency_test.dart index 831de863..a174e3e7 100644 --- a/test/build/copies_browser_js_with_dev_dependency_test.dart +++ b/test/build/copies_browser_js_with_dev_dependency_test.dart @@ -36,7 +36,7 @@ main() { pubGet(); schedulePub(args: ["build", "--all"], - output: new RegExp(r'Built 4 files to "build".')); + output: new RegExp(r'Built 3 files to "build".')); d.dir(appPath, [ d.dir('build', [ diff --git a/test/build/outputs_results_to_json_test.dart b/test/build/outputs_results_to_json_test.dart index 0099f0d9..3fb7c1c7 100644 --- a/test/build/outputs_results_to_json_test.dart +++ b/test/build/outputs_results_to_json_test.dart @@ -26,7 +26,7 @@ main() { outputJson: { 'buildResult': 'success', 'outputDirectory': 'build', - 'numFiles': 2, + 'numFiles': 1, 'log': [ { 'level': 'Info', diff --git a/test/dart2js/compiles_entrypoints_in_root_package_test.dart b/test/dart2js/compiles_entrypoints_in_root_package_test.dart index c2ab7b46..f8207e62 100644 --- a/test/dart2js/compiles_entrypoints_in_root_package_test.dart +++ b/test/dart2js/compiles_entrypoints_in_root_package_test.dart @@ -40,7 +40,7 @@ main() { ]).create(); schedulePub(args: ["build", "benchmark", "foo", "web"], - output: new RegExp(r'Built 12 files to "build".')); + output: new RegExp(r'Built 6 files to "build".')); d.dir(appPath, [ d.dir('build', [ diff --git a/test/dart2js/omits_source_map_in_release_test.dart b/test/dart2js/omits_source_map_in_release_test.dart index d4dbeafa..f26611e3 100644 --- a/test/dart2js/omits_source_map_in_release_test.dart +++ b/test/dart2js/omits_source_map_in_release_test.dart @@ -16,7 +16,7 @@ main() { ]).create(); schedulePub(args: ["build"], - output: new RegExp(r'Built 2 files to "build".'), + output: new RegExp(r'Built 1 file to "build".'), exitCode: 0); d.dir(appPath, [ diff --git a/test/dart2js/outputs_deferred_libraries_test.dart b/test/dart2js/outputs_deferred_libraries_test.dart index 6680f12f..7a0f4ae6 100644 --- a/test/dart2js/outputs_deferred_libraries_test.dart +++ b/test/dart2js/outputs_deferred_libraries_test.dart @@ -50,7 +50,7 @@ main() { ]).create(); schedulePub(args: ["build"], - output: new RegExp(r'Built 4 files to "build".')); + output: new RegExp(r'Built 3 files to "build".')); d.dir(appPath, [ d.dir('build', [ diff --git a/test/dart2js/supports_configuration_with_build_test.dart b/test/dart2js/supports_configuration_with_build_test.dart index e4d56c87..96501928 100644 --- a/test/dart2js/supports_configuration_with_build_test.dart +++ b/test/dart2js/supports_configuration_with_build_test.dart @@ -68,7 +68,7 @@ main() { pubGet(); schedulePub(args: ["build"], - output: new RegExp(r'Built 4 files to "build".'), + output: new RegExp(r'Built 3 files to "build".'), exitCode: 0); d.dir(appPath, [ -- GitLab