-
Notifications
You must be signed in to change notification settings - Fork 183
/
makeall.bat
119 lines (112 loc) · 2.88 KB
/
makeall.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
@echo off
echo REBUILDING AROMA INSTALLER
echo ==========================
echo.
echo * Creating directories
mkdir obj
mkdir out
cd obj
echo * Cleanup objects
del /F /Q /S *.*
echo.
echo * Compiling... This may take a moments...
echo.
D:\DevelTools\cndk\arm\bin\arm-none-linux-gnueabi-gcc ^
-save-temps ^
-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 ^
^
../libs/zlib/adler32.c ^
../libs/zlib/crc32.c ^
../libs/zlib/infback.c ^
../libs/zlib/inffast.c ^
../libs/zlib/inflate.c ^
../libs/zlib/inftrees.c ^
../libs/zlib/zutil.c ^
../libs/zlib/inflate_fast_copy_neon.s ^
^
../libs/png/png.c ^
../libs/png/pngerror.c ^
../libs/png/pnggccrd.c ^
../libs/png/pngget.c ^
../libs/png/pngmem.c ^
../libs/png/pngpread.c ^
../libs/png/pngread.c ^
../libs/png/pngrio.c ^
../libs/png/pngrtran.c ^
../libs/png/pngrutil.c ^
../libs/png/pngset.c ^
../libs/png/pngtrans.c ^
../libs/png/pngvcrd.c ^
../libs/png/png_read_filter_row_neon.s ^
^
../libs/minutf8/minutf8.c ^
../libs/minzip/DirUtil.c ^
../libs/minzip/Hash.c ^
../libs/minzip/Inlines.c ^
../libs/minzip/SysUtil.c ^
../libs/minzip/Zip.c ^
^
../libs/freetype/autofit/autofit.c ^
../libs/freetype/base/basepic.c ^
../libs/freetype/base/ftapi.c ^
../libs/freetype/base/ftbase.c ^
../libs/freetype/base/ftbbox.c ^
../libs/freetype/base/ftbitmap.c ^
../libs/freetype/base/ftglyph.c ^
../libs/freetype/base/ftinit.c ^
../libs/freetype/base/ftpic.c ^
../libs/freetype/base/ftstroke.c ^
../libs/freetype/base/ftsynth.c ^
../libs/freetype/base/ftsystem.c ^
../libs/freetype/cff/cff.c ^
../libs/freetype/pshinter/pshinter.c ^
../libs/freetype/psnames/psnames.c ^
../libs/freetype/raster/raster.c ^
../libs/freetype/sfnt/sfnt.c ^
../libs/freetype/smooth/smooth.c ^
../libs/freetype/truetype/truetype.c ^
../libs/freetype/base/ftlcdfil.c ^
^
../src/edify/*.c ^
../src/libs/*.c ^
../src/controls/*.c ^
../src/main/*.c ^
^
-I../include ^
-I../src ^
-o ../out/aroma_installer ^
-lm -lpthread
echo.
echo * Cleanup AROMA Installer objects
echo.
del aroma*
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 =============================
echo CTRL-C = Exit, Enter = Deploy
echo.
pause
echo.
deploy.bat