forked from amarullz/AROMA-Installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.bat
59 lines (53 loc) · 1.06 KB
/
make.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
@echo off
echo COMPILING AROMA INSTALLER
echo =========================
echo.
echo * Creating directories
mkdir obj
mkdir out
cd obj
echo.
echo * Compiling... This may take a moments...
echo.
D:\DevelTools\cndk\arm\bin\arm-none-linux-gnueabi-gcc ^
-O2 -static -fdata-sections ^
-ffunction-sections ^
-Wl,--gc-sections ^
-fPIC -DPIC ^
-Wl,-s -Werror ^
-D_GLIBCXX_DEBUG_PEDANTIC ^
-D_GLIBCXX_DEBUG ^
-D_AROMA_NODEBUG ^
-DFT2_BUILD_LIBRARY=1 ^
-DDARWIN_NO_CARBON ^
-mfloat-abi=softfp -mfpu=neon ^
-D__ARM_HAVE_NEON ^
^
*.o ^
^
../src/libs/*.c ^
../src/controls/*.c ^
../src/main/*.c ^
^
-I../include ^
-I../src ^
-o ../out/aroma_installer ^
-lm -lpthread
echo.
cd ..
echo * Copying binary into release
echo.
copy out\aroma_installer assets\META-INF\com\google\android\update-binary
echo.
echo Press Enter to Build Release ZIP
pause
echo * Creating Release Zip
cd assets
..\tools\7z a -mx9 -tzip ..\out/aroma.zip .
cd ..
echo =============================
echo CTRL-C = Exit, Enter = Deploy
echo.
pause
echo.
deploy.bat