This repository has been archived by the owner on Nov 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
copymozbuilds.sh
executable file
·46 lines (39 loc) · 3.18 KB
/
copymozbuilds.sh
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
#!/bin/bash
SOURCE_DIR=dom/media/webm
cp $SOURCE_DIR/moz.build $SOURCE_DIR/moz_nocopy.build
cp $SOURCE_DIR/moz.build $SOURCE_DIR/moz_copy.build
cp $SOURCE_DIR/moz.build $SOURCE_DIR/moz_copy_new_nacl_cpp.build
cp $SOURCE_DIR/moz.build $SOURCE_DIR/moz_copy_new_ps_cpp.build
cp $SOURCE_DIR/moz.build $SOURCE_DIR/moz_copy_new_ps_cpp_mutex.build
echo "DEFINES['USE_SANDBOXING_BUFFERS'] = 0" >> $SOURCE_DIR/moz_nocopy.build
echo "DEFINES['USE_SANDBOXING_BUFFERS'] = 1" >> $SOURCE_DIR/moz_copy.build
echo "DEFINES['USE_SANDBOXING_BUFFERS'] = 1" >> $SOURCE_DIR/moz_copy_new_nacl_cpp.build
echo "DEFINES['NACL_SANDBOX_USE_NEW_CPP_API'] = 42" >> $SOURCE_DIR/moz_copy_new_nacl_cpp.build
echo "DEFINES['STARTUP_LIBRARY_PATH'] = '\"Sandboxing_NaCl/native_client/scons-out/nacl_irt-x86-64/staging/irt_core.nexe\"'" >> $SOURCE_DIR/moz_copy_new_nacl_cpp.build
echo "DEFINES['SANDBOX_INIT_APP_THEORA'] = '\"libtheora/builds/x64/nacl_build/mainCombine/libtheora.nexe\"'" >> $SOURCE_DIR/moz_copy_new_nacl_cpp.build
echo "DEFINES['SANDBOX_INIT_APP_VPX'] = '\"libvpx/builds/x64/nacl_build/mainCombine/libvpx.nexe\"'" >> $SOURCE_DIR/moz_copy_new_nacl_cpp.build
echo "LOCAL_INCLUDES += [" >> $SOURCE_DIR/moz_copy_new_nacl_cpp.build
echo " '/../rlbox_api'," >> $SOURCE_DIR/moz_copy_new_nacl_cpp.build
echo " '/../Sandboxing_NaCl/native_client/src/trusted/dyn_ldr'," >> $SOURCE_DIR/moz_copy_new_nacl_cpp.build
echo " '/media/libtheora_naclport/'," >> $SOURCE_DIR/moz_copy_new_nacl_cpp.build
echo " '/media/libvpx_naclport/'," >> $SOURCE_DIR/moz_copy_new_nacl_cpp.build
echo "]" >> $SOURCE_DIR/moz_copy_new_nacl_cpp.build
echo "DEFINES['USE_SANDBOXING_BUFFERS'] = 1" >> $SOURCE_DIR/moz_copy_new_ps_cpp.build
echo "DEFINES['PS_SANDBOX_USE_NEW_CPP_API'] = 42" >> $SOURCE_DIR/moz_copy_new_ps_cpp.build
echo "DEFINES['PS_SANDBOX_DONT_USE_SPIN'] = 42" >> $SOURCE_DIR/moz_copy_new_ps_cpp.build
echo "DEFINES['STARTUP_LIBRARY_PATH'] = '\"\"'" >> $SOURCE_DIR/moz_copy_new_ps_cpp.build
echo "DEFINES['SANDBOX_INIT_APP_THEORA'] = '\"ProcessSandbox/ProcessSandbox_otherside_theora64\"'" >> $SOURCE_DIR/moz_copy_new_ps_cpp.build
echo "LOCAL_INCLUDES += [" >> $SOURCE_DIR/moz_copy_new_ps_cpp.build
echo " '/../ProcessSandbox'," >> $SOURCE_DIR/moz_copy_new_ps_cpp.build
echo " '/../rlbox_api'," >> $SOURCE_DIR/moz_copy_new_ps_cpp.build
echo " '/media/libtheora_naclport/'," >> $SOURCE_DIR/moz_copy_new_ps_cpp.build
echo "]" >> $SOURCE_DIR/moz_copy_new_ps_cpp.build
echo "DEFINES['USE_SANDBOXING_BUFFERS'] = 1" >> $SOURCE_DIR/moz_copy_new_ps_cpp_mutex.build
echo "DEFINES['PS_SANDBOX_USE_NEW_CPP_API'] = 42" >> $SOURCE_DIR/moz_copy_new_ps_cpp_mutex.build
echo "DEFINES['STARTUP_LIBRARY_PATH'] = '\"\"'" >> $SOURCE_DIR/moz_copy_new_ps_cpp_mutex.build
echo "DEFINES['SANDBOX_INIT_APP_THEORA'] = '\"ProcessSandbox/ProcessSandbox_otherside_theora64\"'" >> $SOURCE_DIR/moz_copy_new_ps_cpp_mutex.build
echo "LOCAL_INCLUDES += [" >> $SOURCE_DIR/moz_copy_new_ps_cpp_mutex.build
echo " '/../ProcessSandbox'," >> $SOURCE_DIR/moz_copy_new_ps_cpp_mutex.build
echo " '/../rlbox_api'," >> $SOURCE_DIR/moz_copy_new_ps_cpp_mutex.build
echo " '/media/libtheora_naclport/'," >> $SOURCE_DIR/moz_copy_new_ps_cpp_mutex.build
echo "]" >> $SOURCE_DIR/moz_copy_new_ps_cpp_mutex.build