Removing NaCL support and renaming symbols from dynamic_annotations.
Chromium already has dynamic_annotations in //base/third_party and the Abseil version causes ODR violations and macros conflicts. On top of that, the Abseil version wants to include a NaCL header but the build environment does not configure the correct include path. Since NaCL doesn't need dynamic_annotations (see [1]) and they are also deprecated from Chromium (see [2]), this CL renames all the functions and the macros defined by the Abseil copy and confines the usage of Abseil's dynamic_annotations to Abseil itself (using GN visibility). When Abseil will be rolled into Chromium's third_party, a script will take care of renaming everything. [1] - https://cs.chromium.org/chromium/src/base/third_party/dynamic_annotations/BUILD.gn?l=6&rcl=b3c2f366fdcdbe3388b3fda45ae475d4e66dfa88 [2] - https://cs.chromium.org/chromium/src/base/third_party/dynamic_annotations/README.chromium?l=6&rcl=6ef06b461ccae125f8c8d6e33dde10c550ff3780 Bug: webrtc:8821 Change-Id: I83a4b6caafc30e457cf67fa21eaea9d071a9eecf Reviewed-on: https://chromium-review.googlesource.com/1049628Reviewed-by:Patrik Höglund <phoglund@chromium.org> Commit-Queue: Mirko Bonadei <mbonadei@chromium.org> Cr-Commit-Position: refs/heads/master@{#558227}
Showing
This diff is collapsed.
Please register or sign in to comment