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

Side by Side Diff: tools/dartk_wrappers/dartk

Issue 2516433004: Add wrapper shell script to invoke dartk with checked-in binary (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
(Empty)
1 #!/usr/bin/env bash
2 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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.
5
6 # Unlike $0, $BASH_SOURCE points to the absolute path of this file.
7 PROG_NAME="$BASH_SOURCE"
8 WRAPPERS_DIR="$(cd "${PROG_NAME%/*}" ; pwd -P)"
9 DART_ROOT="$(cd "${WRAPPERS_DIR}/../.." ; pwd -P)"
10 DARTK="$DART_ROOT/third_party/pkg/kernel/bin/dartk.dart"
11
12 if [[ `uname` == 'Darwin' ]];
13 then
14 DART="$DART_ROOT/tools/sdks/mac/dart-sdk/bin/dart"
15 else
16 DART="$DART_ROOT/tools/sdks/linux/dart-sdk/bin/dart"
17 fi
18
19 exec "$DART" "$DARTK" "$@"
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/compiler_configuration.dart » ('j') | tools/testing/dart/compiler_configuration.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698