summaryrefslogtreecommitdiff
path: root/runtime/sdk_checker.h
diff options
context:
space:
mode:
author Dmitrii Ishcheikin <ishcheikin@google.com> 2024-01-30 16:11:34 +0000
committer Dmitrii Ishcheikin <ishcheikin@google.com> 2024-01-31 15:18:33 +0000
commit90bb99a6a2ba88aad18f0ed6e4ad9976bd27df34 (patch)
tree1f4032567bb07e0f5c68e6b6a73e5df65d6a193e /runtime/sdk_checker.h
parent920411750578747b68d9f51551296125c46a0187 (diff)
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
Diffstat (limited to 'runtime/sdk_checker.h')
-rw-r--r--runtime/sdk_checker.h5
1 files changed, 3 insertions, 2 deletions
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