Files
build_soong/android
Colin Cross c0d58b4a0f Fix envDeps initialization and locking
If Config.GetEnv was called when envDeps was uninitialized (for
example in a test) it would panic, which if recovered (for example in
a test) would cause it to continue without unlocking the mutex, and
could later deadlock.  Fix the initialization by initializing in
GetEnv if necessary, and use defer to avoid holding the mutex after
a panic.

Test: soong tests
Change-Id: I453522faaf47ff6fbc4702345cfe177100bdc522
2017-02-06 15:45:16 -08:00
..
2016-10-12 17:24:49 -07:00
2016-10-12 14:30:44 -07:00
2016-11-22 15:41:08 -08:00
2016-11-22 15:41:08 -08:00
2016-09-13 17:37:32 -07:00
2016-05-18 15:37:25 -07:00
2016-10-14 17:07:49 -07:00
2016-10-13 14:23:17 -07:00
2016-11-04 04:54:16 +00:00
2017-01-19 14:40:34 -08:00