platform_build_soong/cc
Paul Duffin 021f4e525f Fix prebuilt mutator ordering in tests
Previously, the prebuilt mutators were added by the
cc.RegisterRequiredBuildComponentsForTest() function as a convenience
but unfortunately it lead to some of the mutators being in a different
order in the tests than in the normal build.

This change:
* Extracts the RegisterPrebuiltMutators() call from
  cc.RegisterRequiredBuildComponentsForTest()
* Makes sure that the prebuilt mutators are registered before the
  visibility gatherer and enforcer mutators.

Bug: 162505935
Test: m nothing
Change-Id: I7d959b558200b502f0a5e4653c41ea01414e142a
2020-07-31 16:12:01 +01:00
..
config Rename CFI blocklist files. 2020-07-27 18:37:48 +00:00
libbuildversion Set apex_available property 2020-04-22 23:12:42 +09:00
ndk_api_coverage_parser Fix non-determinism in tests. 2020-07-16 13:23:33 -07:00
ndkstubgen Get NDK python script tests running. 2020-07-16 13:23:29 -07:00
symbolfile Get NDK python script tests running. 2020-07-16 13:23:29 -07:00
Android.bp Soong package structure refactoring 2020-06-01 13:44:48 -07:00
androidmk.go Install data_libs using relative_install_path property 2020-07-20 13:59:24 -04:00
binary.go Support multiple dists per Android.bp module, and dist output selection. 2020-06-25 12:42:07 +00:00
binary_sdk_member.go Add compile_multilib properties to all native prebuilts (reland). 2020-07-17 14:32:15 +01:00
builder.go Match Rust gcda output to cc via -Z profile-emit. 2020-06-11 17:16:27 +00:00
cc.go Inclusive fix: Replace sanity with validation in cc.go. 2020-07-28 18:35:53 +00:00
cc_test.go Create 'cc_prebuilt_test_library_shared' module type 2020-07-22 16:06:37 +00:00
ccdeps.go Add soong cc and java deps to general-tests dist 2020-07-06 16:19:56 -07:00
cflag_artifacts.go Simple refactoring of prefix related functions. 2020-02-14 14:33:49 -08:00
check.go Forbid -Weverything 2019-11-12 15:55:03 -08:00
cmakelists.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
compdb.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
compiler.go Revert "Switch cc's use of bison and flex to prebuilt_build_tool" 2020-07-24 21:25:00 +00:00
compiler_test.go Expand ClangExtraExternalCflags to non-Google vendor projects 2019-11-11 13:24:39 -08:00
coverage.go Make native_coverage clause work with ClangCoverage 2020-06-22 11:13:42 -07:00
fuzz.go add researcher_submitted field to cc_fuzz 2020-05-06 03:25:54 +00:00
gen.go Revert "Switch cc's use of bison and flex to prebuilt_build_tool" 2020-07-24 21:25:00 +00:00
gen_test.go Use empty string for core image variant 2019-12-13 20:44:36 -08:00
genrule.go Create only one vendor variant depending on path 2020-06-05 04:26:24 +00:00
genrule_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
installer.go Fix missing NOTICE targets for static libs that aren't available to 2020-04-01 11:08:41 +01:00
kernel_headers.go Change exportedDirs and exportedSystemDirs from []string to android.Paths 2019-10-25 09:52:08 +09:00
library.go Support multiple dists per Android.bp module, and dist output selection. 2020-06-25 12:42:07 +00:00
library_headers.go Add SDK member support for cc_object. 2020-03-20 00:16:14 +00:00
library_headers_test.go Add cc_prebuilt_library_headers 2020-02-24 14:49:22 +00:00
library_sdk_member.go Differentiate sdk snapshot include dir by os type 2020-07-10 12:18:03 +01:00
library_test.go Apex: support codenames for min_sdk_version 2020-04-09 16:04:17 +09:00
linkable.go Don't create version variants for SDK variants 2020-06-17 04:18:21 +00:00
linker.go Remove libc_scudo references. 2020-06-22 15:27:56 -07:00
llndk_library.go Nullify stl and sanitize of llndk_headers 2020-07-08 07:56:02 +09:00
lto.go Split local and global cflags 2019-11-07 15:27:58 -08:00
makevars.go Revert "Support per-module MakeVars" 2020-07-23 21:37:35 +00:00
ndk_headers.go Remove unused mips workarounds. 2020-03-06 18:15:44 -08:00
ndk_library.go Merge "Update language to comply with Android's inclusive language guidance" 2020-07-29 01:12:36 +00:00
ndk_prebuilt.go apex/apk: enforce min_sdk_version of all deps 2020-06-24 02:00:33 +09:00
ndk_sysroot.go Expose some factories for aidl_test.go 2019-12-09 18:21:48 +09:00
object.go Implement cc_object vendor snapshot 2020-06-05 04:26:17 +00:00
object_test.go Allow linker scripts when building objects. 2019-08-22 13:21:37 -07:00
pgo.go [pgo] Allow profile gather and use flags to coexist for sampling PGO 2020-07-22 02:01:49 +08:00
prebuilt.go Create 'cc_prebuilt_test_library_shared' module type 2020-07-22 16:06:37 +00:00
prebuilt_test.go cc_prebuilt_library respect module name and stem 2020-04-13 17:02:27 +08:00
proto.go Split local and global cflags 2019-11-07 15:27:58 -08:00
proto_test.go Use empty string for core image variant 2019-12-13 20:44:36 -08:00
pylintrc Fix pylint issues in gen_stub_libs. 2020-07-16 13:21:43 -07:00
rs.go Move/dedupe some host path functions in package_ctx.go. 2019-12-09 22:04:21 +00:00
sabi.go Revert "Also package recursive jni_libs deps of android_apps as well as direct deps." 2019-12-18 00:15:07 +00:00
sanitize.go Merge "[cc/sanitize] Add Blocklist property" 2020-07-28 17:21:59 +00:00
sdk.go Build against SDKs for native libs only for unbundled apps. 2020-06-17 04:28:27 +01:00
sdk_test.go Revert^2 "Add sdk mutator for native modules" 2020-04-07 16:50:32 +00:00
snapshot_utils.go Capture snapshot headers in parallel 2020-03-04 23:39:42 +09:00
stl.go Revert^2 "Add sdk mutator for native modules" 2020-04-07 16:50:32 +00:00
strip.go Remove use_gnu_strip option 2019-09-13 12:18:47 -07:00
sysprop.go Implement sysprop_library API stability check 2019-08-23 06:28:34 +00:00
test.go Install data_libs using relative_install_path property 2020-07-20 13:59:24 -04:00
test_data_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
testing.go Fix prebuilt mutator ordering in tests 2020-07-31 16:12:01 +01:00
tidy.go Switch to clang-r383902 (11.0.1). 2020-04-27 01:17:12 -07:00
toolchain_library.go Revert^2 "Add sdk mutator for native modules" 2020-04-07 16:50:32 +00:00
util.go Only package gcno files for gcov coverage builds. 2020-04-22 13:30:07 -07:00
vendor_public_library.go Split local and global cflags 2019-11-07 15:27:58 -08:00
vendor_snapshot.go Include shared lib in vendor snapshot if isVndkExt 2020-07-02 07:42:05 +00:00
vndk.go Update language to comply with Android's inclusive language guidance 2020-07-29 01:10:11 +08:00
vndk_prebuilt.go Implement cc_object vendor snapshot 2020-06-05 04:26:17 +00:00