From 90bb99a6a2ba88aad18f0ed6e4ad9976bd27df34 Mon Sep 17 00:00:00 2001 From: Dmitrii Ishcheikin Date: Tue, 30 Jan 2024 16:11:34 +0000 Subject: Add visibility attributes in runtime/s* Bug: 260881207 Test: presubmit Test: abtd app_compat_drm Test: abtd app_compat_top_100 Test: abtd app_compat_banking Change-Id: Ib074e7b5ab0725fea5640ed7deaac3452fc27864 --- runtime/sdk_checker.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'runtime/sdk_checker.h') diff --git a/runtime/sdk_checker.h b/runtime/sdk_checker.h index 8d82237a60..6bd0b2a15b 100644 --- a/runtime/sdk_checker.h +++ b/runtime/sdk_checker.h @@ -20,9 +20,10 @@ #include "art_field.h" #include "art_method.h" #include "base/locks.h" +#include "base/macros.h" #include "dex/dex_file.h" -namespace art { +namespace art HIDDEN { /** * The SdkChecker verifies if a given symbol is present in a given classpath. @@ -43,7 +44,7 @@ class SdkChecker { // format is the same as the classpath format (e.g. `dex1:dex2:dex3`). The // method will attempt to open the dex files and if there are errors it will // return a nullptr and set the error_msg appropriately. - static SdkChecker* Create(const std::string& public_sdk, std::string* error_msg); + EXPORT static SdkChecker* Create(const std::string& public_sdk, std::string* error_msg); // Verify if it should deny access to the given methods. // The decision is based on whether or not any of the API dex files declares a method -- cgit v1.2.3-59-g8ed1b