diff options
author | Matthias Maennich <maennich@google.com> | 2021-11-16 13:10:05 +0000 |
---|---|---|
committer | Matthias Maennich <maennich@google.com> | 2021-11-16 13:21:38 +0000 |
commit | 495fb8609497b66e5908ccbf27f0d8ea9d7b0bae (patch) | |
tree | 378d23b443ad256cb8880504e514aa26ceae21de /order_test.cc | |
parent | 2b160110f3c98107fe0a983dcb83456c74e7a84f (diff) | |
download | stg-495fb8609497b66e5908ccbf27f0d8ea9d7b0bae.tar.gz |
Adopt generic system include paths for libabigail headers
When including libabigail headers, the idiomatic way is to use the
prefixed system include, usually residing in /usr/include/libabigail and
included as -I/usr/include/libabigail:
#include <abg-*>
For the soong build, we can set up this include path easily by exporting
the required headers from libabigail. There is one caveat: headers
included via libabigail/src/abg-* are usually not part of the
distribution and unlikely to be found in /usr/include/libabigail or
equivalent. This is somewhat a special case where we are using an
internal header (and it is actually perfectly fine).
For soong we can set up the build as if it were exposed by the
libabigail library and we should be good then.
For now, teach copybara to rewrite headers accordingly.
PiperOrigin-RevId: 410224217
Change-Id: I5f8e64ffc9f8bf3bdbb6d1755d0fff6082022690
Diffstat (limited to 'order_test.cc')
-rw-r--r-- | order_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/order_test.cc b/order_test.cc index 1e03739..e132707 100644 --- a/order_test.cc +++ b/order_test.cc @@ -28,7 +28,7 @@ #include <utility> #include <vector> -#include <libabigail/tests/lib/catch.hpp> +#include <catch/catch.hpp> namespace Test { |