Define SK_TRIVIAL_ABI in Skia's SkUserConfig.h
Skia needs to make using Clang's trivial ABI opt-in instead of opt-out, since users of Skia need to be actively aware if their build of Skia is using a non-standard ABI. Skia will allow this attribute to be set with SK_TRIVIAL_ABI, so have Chromium set this to the desired value. Change-Id: I62624aed86ed28d6dc73b363b218b8eb52286fa7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4190364 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Ben Wagner <bungeman@chromium.org> Cr-Commit-Position: refs/heads/main@{#1096291}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
6634e94965
commit
fe3014971d
@ -196,6 +196,8 @@ SK_API void SkDebugf_FileLine(const char* file,
|
||||
|
||||
#endif
|
||||
|
||||
#define SK_TRIVIAL_ABI [[clang::trivial_abi]]
|
||||
|
||||
// These flags are no longer defined in Skia, but we have them (temporarily)
|
||||
// until we update our call-sites (typically these are for API changes).
|
||||
//
|
||||
|
Reference in New Issue
Block a user