提交 f183d896 编写于 作者: T the-minions-of-cplu

change third_party's parts_name to common and remove i18n.gni

Signed-off-by: Nthe-minions-of-cplu <jinqi2@huawei.com>
上级 0995df20
......@@ -40,7 +40,7 @@
"syscap": [
"SystemCapability.I18N"
],
"features": ["i18n_standard_telephone_core_service_exists"],
"features": [],
"adapted_system_type": [
"standard"
],
......@@ -60,7 +60,8 @@
"libhilog",
"samgr_proxy",
"ace_napi",
"base"
"base",
"common"
],
"third_party": [
"icu",
......@@ -72,8 +73,7 @@
"sub_component": [
"//base/global/i18n_standard/frameworks/zone:zone_util",
"//base/global/i18n_standard/frameworks/intl:build_module",
"//base/global/i18n_standard/interfaces/js/kits:build_module",
"//third_party/icu/icu4c:ohos_icudat"
"//base/global/i18n_standard/interfaces/js/kits:build_module"
],
"inner_kits": [
{
......
......@@ -11,7 +11,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//base/global/i18n_standard/i18n.gni")
import("//build/ohos.gni")
group("build_module") {
......@@ -88,6 +87,7 @@ ohos_shared_library("intl_util") {
":forbidden_regions_xml",
":language_config.para",
":white_languages_xml",
"//third_party/icu/icu4c:ohos_icudat",
"//third_party/icu/icu4c:shared_icui18n",
"//third_party/icu/icu4c:shared_icuuc",
"//third_party/libphonenumber/cpp:phonenumber_standard",
......@@ -99,7 +99,8 @@ ohos_shared_library("intl_util") {
"startup_l2:syspara",
"utils_base:utils",
]
if (i18n_standard_telephony_core_service_exists) {
if (defined(global_parts_info) &&
defined(global_parts_info.telephony_core_service)) {
external_deps += [ "core_service:tel_core_service_api" ]
cflags_cc += [ "-DTEL_CORE_SERVICE_EXISTS" ]
}
......
......@@ -37,6 +37,7 @@ ohos_shared_library("zone_util") {
]
remove_configs = [ "//build/config/compiler:no_rtti" ]
deps = [
"//third_party/icu/icu4c:ohos_icudat",
"//third_party/icu/icu4c:shared_icui18n",
"//third_party/icu/icu4c:shared_icuuc",
"//third_party/libphonenumber/cpp:phonenumber_standard",
......
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
declare_args() {
i18n_standard_telephony_core_service_exists = true
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册