diff --git a/bundle.json b/bundle.json index 142291a602d1816d52b25cde51f9854cbe80013b..cb84709412df65c2d790535f36b0269940b4898b 100644 --- a/bundle.json +++ b/bundle.json @@ -45,6 +45,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 8531d0d81baf61acf68623ac043e32475802e07f..3d0edbd38407364f795d87018815842a84be1029 100644 --- a/ets2panda/BUILD.gn +++ b/ets2panda/BUILD.gn @@ -1187,6 +1187,15 @@ ohos_shared_library("libes2panda_public") { subsystem_name = "arkcompiler" } +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" ]