Include build rules for clang with address sanitizer

Usage: GYP_DEFINES='clang=1' BUILD_CONFIG=Debug examples/

The expectations on the mocked call using itself were wrong and depend
on the order of evaluation and leads to weird bugs, specifically clang
evaluates the parts of EXPECT_CALL in different order leading to wrong

Change-Id: I0b2cf1e986268cd4dfecbd37d1ab3b4b1b725a5c
Reviewed-by: Vitaly Buka <>
3 files changed