libchrome: Fix for building with asan.

Introduce USE_ASAN variable which should be set by libchrome ebuild.
Do not use the linker flags "-z,defs" when USE_ASAN is set since
it is not supported by address sanitizer.

TEST=libchrome builds with asan.

Change-Id: I01565d5912cf8988213993110e606aa67a516781
Commit-Ready: Manoj Gupta <>
Tested-by: Manoj Gupta <>
Reviewed-by: Luis Hector Chavez <>
Reviewed-by: Mike Frysinger <>
1 file changed