File tree Expand file tree Collapse file tree 7 files changed +12
-12
lines changed
Expand file tree Collapse file tree 7 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ JBRSDK_BUNDLE=jbrsdk
140140echo Fixing permissions
141141chmod -R a+r $JSDK
142142
143- if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " fd " ] ; then
143+ if [ " $bundle_type " == " jcef" ]; then
144144 git apply -p0 < jb/project/tools/patches/add_jcef_module_aarch64.patch || do_exit $?
145145 update_jsdk_mods $JSDK $JCEF_PATH /jmods $JSDK /jmods $JSDK_MODS_DIR || do_exit $?
146146 cp $JCEF_PATH /jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not changed
@@ -153,7 +153,7 @@ create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" ||
153153
154154# create sdk image bundle
155155modules=$( cat $JSDK /release | grep MODULES | sed s/MODULES=//g | sed s/' ' /' ,' /g | sed s/\" //g | sed s/\\ n//g) || do_exit $?
156- if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " fd " ] || [ " $bundle_type " == " $JBRSDK_BUNDLE " ]; then
156+ if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " $JBRSDK_BUNDLE " ]; then
157157 modules=${modules} ,$( get_mods_list " $JCEF_PATH " /jmods)
158158fi
159159create_image_bundle " $JBRSDK_BUNDLE ${jbr_name_postfix} " $JBRSDK_BUNDLE $JSDK_MODS_DIR " $modules " || do_exit $?
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ JBRSDK_BUNDLE=jbrsdk
157157echo Fixing permissions
158158chmod -R a+r $JSDK
159159
160- if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " fd " ] ; then
160+ if [ " $bundle_type " == " jcef" ]; then
161161 git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
162162 update_jsdk_mods $JSDK $JCEF_PATH /jmods $JSDK /jmods $JSDK_MODS_DIR || do_exit $?
163163 cp $JCEF_PATH /jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not changed
@@ -170,7 +170,7 @@ create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" ||
170170
171171# create sdk image bundle
172172modules=$( cat $JSDK /release | grep MODULES | sed s/MODULES=//g | sed s/' ' /' ,' /g | sed s/\" //g | sed s/\\ n//g) || do_exit $?
173- if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " fd " ] || [ " $bundle_type " == " $JBRSDK_BUNDLE " ]; then
173+ if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " $JBRSDK_BUNDLE " ]; then
174174 modules=${modules} ,$( get_mods_list " $JCEF_PATH " /jmods)
175175fi
176176create_image_bundle " $JBRSDK_BUNDLE ${jbr_name_postfix} " $JBRSDK_BUNDLE $JSDK_MODS_DIR " $modules " || do_exit $?
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ JBRSDK_BUNDLE=jbrsdk
119119echo Fixing permissions
120120chmod -R a+r $JSDK
121121
122- if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " fd " ] ; then
122+ if [ " $bundle_type " == " jcef" ]; then
123123 jbr_name_postfix=" _${bundle_type} "
124124else
125125 jbr_name_postfix=" "
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" ||
153153
154154# create sdk image bundle
155155modules=$( cat " $JSDK " /release | grep MODULES | sed s/MODULES=//g | sed s/' ' /' ,' /g | sed s/\" //g | sed s/\\ n//g) || do_exit $?
156- if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " fd " ] || [ " $bundle_type " == " $JBRSDK_BUNDLE " ]; then
156+ if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " $JBRSDK_BUNDLE " ]; then
157157 modules=${modules} ,$( get_mods_list " $JCEF_PATH " /jmods)
158158fi
159159create_image_bundle " $JBRSDK_BUNDLE ${jbr_name_postfix} " " $JBRSDK_BUNDLE " " $JSDK_MODS_DIR " " $modules " || do_exit $?
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ if [ $? -eq 0 ]; then
126126 JCEF_PATH=" $( cygpath -w $JCEF_PATH | sed ' s/\\/\//g' ) "
127127fi
128128
129- if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " fd " ] ; then
129+ if [ " $bundle_type " == " jcef" ]; then
130130 git apply -p0 < jb/project/tools/patches/add_jcef_module_aarch64.patch || do_exit $?
131131 update_jsdk_mods " $BUILD_JDK " " $JCEF_PATH " /jmods " $JSDK " /jmods " $JSDK_MODS_DIR " || do_exit $?
132132 cp $JCEF_PATH /jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not unchanged
@@ -144,7 +144,7 @@ create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" ||
144144
145145# create sdk image bundle
146146modules=$( cat ${JSDK} /release | grep MODULES | sed s/MODULES=//g | sed s/' ' /' ,' /g | sed s/\" //g | sed s/\\ r//g | sed s/\\ n//g) || do_exit $?
147- if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " fd " ] || [ " $bundle_type " == " $JBRSDK_BUNDLE " ]; then
147+ if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " $JBRSDK_BUNDLE " ]; then
148148 modules=${modules} ,$( get_mods_list " $JCEF_PATH " /jmods)
149149fi
150150create_image_bundle " $JBRSDK_BUNDLE ${jbr_name_postfix} " " $JBRSDK_BUNDLE " " $JSDK_MODS_DIR " " $modules " || do_exit $?
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ if [ $? -eq 0 ]; then
119119 JCEF_PATH=" $( cygpath -w $JCEF_PATH | sed ' s/\\/\//g' ) "
120120fi
121121
122- if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " fd " ] ; then
122+ if [ " $bundle_type " == " jcef" ]; then
123123 git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
124124 update_jsdk_mods " $JSDK " " $JCEF_PATH " /jmods " $JSDK " /jmods " $JSDK_MODS_DIR " || do_exit $?
125125 cp $JCEF_PATH /jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
@@ -137,7 +137,7 @@ create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" ||
137137
138138# create sdk image bundle
139139modules=$( cat ${JSDK} /release | grep MODULES | sed s/MODULES=//g | sed s/' ' /' ,' /g | sed s/\" //g | sed s/\\ r//g | sed s/\\ n//g)
140- if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " fd " ] || [ " $bundle_type " == " $JBRSDK_BUNDLE " ]; then
140+ if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " $JBRSDK_BUNDLE " ]; then
141141 modules=${modules} ,$( get_mods_list " $JCEF_PATH " /jmods)
142142fi
143143create_image_bundle " $JBRSDK_BUNDLE ${jbr_name_postfix} " " $JBRSDK_BUNDLE " " $JSDK_MODS_DIR " " $modules " || do_exit $?
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ JSDK=$IMAGES_DIR/jdk
109109JSDK_MODS_DIR=$IMAGES_DIR /jmods
110110JBRSDK_BUNDLE=jbrsdk
111111
112- if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " fd " ] ; then
112+ if [ " $bundle_type " == " jcef" ]; then
113113 git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
114114 update_jsdk_mods " $JSDK " " $JCEF_PATH " /jmods " $JSDK " /jmods " $JSDK_MODS_DIR " || do_exit $?
115115 cp $JCEF_PATH /jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
@@ -126,7 +126,7 @@ create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" ||
126126
127127# create sdk image bundle
128128modules=$( cat ${JSDK} /release | grep MODULES | sed s/MODULES=//g | sed s/' ' /' ,' /g | sed s/\" //g | sed s/\\ r//g | sed s/\\ n//g)
129- if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " fd " ] || [ " $bundle_type " == " $JBRSDK_BUNDLE " ]; then
129+ if [ " $bundle_type " == " jcef" ] || [ " $bundle_type " == " $JBRSDK_BUNDLE " ]; then
130130 modules=${modules} ,$( get_mods_list " $JCEF_PATH " /jmods)
131131fi
132132create_image_bundle " $JBRSDK_BUNDLE ${jbr_name_postfix} " " $JBRSDK_BUNDLE " " $JSDK_MODS_DIR " " $modules " || do_exit $?
You can’t perform that action at this time.
0 commit comments