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

Unified Diff: tools/binary_size/libsupersize/testdata/create-test-size.sh

Issue 2832253004: supersize: nm in progress (Closed)
Patch Set: supersize: Track symbol aliases and shared symbols Created 3 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 side-by-side diff with in-line comments
Download patch
Index: tools/binary_size/libsupersize/testdata/create-test-size.sh
diff --git a/tools/binary_size/libsupersize/testdata/create-test-size.sh b/tools/binary_size/libsupersize/testdata/create-test-size.sh
new file mode 100755
index 0000000000000000000000000000000000000000..95a4b86c2f0b88e75ba1ff823dde11ead567d789
--- /dev/null
+++ b/tools/binary_size/libsupersize/testdata/create-test-size.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+base_dir=$(dirname "$0")
+abs_base_dir=$(python -c "import os; print os.path.abspath('$base_dir')")
+toolchain_dir=$abs_base_dir/mock_toolchain
+export PATH="$toolchain_dir:$PATH"
+echo "Added to PATH: $toolchain_dir"
+set -x
+exec $base_dir/../main.py archive test.size \
+ --map-file $base_dir/test.map \
+ --elf-file $base_dir/mock_output_directory/elf

Powered by Google App Engine
This is Rietveld 408576698