diff --git a/bundle.json b/bundle.json index 80c4a610936616f4779d73a67ee5f3dd567a8fd9..dbf66501448d9521afdc7326ad265a93c843b143 100644 --- a/bundle.json +++ b/bundle.json @@ -44,6 +44,9 @@ }, { "name": "//arkcompiler/ets_frontend/ets2panda:libes2panda_public" + }, + { + "name": "//arkcompiler/ets_frontend/ets2panda:libes2panda_public_headers" } ], "test": [ diff --git a/ets2panda/BUILD.gn b/ets2panda/BUILD.gn index d464559f732737814b2d9b5e74bd056840cc2094..5e8277ab2000b2d7a8353da0a80bea454568b11e 100644 --- a/ets2panda/BUILD.gn +++ b/ets2panda/BUILD.gn @@ -1229,6 +1229,15 @@ ohos_shared_library("libes2panda_public") { subsystem_name = "arkcompiler" } +if (!(defined(ark_static_standalone_build) && ark_static_standalone_build)) { + ohos_shared_headers("libes2panda_public_headers") { + include_dirs = [ "$ark_es2panda_root/public" ] + deps = [ ":libes2panda_public" ] + part_name = "ets_frontend" + subsystem_name = "arkcompiler" + } +} + action("generate_ets2panda_info") { script = "$ark_root/gn/build/es2panda_info.sh" outputs = [ "$target_gen_dir/generated/es2panda_build_info.h" ]