Add more support for GLOBAL_CONLYFLAGS.

This will be necessary to support -std=gnu99 mode for clang 3.6, which
defaults to C11 mode (unlike prior releases that use C99).

Change-Id: Iea84582f9f12ba76b988463cbc0a20bd61042538
Don't set up the prebuilt apk rule twice.

For apps, we don't want to set up the prebuilt apk rule twice even if
"LOCAL_MULTILIB := both", which for apps really means to set up only the
jni library rules twice. See also build/core/install_jni_libs.mk.

Change-Id: Id0406c3c605c6ede613dba06178a1710590c09b3
Remove unused BUILD_RAW_EXECUTABLE and BUILD_RAW_STATIC_LIBRARY.

Change-Id: I1ba79197f3b9bb446ab34612bac8eb9485438709
Merge "Don't set up the prebuilt apk rule twice."
Merge "Add more support for GLOBAL_CONLYFLAGS."
Merge "Remove unused BUILD_RAW_EXECUTABLE and BUILD_RAW_STATIC_LIBRARY."