!119 各部件独立编译

Merge pull request !119 from zjl0222/master
This commit is contained in:
openharmony_ci 2024-11-22 08:33:06 +00:00 committed by Gitee
commit 2055c135af
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
6 changed files with 52 additions and 57 deletions

View File

@ -1,52 +1,52 @@
{
"name": "@ohos/advertising",
"description": "Allowing apps to use OS AD request and show ads",
"version": "3.2",
"license": "Apache License 2.0",
"publishAs": "code-segment",
"segment": {
"destPath": "domains/advertising/advertising"
"name": "@ohos/advertising",
"description": "Allowing apps to use OS AD request and show ads",
"version": "3.2",
"license": "Apache License 2.0",
"publishAs": "code-segment",
"segment": {
"destPath": "domains/advertising/advertising"
},
"dirs": {},
"scripts": {},
"component": {
"name": "advertising",
"subsystem": "advertising",
"syscap": [
"SystemCapability.Advertising.Ads"
],
"features": [
],
"adapted_system_type": [
"standard"
],
"rom":"300KB",
"ram":"1024KB",
"deps": {
"components": [
"ability_base",
"ability_runtime",
"ace_engine",
"bundle_framework",
"cJSON",
"c_utils",
"config_policy",
"ipc",
"hilog",
"napi",
"safwk",
"samgr",
"libuv"
],
"third_party": [
]
},
"dirs": {},
"scripts": {},
"component": {
"name": "advertising",
"subsystem": "advertising",
"syscap": [
"SystemCapability.Advertising.Ads"
],
"features": [
],
"adapted_system_type": [
"standard"
],
"rom":"300KB",
"ram":"1024KB",
"deps": {
"components": [
"ability_base",
"ability_runtime",
"ace_engine",
"bundle_framework",
"cJSON",
"c_utils",
"config_policy",
"ipc",
"hilog",
"napi",
"safwk",
"samgr"
],
"third_party": [
"libuv"
]
},
"build": {
"sub_component": [
"//domains/advertising/advertising:advertising_native_packages",
"//domains/advertising/advertising:advertising_ffi_packages"
]
}
"build": {
"sub_component": [
"//domains/advertising/advertising:advertising_native_packages"
]
}
}
}

View File

@ -20,7 +20,6 @@ config("common_config") {
"ipc/include",
"log/include",
"model/include",
"//commonlibrary/c_utils/base/include",
]
}
@ -49,11 +48,11 @@ ohos_source_set("advertising_common") {
"bundle_framework:appexecfwk_base",
"bundle_framework:appexecfwk_core",
"cJSON:cjson",
"c_utils:utilsbase",
"hilog:libhilog",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
]
part_name = "advertising"
}

View File

@ -13,8 +13,6 @@
import("//build/config/components/ets_frontend/es2abc_config.gni")
import("//build/ohos.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
es2abc_gen_abc("gen_adcomponent_abc") {
src_js = rebase_path("adcomponent.js")
dst_file = rebase_path(target_out_dir + "/adcomponent.abc")

View File

@ -85,7 +85,6 @@ ohos_shared_library("advertising") {
":advertising_abc",
":advertising_js",
"${advertising_common_path}:advertising_common",
"//third_party/libuv:uv_static",
]
external_deps = [
@ -102,7 +101,10 @@ ohos_shared_library("advertising") {
"config_policy:configpolicy_util",
"hilog:libhilog",
"ipc:ipc_core",
"libuv:uv_static",
"napi:ace_napi",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
]
relative_install_dir = "module"

View File

@ -13,7 +13,6 @@
import("//build/config/components/ets_frontend/es2abc_config.gni")
import("//build/ohos.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
es2abc_gen_abc("gen_autoadcomponent_abc") {
src_js = rebase_path("autoadcomponent.js")

View File

@ -80,10 +80,7 @@ ohos_shared_library("libadsservice_extension") {
config("adsservice_extension_module_private_config") {
visibility = [ ":*" ]
include_dirs = [
"include",
"${ability_runtime_path}/interfaces/kits/native/ability/ability_runtime",
]
include_dirs = [ "include" ]
}
## Build libadsservice_extension_module.so