platform_build_soong/cc
Pirama Arumuga Nainar fb7f985c84 Use a versioned profile file if available
Bug: http://b/74395273

Update profile-search logic to look for profile files named
<profile_file>.<arbitrary-version> in the profileProject and use that if
available.  This works around an issue where ccache serves stale cache
entries when the profile file has changed.

Test: touch toolchain/pgo-profiles/art/dex2oat.profdata.foo and check it
gets used.

Change-Id: I3de095c263b952cede25af7d0b63dc7280914d76
Merged-In: I3de095c263b952cede25af7d0b63dc7280914d76
(cherry picked from commit 8aed42c798)
2018-03-09 13:18:28 -08:00
..
config Switch back to clang-4639204. 2018-03-08 13:36:22 -08:00
libbuildversion add a library to report build numbers without causing rebuilds 2018-03-02 16:55:51 -08:00
androidmk.go Add target_arch to vndk prebuilt module name 2018-01-04 11:02:39 +09:00
binary.go add a library to report build numbers without causing rebuilds 2018-03-02 16:55:51 -08:00
builder.go Create a make variable for all lsdump files. 2018-03-01 17:19:25 -08:00
cc.go No abi diffing for vndk libraries which are not vendor available. 2018-03-07 11:12:41 -08:00
cc_test.go Support VNDK extensions 2018-01-23 01:40:54 +00:00
check.go Allow macro definition with space 2017-10-19 22:39:32 +09:00
cmakelists.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
compiler.go Use the platform -std= for sdk_version. 2018-02-20 15:27:45 +00:00
coverage.go Add VisitDirectDepsWithTag 2018-01-02 18:23:43 -08:00
gen.go Add proto.canonical_path_from_root 2018-02-22 16:48:35 -08: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 cc_genrule 2017-09-18 23:33:25 -07: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 add a library to report build numbers without causing rebuilds 2018-03-02 16:55:51 -08:00
library_test.go Add cc_library tests 2017-11-17 11:22:04 -08:00
linker.go add a library to report build numbers without causing rebuilds 2018-03-02 16:55:51 -08:00
llndk_library.go Turn GlobFiles into a Glob for files, use it 2018-03-01 14:05:20 -08:00
lto.go Disable inlining and loop unrolling in LTO without PGO profile 2018-02-14 21:21:23 +08:00
makevars.go Create a make variable for all lsdump files. 2018-03-01 17:19:25 -08:00
ndk_headers.go Turn GlobFiles into a Glob for files, use it 2018-03-01 14:05:20 -08:00
ndk_library.go Add compile-time pathDeps as implicit dependencies 2017-12-19 15:44:38 -08:00
ndk_prebuilt.go Remove support for stlport. 2018-01-05 10:59:33 -08:00
ndk_sysroot.go Allow NDK static libraries to use the NDK sysroot. 2017-12-14 14:13:56 -08:00
object.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
pgo.go Use a versioned profile file if available 2018-03-09 13:18:28 -08:00
prebuilt.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
proto.go Add proto.canonical_path_from_root 2018-02-22 16:48:35 -08:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
relocation_packer.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
rs.go Add system_$(VER) 2017-12-01 00:41:59 +00:00
sabi.go Create a make variable for all lsdump files. 2018-03-01 17:19:25 -08:00
sanitize.go Fix llvm-ar error caused by using lto and sanitizer together 2018-02-14 21:21:14 +08:00
stl.go Use the platform -std= for sdk_version. 2018-02-20 15:27:45 +00:00
strip.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
test.go Fix NDK gtest name. 2018-02-21 22:54:18 +00:00
test_data_test.go Let tests override environment 2017-10-10 23:28:43 -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 Call clang-tidy with -fno-caret-diagnostics by default. 2018-01-04 01:41:16 -08:00
toolchain_library.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
util.go Add proto.canonical_path_from_root 2018-02-22 16:48:35 -08:00
vndk.go Only emit enabled VNDK libraries 2018-02-16 22:16:29 +09:00
vndk_prebuilt.go Skip installing the VNDK prebuilt if arch does not match 2018-01-24 07:52:47 +09:00