add external

Signed-off-by: liuwei <liuwei742@huawei.com>
Change-Id: I22dfb4f688f522a7e8fc0b69b3e1a6cb7724d140
This commit is contained in:
liuwei 2023-07-01 19:04:53 +08:00
parent b8c6523570
commit 8687a39cb7
2 changed files with 17 additions and 1 deletions

View File

@ -296,6 +296,16 @@
],
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/glfw_render_context:libglfw_render_context",
"header": {
"header_files": [
"export/glfw_render_context.h"
],
"header_base": "/foundation/graphic/graphic_2d/rosen/modules/glfw_render_context"
}
}
],
"test": [

View File

@ -39,6 +39,12 @@
#include <mutex>
#endif
#ifdef _WIN32
#define RS_EXPORT __attribute__((dllexport))
#else
#define RS_EXPORT __attribute__((visibility("default")))
#endif
namespace OHOS {
/**
* @ingroup SmartPointer
@ -376,7 +382,7 @@ private:
* @note All classes which intend to be managed by smart pointers should be
* derived from RefBase.
*/
class RefBase {
class RS_EXPORT RefBase {
public:
RefBase();