diff options
author | rosica <rosica@google.com> | 2018-05-16 06:35:25 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-05-16 06:37:45 -0700 |
commit | d0561c72ad15109ce4784aa26973e8c721c72591 (patch) | |
tree | b8e4912e6d5015a970c799584317e83fcad4a459 /src/main/java/com/google/devtools/build/lib/rules/android/AndroidProguardInfo.java | |
parent | 7092ed324137f03fcd34856bdb0595a1bdec3069 (diff) |
Make inclusion of the zipper executable in CcToolchain depend solely on whether FDO optimization is used (--fdo_optimize or --fdo_profile)
As part of the work of removing usage of c++ toolchain from CppConfiguration, CppConfiguration#isLLVMCompiler method needs to be removed.
Currently, CppConfiguration#shouldIncludeZipperInToolchain (former CppConfiguration#isLLVMOptimizedFdo) method uses the CppConfiguration#isLLVMCompiler method to determine whether the compiler is LLVM and conditionally includes the zipper if the compiler is LLVM and FDO optimization is in place.
Instead of rerouting the information on the compiler and FDO profile through FeatureFlagInfo, we make the inclusion of the zipper executable depend only on usage of FDO optimization.
PiperOrigin-RevId: 196819907
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/android/AndroidProguardInfo.java')
0 files changed, 0 insertions, 0 deletions