AIDEGen: Add "-fprofile-sample-use" parameter into category.

"-fprofile-sample-use" parameter needs to be added to
categorizeParameter function.

Bug: 181817731
Test: 1. aidegen -a -i c art build bootable frameworks/base/core libnativehelper external/protobuf external/gflags external/googletest hardware/interfaces/health packages/modules/Gki system/apex system/core/fastboot system/core/fs_mgr system/core/healthd system/core/init system/core/libbinderwrapper system/core/libcutils system/core/liblog system/core/libprocessgroup system/core/libutils system/core/property_service system/core/rootdir system/core/storaged system/extras system/gsid system/hwservicemanager system/libbase system/libhidl system/libhwbinder system/libvintf system/sepolicy system/update_engine test tools
      2. CLion launched without errors in 'CMake' tag.
Change-Id: I4e9b0fd19fe00d23a9aa535b1ab7ade9c4a46f69
This commit is contained in:
bralee 2021-03-08 09:25:50 +08:00
parent 6d3e726887
commit c117f6fc00
1 changed files with 3 additions and 0 deletions

View File

@ -319,6 +319,9 @@ func categorizeParameter(parameter string) parameterType {
if strings.HasPrefix(parameter, "-fsanitize-blacklist") { if strings.HasPrefix(parameter, "-fsanitize-blacklist") {
return relativeFilePathFlag return relativeFilePathFlag
} }
if strings.HasPrefix(parameter, "-fprofile-sample-use") {
return relativeFilePathFlag
}
return flag return flag
} }