diff --git a/libabckit/BUILD.gn b/libabckit/BUILD.gn index 910d03d9532720e418bf9468bf4cc7625a96e2cc..a06e492387c76af1a6b3f81f2599a2165696ae55 100644 --- a/libabckit/BUILD.gn +++ b/libabckit/BUILD.gn @@ -75,6 +75,7 @@ group("abckit_packages") { deps = [ "abckit:abckit(${host_toolchain})", "src:libabckit", + "src:libabckit_static", ] } } diff --git a/libabckit/src/BUILD.gn b/libabckit/src/BUILD.gn index 23833d9f0fdb7cab34ec9894ec5fe9b886428b24..f9b95dfd9df98ac9acb5a7cf4d59ae1495548cfd 100644 --- a/libabckit/src/BUILD.gn +++ b/libabckit/src/BUILD.gn @@ -148,3 +148,27 @@ ohos_source_set("libabckit_mock") { part_name = "runtime_core" subsystem_name = "arkcompiler" } + +group("libabckit_all") { + deps = [] + deps += libabckit_so_deps + deps += [":libabckit_source_set"] + deps += [ + "$ark_root_static/abc2program:arkts_abc2program_static", + "$ark_root_static/assembler:libarktsassembler_frontend_static", + "$ark_root_static/bytecode_optimizer:libarktsbytecodeopt_frontend_static", + "$ark_root_static/libpandabase:libarktsbase_frontend_static", + "$ark_root_static/libarkfile:libarktsfile_frontend_static", + ] +} + +ohos_static_library("libabckit_static") { + deps = [":libabckit_all"] + include_dirs = libabckit_include_dirs + configs = [ "$abckit_root:abckit_config" ] + + complete_static_lib = true + + part_name = "runtime_core" + subsystem_name = "arkcompiler" +}