Welcome to mirror list, hosted at ThFree Co, Russian Federation.

native_clean.sh « UnitTests « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: efd4bea30b4795134e4a4114981440c5d16adfb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

MY_PATH=$(dirname "$0")                 # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`"  # absolutized and normalized

source "$MY_PATH/tests_list.sh"

echo "Cleaning omim/andoid..."
#ndk-build --directory=$MY_PATH/.. clean

RemoveObjLibs() {
  rm -r $1/obj
  rm -r $1/libs
}

for test in "${TESTS_LIST[@]}"; do
  echo "Cleaning test $test"
  ndk-build --directory=$test clean
  RemoveObjLibs $test
done

ndk-build --directory=$MY_PATH clean
RemoveObjLibs $MY_PATH
rm -r $MY_PATH/build