platform_build_soong/aconfig
Mårten Kongstad 0a0ea26c60 Fix broken sdk build (/bin/sh: 1: [[: not found)
The CL aosp/2878135 introduced a new shell command to be executed as
part of `m sdk dist` builds. The new command incorrectly used bash
syntax for conditionals, i.e. `if [[ ... ]]` (double [[]]) instead of
the POSIX compliant `if [ ... ]` (single []).

This broke the sdk build on systems where /bin/sh is not a symlink to
/bin/bash:

  /bin/sh: 1: [[: not found
  error: lstat out/soong/.intermediates/exported_java_aconfig_library.jar.tmp: file does not exist

Fix the breakage by using POSIX shell syntax instead.

Bug: 316933458
Bug: 311151343
Test: m sdk dist
Change-Id: I7de53261674a8f54c4ecacf0e27aecbafcfa4048
2023-12-19 08:20:51 +01:00
..
codegen Convert OtherModuleProvider to generic providers API 2023-12-14 16:12:22 -08:00
aconfig_declarations.go Merge "Properly package aconfig files for product and system_ext partitions" into main 2023-12-19 00:40:03 +00:00
aconfig_declarations_test.go Convert ModuleProvder to generic providers API 2023-12-14 16:12:22 -08:00
aconfig_value_set.go Convert OtherModuleProvider to generic providers API 2023-12-14 16:12:22 -08:00
aconfig_value_set_test.go Convert ModuleProvder to generic providers API 2023-12-14 16:12:22 -08:00
aconfig_values.go Convert NewProvider/NewMutatorProvider to generic providers API 2023-12-14 16:12:20 -08:00
aconfig_values_test.go Convert ModuleProvder to generic providers API 2023-12-14 16:12:22 -08:00
all_aconfig_declarations.go Convert ModuleProvder to generic providers API 2023-12-14 16:12:22 -08:00
Android.bp Merge "Add exported_java_aconfig_library" into main 2023-12-12 09:46:05 +00:00
exported_java_aconfig_library.go Convert ModuleProvder to generic providers API 2023-12-14 16:12:22 -08:00
init.go Fix broken sdk build (/bin/sh: 1: [[: not found) 2023-12-19 08:20:51 +01:00
testing.go Support aconfig_declarations, aconfig_values and aconfig_value_set 2023-09-09 12:33:40 -07:00