platform_build_soong/cc
Colin Cross f1cc40e272 Relax cflag checks for -Xclang and -target*
Allow flags in cflags that start with "-target".

Allow "-Xclang <arg>" in cflags.

Bug: 350058746
Test: builds
Flag: EXEMPT bugfix
(cherry picked from https://android-review.googlesource.com/q/commit:7c4a40a2f611e049f15e69f59df9f6ec7aaf4565)
Merged-In: I1bf64268047949d747f53d8b111fc26298aee958
Change-Id: I1bf64268047949d747f53d8b111fc26298aee958
2024-07-12 03:43:55 +00:00
..
config Revert "Enable -Wfortify-source" 2024-06-21 03:17:55 +00:00
libbuildversion Set the dist dir for musl targets of build_version_test 2022-04-28 14:18:59 +00:00
ndk_api_coverage_parser Remove OWNERS access for non-build team people to core build system 2023-02-28 19:29:47 -08:00
ndkstubgen ndkstubgen: use llndk=<version> for new llndk stub 2024-03-14 06:06:26 +09:00
symbolfile ndkstubgen: use llndk=<version> for new llndk stub 2024-03-14 06:06:26 +09:00
afdo.go Remove fdoProfileMutator 2024-02-09 13:49:02 -08:00
afdo_test.go Fix TestAfdoDeps for darwin 2024-02-09 12:22:13 -08:00
Android.bp Implement cc_cmake_snapshot 2024-05-09 15:25:27 -07:00
androidmk.go Remove VNDK related code from Soong 2024-06-05 01:22:58 +00:00
api_level.go Revert "Revert "Set VIC as minimum SDK version for riscv64"" 2023-07-26 09:47:10 -07:00
binary.go rust: made-to-order rust staticlibs 2024-05-16 13:00:43 -04:00
binary_sdk_member.go
binary_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
builder.go Only generate kythe xrefs on the primary module 2024-06-11 11:50:47 -07:00
cc.go Add "Optimize_for_size" build property am: 5786f5cf1d 2024-06-11 06:11:11 +00:00
cc_test.go Remove VNDK related code from Soong 2024-06-05 01:22:58 +00:00
cc_test_only_property_test.go Add test-only for test-per-src cc modules 2024-04-15 23:21:23 +00:00
ccdeps.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
check.go Relax cflag checks for -Xclang and -target* 2024-07-12 03:43:55 +00:00
cmake_ext_add_aidl_library.txt cc_cmake_snapshot: improve support for AIDL 2024-05-14 13:45:34 -07:00
cmake_ext_append_flags.txt Implement cc_cmake_snapshot 2024-05-09 15:25:27 -07:00
cmake_main.txt Enable cmake testing 2024-06-11 13:36:20 -07:00
cmake_module_aidl.txt cc_cmake_snapshot: improve support for AIDL 2024-05-14 13:45:34 -07:00
cmake_module_cc.txt Make the cflags property configurable 2024-06-13 14:51:14 -07:00
cmake_snapshot.go Make the cflags property configurable 2024-06-13 14:51:14 -07:00
cmake_snapshot_test.go Disable cc_cmake_snapshot outside of Linux 2024-05-10 21:32:23 +00:00
cmakelists.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
compdb.go Add global C flags to compile_commands 2024-04-02 13:58:13 -07:00
compiler.go Merge "Remove debug/release cflags" into main 2024-06-14 21:15:15 +00:00
compiler_test.go
coverage.go Merge "Only link the profile extras lib for device variant." into main 2024-02-12 18:12:14 +00:00
fdo_profile.go Remove fdoProfileMutator 2024-02-09 13:49:02 -08:00
fuzz.go Move sanitizer.libraries.txt logic into Soong 2024-05-23 17:50:46 +09:00
gen.go Disable tidy checks for generated code 2024-01-10 16:29:51 +09:00
gen_test.go Add TestContext parameter to ContentFromFileRuleForTests 2023-12-03 17:22:56 -08:00
generated_cc_library.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
genrule.go Merge "cc: Make cc_genrule defaultable" into main 2024-06-14 17:17:17 +00:00
genrule_test.go Remove VNDK information from CC and APEX tests 2024-03-28 15:15:01 +09:00
image.go Merge "Cleanup ImageInterface.SetImageVariation" into main am: 77858402e4 2024-06-14 04:29:12 +00:00
image_sdk_traits.go
installer.go Split usage of UseVndk 2024-01-09 11:37:14 +09:00
kernel_headers.go "master" was renamed "main". 2024-01-09 22:09:07 +00:00
library.go Merge "Make the cflags property configurable" into main am: 1b0d92919d 2024-06-14 03:08:08 +00:00
library_headers.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
library_headers_test.go Make more cc tests parallel 2022-12-05 13:43:29 -05:00
library_sdk_member.go Convert OtherModuleProvider to generic providers API 2023-12-14 16:12:22 -08:00
library_stub.go Cleanup ImageInterface.SetImageVariation 2024-06-13 21:56:23 +00:00
library_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
linkable.go Remove VNDK related code from Soong 2024-06-05 01:22:58 +00:00
linker.go Ignore_max_page_size option. 2024-06-04 01:27:30 +00:00
llndk_library.go [conflict] Merge "PrebuildEtcModule no longer implements OutputFiles method" into main am: 3125b75d5d 2024-06-11 18:18:14 +00:00
lto.go Merge "Revert^4 "Enable full LTO optimization by default"" into main 2024-06-14 21:54:50 +00:00
lto_test.go Convert LTO mutators to TransitionMutator 2024-01-26 11:06:45 -08:00
makevars.go Move sanitizer.libraries.txt logic into Soong 2024-05-23 17:50:46 +09:00
native_bridge_sdk_trait.go
ndk_abi.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
ndk_headers.go Reland "Use cp instead of install for ndk_headers" 2024-04-04 22:39:45 +00:00
ndk_library.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
ndk_prebuilt.go Convert SetProvider to generic providers API 2023-12-14 16:12:20 -08:00
ndk_sysroot.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
ndk_test.go Add a property in ndk_library for header contributions 2022-08-30 18:24:40 +00:00
object.go Use ModuleInfoJSONProvider for cc modules 2024-01-02 16:06:09 -08:00
object_test.go Remove VNDK information from CC and APEX tests 2024-03-28 15:15:01 +09:00
orderfile.go Convert orderfile mutators to TransitionMutator 2024-01-26 11:06:45 -08:00
orderfile_test.go gofmt soong 2023-10-18 17:42:59 -07:00
OWNERS Remove OWNERS access for non-build team people to core build system 2023-02-28 19:29:47 -08:00
prebuilt.go Merge "soong: Use the CpExecutable rule for copying libraries" into main 2024-05-01 18:20:41 +00:00
prebuilt_test.go Support partial module variants with apex_contributions 2024-03-04 08:39:20 +00:00
proto.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
proto_test.go
pylintrc
rs.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
sabi.go Ensure opt-in platform ABI dumps are configured with ref_dump_dirs 2024-05-09 18:24:06 +08:00
sanitize.go [conflict] Merge "PrebuildEtcModule no longer implements OutputFiles method" into main am: 3125b75d5d 2024-06-11 18:18:14 +00:00
sanitize_test.go Convert ModuleProvder to generic providers API 2023-12-14 16:12:22 -08:00
sdk.go Don't install sdk variants, not platform variants 2024-05-08 11:29:11 +09:00
sdk_test.go Install sdk variants in unbundled builds and package uninstallable variants 2023-05-02 15:37:26 +00:00
snapshot_prebuilt.go Deprecate Snapshot build 2024-04-05 01:56:56 +00:00
stl.go Define libc++ config macros to nothing 2024-02-28 19:14:24 -08:00
strip.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
stub_library.go Generate vendor specific STUB_LIBRARIES 2023-12-05 08:24:38 +09:00
test.go Add $ORIGIN to rpath for cc_test modules 2024-05-10 20:27:32 +00:00
test_data_test.go
testing.go Remove VNDK related code from Soong 2024-06-05 01:22:58 +00:00
tidy.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
tidy_test.go Disable tidy checks for generated code 2024-01-10 16:29:51 +09:00
util.go Add clang_verify property for cc. 2024-05-21 11:31:48 +08:00
vendor_public_library.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
vendor_public_library_test.go Remove VNDK information from CC and APEX tests 2024-03-28 15:15:01 +09:00
vndk.go PrebuildEtcModule no longer implements OutputFiles method 2024-06-10 15:17:07 -07:00
vndk_prebuilt.go Remove VNDK related code from Soong 2024-06-05 01:22:58 +00:00