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

Side by Side Diff: editor/tools/analyzer

Issue 215683002: Rollback 215463002. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months 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 | « no previous file | pkg/analyzer/bin/analyzer » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 set -e 6 set -e
7 7
8 CUR_DIR="$(cd "${BASH_SOURCE%/*}" ; pwd -P)" 8 CUR_DIR="$(cd "${BASH_SOURCE%/*}" ; pwd -P)"
9 9
10 if [ -z "$DART_CONFIGURATION" ]; then 10 if [ -z "$DART_CONFIGURATION" ]; then
11 DART_CONFIGURATION="ReleaseIA32" 11 DART_CONFIGURATION="ReleaseIA32"
12 fi 12 fi
13 13
14 DART_ROOT="$(cd "${CUR_DIR}/../../.." ; pwd -P)" 14 DART_ROOT="$(cd "${CUR_DIR}/../.." ; pwd -P)"
15 SDK_DIR="$(cd "${DART_ROOT}/sdk" ; pwd -P)" 15 SDK_DIR="$(cd "${DART_ROOT}/sdk" ; pwd -P)"
16 PKG_ANALYZER="$DART_ROOT/pkg/analyzer/bin/analyzer.dart" 16 PKG_ANALYZER="$DART_ROOT/pkg/analyzer/bin/analyzer.dart"
17 17
18 if [[ `uname` == 'Darwin' ]]; then 18 if [[ `uname` == 'Darwin' ]]; then
19 BUILD_DIR="$DART_ROOT/xcodebuild/$DART_CONFIGURATION" 19 BUILD_DIR="$DART_ROOT/xcodebuild/$DART_CONFIGURATION"
20 else 20 else
21 BUILD_DIR="$DART_ROOT/out/$DART_CONFIGURATION" 21 BUILD_DIR="$DART_ROOT/out/$DART_CONFIGURATION"
22 fi 22 fi
23 23
24 PACKAGE_ROOT="$BUILD_DIR/packages/" 24 PACKAGE_ROOT="$BUILD_DIR/packages/"
(...skipping 19 matching lines...) Expand all
44 "${PKG_ANALYZER}" \ 44 "${PKG_ANALYZER}" \
45 --dart-sdk "${SDK_DIR}" "$@" 45 --dart-sdk "${SDK_DIR}" "$@"
46 else 46 else
47 exec "$BUILD_DIR/dart" \ 47 exec "$BUILD_DIR/dart" \
48 "--package-root=$PACKAGE_ROOT" \ 48 "--package-root=$PACKAGE_ROOT" \
49 --heap_growth_rate=512 \ 49 --heap_growth_rate=512 \
50 --inlining_hotness=90 \ 50 --inlining_hotness=90 \
51 --optimization_counter_threshold=5000 \ 51 --optimization_counter_threshold=5000 \
52 "${PKG_ANALYZER}" "$@" 52 "${PKG_ANALYZER}" "$@"
53 fi 53 fi
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/bin/analyzer » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698