OLD | NEW |
(Empty) | |
| 1 #!/bin/bash |
| 2 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. |
| 5 |
| 6 base_dir=$(dirname "$0") |
| 7 abs_base_dir=$(python -c "import os; print os.path.abspath('$base_dir')") |
| 8 toolchain_dir=$abs_base_dir/mock_toolchain |
| 9 export PATH="$toolchain_dir:$PATH" |
| 10 echo "Added to PATH: $toolchain_dir" |
| 11 set -x |
| 12 exec $base_dir/../main.py archive test.size \ |
| 13 --map-file $base_dir/test.map \ |
| 14 --elf-file $base_dir/mock_output_directory/elf |
OLD | NEW |