platform_build_soong/cc
Alex Light 0c7cc1caa1 Don't include empty-string arguments in compile_commands.json
compdb.go was incorrectly splitting compiler arguments. This could
cause empty strings to be included in compile_commands.json,
potentially confusing tools.

Bug: 117124308
Test: m checkbuild
Test: m SOONG_GEN_COMPDB=1 \
        SOONG_GEN_COMPDB_DEBUG=1 \
        SOONG_LINK_COMPDB_TO=$ANDROID_BUILD_TOP nothing
      Examine $ANDROID_BUILD_TOP/compile_commands.json
Change-Id: I375baf255c50a1329cd644ac584d200aba9daa69
2018-10-02 11:28:25 -07:00
..
config Switch to clang-r339409. 2018-09-26 21:15:08 +00:00
libbuildversion Mark as recovery_available:true 2018-05-24 14:14:08 +09:00
androidmk.go *_OUT_INTERMEDIATE_LIBRARIES has been removed from Make 2018-09-15 10:46:17 -07:00
binary.go Don't pass -pie for Windows binaries 2018-09-14 23:02:31 +00:00
builder.go Enable toc support for Darwin and Windows 2018-09-10 23:12:11 -07:00
cc.go Add OutputFile to cc.Module 2018-09-13 12:45:00 +09:00
cc_test.go link type of recovery variant of a vendor module should not be native:vendor 2018-08-28 10:03:17 +09:00
check.go Allow macro definition with space 2017-10-19 22:39:32 +09:00
cmakelists.go Soong: Add relativeFilePathFlag category in CMakeList generator 2018-10-01 07:59:54 -07:00
compdb.go Don't include empty-string arguments in compile_commands.json 2018-10-02 11:28:25 -07:00
compiler.go GccCppStdVersion should not be needed anymore 2018-09-25 21:27:45 +00:00
coverage.go Revert "Support coverage instrumentation for Linux host" 2018-04-23 22:44:39 +00:00
gen.go aidl: -ninja -> --ninja 2018-07-06 11:36:32 -07:00
gen_stub_libs.py Ignore 'extern "C++"' section in a version script 2017-11-21 20:31:48 +01:00
gen_test.go Fix using aidl files from filegroups 2017-11-17 11:22:08 -08:00
genrule.go Add recovery_available to cc_genrule 2018-05-24 14:01:54 +09:00
installer.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
kernel_headers.go Fix kernel_headers module registration 2017-07-10 12:30:35 -07:00
library.go Use soong_cc_prebuilt.mk instead of prebuilt.mk for Soong cc modules 2018-09-10 23:12:12 -07:00
library_test.go Add cc_library tests 2017-11-17 11:22:04 -08:00
linker.go Add exclude_header_libs for recovery_available:true libs 2018-08-10 09:35:47 -07:00
llndk_library.go Use soong_cc_prebuilt.mk instead of prebuilt.mk for Soong cc modules 2018-09-10 23:12:12 -07:00
lto.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
makevars.go Use WITH_TIDY_FLAGS env variable. 2018-09-21 15:19:24 -07:00
ndk_headers.go Add a preprocessed_ndk_headers module type. 2018-06-01 11:02:38 -07:00
ndk_library.go Add libbinder_ndk to the NDK. 2018-08-29 21:45:51 -07:00
ndk_prebuilt.go Dedup version-script handling code. 2018-08-08 14:36:34 -07:00
ndk_sysroot.go NDK sysroot: include each license file only once 2018-08-24 13:28:04 -07:00
object.go Allow cc_object modules to use STL 2018-09-27 18:06:23 +00:00
pgo.go Take Enable_profile_use into account when checking if PGO is enabled 2018-05-07 15:16:36 -07:00
prebuilt.go Use soong_cc_prebuilt.mk instead of prebuilt.mk for Soong cc modules 2018-09-10 23:12:12 -07:00
proto.go Add a dependency fixer for proto deps 2018-05-07 16:21:59 -07:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
rs.go Mark generated renderscript header files as implicit outputs 2018-03-19 22:44:29 -07:00
sabi.go Remove flto dependent flags when -flto is removed. 2018-08-24 18:42:22 +00:00
sanitize.go (soong) Add -fsanitize= argument to assembly flags. 2018-09-07 10:23:07 -07:00
stl.go Link msvcr110.a after mingwex.a 2018-09-17 23:33:28 +00:00
strip.go Use soong_cc_prebuilt.mk instead of prebuilt.mk for Soong cc modules 2018-09-10 23:12:12 -07:00
test.go TradeFed: Add "test_config_template" flag in Android.bp 2018-09-26 18:02:55 -07:00
test_data_test.go Fix go vet issues 2018-07-22 21:18:45 -07:00
test_gen_stub_libs.py Add support for weak symbols in the NDK stubs. 2017-07-28 11:00:22 -07:00
tidy.go Use WITH_TIDY_FLAGS env variable. 2018-09-21 15:19:24 -07:00
toolchain_library.go Remove clang: false support 2018-07-23 17:19:36 -07:00
util.go Allow cc_prebuilt version suffix to include svn 2018-09-26 10:59:56 +08:00
util_test.go Allow cc_prebuilt version suffix to include svn 2018-09-26 10:59:56 +08:00
vendor_public_library.go Allow platform modules to link to vendor public libraries 2018-03-30 12:59:06 +09:00
vndk.go Allow VNDK-SP extensions to use vendor lib 2018-03-30 13:29:34 +08:00
vndk_prebuilt.go Use soong_cc_prebuilt.mk instead of prebuilt.mk for Soong cc modules 2018-09-10 23:12:12 -07:00