Verified Commit 9921a71b authored by boklm's avatar boklm
Browse files

Bug 41745: Add .sh file extension to included build_* scripts in projects/geckoview

Since those files are included and don't have a shebang, text editors
which have syntax highlighting cannot easily detect the format. Adding
the .sh file extension usually fixes that.
parent 45b2ba09
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ export PATH="/var/tmp/dist/rust/bin:/var/tmp/dist/cbindgen:/var/tmp/dist/nasm/bi
  export WASI_SYSROOT=/var/tmp/dist/wasi-sysroot/
[% END -%]

[% INCLUDE 'build_common' %]
[% INCLUDE 'build_common.sh' %]

echo "Starting ./mach build $(date)"
./mach build --verbose [% IF c('var/generate_gradle_dependencies_list') %]2>&1 | tee -a $gradle_logs[% END %]
@@ -45,5 +45,5 @@ echo "Build finished, copying the AAR to the to the destination directory $(date
  mkdir -p "$outdir/[% project %]"
  cp obj-*/gradle/target.maven.zip $outdir/[% project %]/
[% ELSE -%]
[% INCLUDE 'build_ac_fenix' %]
[% INCLUDE 'build_ac_fenix.sh' %]
[% END -%]
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ export MOZ_ANDROID_FAT_AAR_ARMEABI_V7A=$rootdir/[% c('input_files_by_name/geckov
export MOZ_ANDROID_FAT_AAR_ARM64_V8A=$rootdir/[% c('input_files_by_name/geckoview_aarch64') %]/geckoview/target.maven.zip
export MOZ_ANDROID_FAT_AAR_X86_64=$rootdir/[% c('input_files_by_name/geckoview_x86_64') %]/geckoview/target.maven.zip

[% INCLUDE 'build_common' %]
[% INCLUDE 'build_common.sh' %]

./mach build --verbose

@@ -20,4 +20,4 @@ export MOZ_ANDROID_FAT_AAR_X86_64=$rootdir/[% c('input_files_by_name/geckoview_x
  mv $rootdir/[% c('input_files_by_name/geckoview_x86_64') %]/artifacts/* $outdir/[% project %]/artifacts/x86_64
[% END -%]

[% INCLUDE 'build_ac_fenix' %]
[% INCLUDE 'build_ac_fenix.sh' %]