Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: utils/compiler/build_helper.dart

Issue 11428020: Temporarily reverting class field and method name minification. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add regression test Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/compiler/dart2js_native/native_field_name_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import 'dart:io'; 5 import 'dart:io';
6 import 'dart:uri'; 6 import 'dart:uri';
7 7
8 import '../../sdk/lib/_internal/compiler/implementation/util/uri_extras.dart'; 8 import '../../sdk/lib/_internal/compiler/implementation/util/uri_extras.dart';
9 import '../../sdk/lib/_internal/compiler/implementation/filenames.dart'; 9 import '../../sdk/lib/_internal/compiler/implementation/filenames.dart';
10 10
(...skipping 18 matching lines...) Expand all
29 List<String> productionScript = buildScript( 29 List<String> productionScript = buildScript(
30 'dart2js-production', 30 'dart2js-production',
31 dartUri, dartVmUri, 31 dartUri, dartVmUri,
32 'sdk/lib/_internal/compiler/implementation/dart2js.dart', ''); 32 'sdk/lib/_internal/compiler/implementation/dart2js.dart', '');
33 writeScript(productionUri, productionScript); 33 writeScript(productionUri, productionScript);
34 34
35 List<String> developerScript = buildScript( 35 List<String> developerScript = buildScript(
36 'dart2js-developer', 36 'dart2js-developer',
37 dartUri, dartVmUri, 37 dartUri, dartVmUri,
38 'sdk/lib/_internal/compiler/implementation/dart2js.dart', 38 'sdk/lib/_internal/compiler/implementation/dart2js.dart',
39 r' ${DART_VM_FLAGS:---enable_checked_mode}'); 39 ' --enable_checked_mode');
floitsch 2012/11/27 15:42:26 no need to revert this one. right?
erikcorry 2012/12/11 08:36:27 True
40 writeScript(developerUri, developerScript); 40 writeScript(developerUri, developerScript);
41 41
42 List<String> dartdocScript = buildScript( 42 List<String> dartdocScript = buildScript(
43 'dartdoc', 43 'dartdoc',
44 dartUri, dartVmUri, 44 dartUri, dartVmUri,
45 'sdk/lib/_internal/dartdoc/bin/dartdoc.dart', ''); 45 'sdk/lib/_internal/dartdoc/bin/dartdoc.dart', '');
46 writeScript(dartdocUri, dartdocScript); 46 writeScript(dartdocUri, dartdocScript);
47 } 47 }
48 48
49 writeScript(Uri uri, List<String> scripts) { 49 writeScript(Uri uri, List<String> scripts) {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 REM Does the path have a trailing slash? If so, remove it. 142 REM Does the path have a trailing slash? If so, remove it.
143 if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1% 143 if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1%
144 144
145 set arguments=%* 145 set arguments=%*
146 set SNAPSHOTNAME=%SCRIPTPATH%dart2js.snapshot 146 set SNAPSHOTNAME=%SCRIPTPATH%dart2js.snapshot
147 if exist %SNAPSHOTNAME% set SNAPSHOT=--use_script_snapshot=%SNAPSHOTNAME% 147 if exist %SNAPSHOTNAME% set SNAPSHOT=--use_script_snapshot=%SNAPSHOTNAME%
148 148
149 "%SCRIPTPATH%\dart.exe"$options %SNAPSHOT% "%SCRIPTPATH%$pathWin" %arguments% 149 "%SCRIPTPATH%\dart.exe"$options %SNAPSHOT% "%SCRIPTPATH%$pathWin" %arguments%
150 '''.replaceAll('\n', '\r\n')]; 150 '''.replaceAll('\n', '\r\n')];
151 } 151 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js_native/native_field_name_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698