mirror of
https://gitee.com/openharmony/account_os_account
synced 2024-11-23 02:00:01 +00:00
独立编译整改-去掉编译开关
Signed-off-by: swg3156201044 <shiweigang2@huawei.com>
This commit is contained in:
parent
18d56c16be
commit
8cb085944e
@ -81,10 +81,6 @@ ohos_shared_library("account_iam_innerkits") {
|
||||
"samgr:samgr_proxy",
|
||||
]
|
||||
|
||||
if (ohos_indep_compiler_enable) {
|
||||
external_deps += [ "ability_base:want" ]
|
||||
}
|
||||
|
||||
cflags_cc = []
|
||||
if (has_pin_auth_part) {
|
||||
cflags_cc += [ "-DHAS_PIN_AUTH_PART" ]
|
||||
|
@ -85,12 +85,9 @@ ohos_shared_library("domain_account_innerkits") {
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
"ipc:ipc_single",
|
||||
"samgr:samgr_proxy",
|
||||
]
|
||||
|
||||
if (ohos_indep_compiler_enable) {
|
||||
external_deps += [ "samgr:samgr_proxy" ]
|
||||
}
|
||||
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
subsystem_name = "account"
|
||||
part_name = "os_account"
|
||||
|
@ -15,7 +15,7 @@ import("//build/ohos.gni")
|
||||
|
||||
group("napi_packages") {
|
||||
deps = []
|
||||
if (support_jsapi && !ohos_indep_compiler_enable) {
|
||||
if (support_jsapi) {
|
||||
deps += [
|
||||
"appaccount:appaccount",
|
||||
"distributedaccount:distributedaccount",
|
||||
|
@ -55,6 +55,7 @@ ohos_shared_library("account_iam_napi") {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
"ipc:ipc_core",
|
||||
"napi:ace_napi",
|
||||
]
|
||||
|
||||
|
@ -72,6 +72,7 @@ ohos_shared_library("appaccount") {
|
||||
"ability_runtime:runtime",
|
||||
"ability_runtime:service_extension",
|
||||
"ability_runtime:ui_extension",
|
||||
"ability_runtime:wantagent_innerkits",
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
"ipc:ipc_napi",
|
||||
|
@ -58,10 +58,6 @@ ohos_shared_library("distributedaccount") {
|
||||
"napi:ace_napi",
|
||||
]
|
||||
|
||||
if (ohos_indep_compiler_enable) {
|
||||
external_deps += [ "ipc:ipc_core" ]
|
||||
}
|
||||
|
||||
part_name = "os_account"
|
||||
subsystem_name = "account"
|
||||
}
|
||||
|
@ -55,13 +55,6 @@ config("accountmgr_config") {
|
||||
"${os_account_dfx_path}/hitrace_adapter",
|
||||
"${app_account_innerkits_native_path}/include",
|
||||
]
|
||||
if (ohos_indep_compiler_enable) {
|
||||
include_dirs += [
|
||||
"${binarys_path}/foundation/bundlemanager/bundle_framework/innerapis/appexecfwk_core/includes/app_control",
|
||||
"${binarys_path}/third_party/jsoncpp/innerapis/jsoncpp/includes",
|
||||
"${binarys_path}/base/useriam/user_auth_framework/innerapis/userauth_client/includes",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
config("account_iam_config") {
|
||||
@ -140,7 +133,7 @@ if (has_kv_store_part) {
|
||||
]
|
||||
}
|
||||
|
||||
if (has_user_auth_part && !ohos_indep_compiler_enable) {
|
||||
if (has_user_auth_part) {
|
||||
account_iam_sources = [
|
||||
"src/account_iam/account_iam_callback.cpp",
|
||||
"src/account_iam/account_iam_client_callback_proxy.cpp",
|
||||
@ -271,20 +264,13 @@ ohos_shared_library("accountmgr") {
|
||||
cflags_cc += [ "-DHAS_HUKS_PART" ]
|
||||
}
|
||||
|
||||
if (ohos_indep_compiler_enable) {
|
||||
external_deps += [
|
||||
"ability_base:session_info",
|
||||
"ability_runtime:ability_connect_callback_stub",
|
||||
]
|
||||
}
|
||||
|
||||
if (has_theme_mar_part) {
|
||||
external_deps += [ "theme_mgr:theme_manager_client" ]
|
||||
cflags_cc += [ "-DHAS_THEME_SERVICE_PART" ]
|
||||
}
|
||||
|
||||
configs += [ ":account_iam_config" ]
|
||||
if (has_user_auth_part && !ohos_indep_compiler_enable) {
|
||||
if (has_user_auth_part) {
|
||||
cflags_cc += [
|
||||
"-DHAS_USER_AUTH_PART",
|
||||
"-DHAS_USER_IDM_PART",
|
||||
@ -344,7 +330,7 @@ ohos_shared_library("accountmgr") {
|
||||
cflags_cc += [ "-DHICOLLIE_ENABLE" ]
|
||||
}
|
||||
|
||||
if (security_guard_enabled && !ohos_indep_compiler_enable) {
|
||||
if (security_guard_enabled) {
|
||||
external_deps += [
|
||||
"security_guard:libsg_collect_sdk",
|
||||
"time_service:time_client",
|
||||
@ -362,7 +348,7 @@ ohos_shared_library("accountmgr") {
|
||||
cflags_cc += [ "-DHAS_ASSET_PART" ]
|
||||
}
|
||||
|
||||
if (has_config_policy_part && !ohos_indep_compiler_enable) {
|
||||
if (has_config_policy_part) {
|
||||
external_deps += [ "config_policy:configpolicy_util" ]
|
||||
cflags_cc += [ "-DHAS_CONFIG_POLICY_PART" ]
|
||||
}
|
||||
|
@ -14,8 +14,5 @@
|
||||
import("//build/ohos.gni")
|
||||
|
||||
group("tools_acm") {
|
||||
deps = []
|
||||
if (!ohos_indep_compiler_enable) {
|
||||
deps += [ "acm:acm" ]
|
||||
}
|
||||
deps = [ "acm:acm" ]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user