mirror of
https://gitee.com/openharmony/advertising_ads_framework
synced 2024-11-27 00:50:27 +00:00
commit
2055c135af
94
bundle.json
94
bundle.json
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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")
|
||||
|
@ -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"
|
||||
|
@ -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")
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user