diff --git a/codec/v2_0/BUILD.gn b/codec/v2_0/BUILD.gn index 32499b3623a81dedf01481106be994d9ef483de0..c3ce9647768b06288187dc23bb1117a0ee99cca4 100644 --- a/codec/v2_0/BUILD.gn +++ b/codec/v2_0/BUILD.gn @@ -11,9 +11,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("../../../hdf_core/adapter/uhdf2/hdi.gni") +import("//build/config/components/hdi/hdi.gni") if (defined(ohos_lite)) { - group("libcodec_proxy_2.0") { + ohos_shared_library("libcodec_proxy_2.0") { deps = [] public_configs = [] } diff --git a/codec/v3_0/BUILD.gn b/codec/v3_0/BUILD.gn index ab0494dab1031c8e8303835a5c47af5bf8bbcf99..1ec67ee3f9b23f798cb47117eaf3f23b8002a563 100644 --- a/codec/v3_0/BUILD.gn +++ b/codec/v3_0/BUILD.gn @@ -11,9 +11,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("../../../hdf_core/adapter/uhdf2/hdi.gni") +import("//build/config/components/hdi/hdi.gni") if (defined(ohos_lite)) { - group("libcodec_proxy_3.0") { + ohos_shared_library("libcodec_proxy_3.0") { deps = [] public_configs = [] }