1 Star 0 Fork 12

yanansong/distributed-build

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0020-add-some-components-to-build.patch 50.01 KB
一键复制 编辑 原始数据 按行查看 历史
heppen 提交于 2023-06-20 21:56 +08:00 . add components to build
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426
From d34011ba040765c53a20df8f18e0e13c8bd5f995 Mon Sep 17 00:00:00 2001
From: heppen <hepeng68@huawei.com>
Date: Tue, 20 Jun 2023 22:50:55 +0800
Subject: [PATCH] add some components to build
---
.../security/dataclassification/bundle.json | 49 ++++
.../innerkits/datatransmitmgr/BUILD.gn | 29 +++
.../innerkits/datatransmitmgr/include | 1 +
.../base/security/device_auth/bundle.json | 64 +++++
.../security/device_auth/interfaces/innerkits | 1 +
.../security/device_auth/services/BUILD.gn | 23 ++
.../compiler_gn/base/startup/init/bundle.json | 77 ++++++
.../init/interfaces/innerkits/BUILD.gn | 43 ++++
.../startup/init/interfaces/innerkits/include | 1 +
.../commonlibrary/c_utils/base/BUILD.gn | 33 +++
.../commonlibrary/c_utils/base/include | 1 +
.../commonlibrary/c_utils/bundle.json | 103 ++++++++
.../communication/dsoftbus/BUILD.gn | 20 ++
.../communication/dsoftbus/bundle.json | 86 +++++++
.../dsoftbus/interfaces/inner_kits/transport | 1 +
.../interfaces/kits/bus_center/include | 1 +
.../dsoftbus/interfaces/kits/common/include | 1 +
.../interfaces/kits/discovery/include | 1 +
.../interfaces/kits/transport/include | 1 +
.../communication/dsoftbus/sdk/BUILD.gn | 36 +++
.../foundation/communication/ipc/BUILD.gn | 29 +++
.../foundation/communication/ipc/bundle.json | 103 ++++++++
.../interfaces/innerkits/ipc_core/BUILD.gn | 30 +++
.../ipc/interfaces/innerkits/ipc_core/include | 1 +
.../interfaces/innerkits/ipc_single/BUILD.gn | 27 ++
.../interfaces/innerkits/libdbinder/BUILD.gn | 31 +++
.../interfaces/innerkits/libdbinder/include | 1 +
.../device_manager/bundle.json | 3 -
.../interfaces/inner_kits/native_cpp/include | 1 +
.../innerkits/safwk/system_ability.h | 1 +
.../bounds_checking_function/BUILD.gn | 6 +-
.../compiler_gn/third_party/json/include | 1 +
.../third_party/json/single_include | 1 +
.../compiler_gn/third_party/openssl/BUILD.gn | 39 +++
.../third_party/openssl/include/openssl | 1 +
.../vendor/openeuler/openeuler/config.json | 232 ++++++++++--------
36 files changed, 977 insertions(+), 102 deletions(-)
create mode 100644 openeuler/compiler_gn/base/security/dataclassification/bundle.json
create mode 100644 openeuler/compiler_gn/base/security/dataclassification/interfaces/innerkits/datatransmitmgr/BUILD.gn
create mode 120000 openeuler/compiler_gn/base/security/dataclassification/interfaces/innerkits/datatransmitmgr/include
create mode 100644 openeuler/compiler_gn/base/security/device_auth/bundle.json
create mode 120000 openeuler/compiler_gn/base/security/device_auth/interfaces/innerkits
create mode 100644 openeuler/compiler_gn/base/security/device_auth/services/BUILD.gn
create mode 100644 openeuler/compiler_gn/base/startup/init/bundle.json
create mode 100644 openeuler/compiler_gn/base/startup/init/interfaces/innerkits/BUILD.gn
create mode 120000 openeuler/compiler_gn/base/startup/init/interfaces/innerkits/include
create mode 100644 openeuler/compiler_gn/commonlibrary/c_utils/base/BUILD.gn
create mode 120000 openeuler/compiler_gn/commonlibrary/c_utils/base/include
create mode 100644 openeuler/compiler_gn/commonlibrary/c_utils/bundle.json
create mode 100644 openeuler/compiler_gn/foundation/communication/dsoftbus/BUILD.gn
create mode 100644 openeuler/compiler_gn/foundation/communication/dsoftbus/bundle.json
create mode 120000 openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/inner_kits/transport
create mode 120000 openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/bus_center/include
create mode 120000 openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/common/include
create mode 120000 openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/discovery/include
create mode 120000 openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/transport/include
create mode 100644 openeuler/compiler_gn/foundation/communication/dsoftbus/sdk/BUILD.gn
create mode 100644 openeuler/compiler_gn/foundation/communication/ipc/BUILD.gn
create mode 100644 openeuler/compiler_gn/foundation/communication/ipc/bundle.json
create mode 100644 openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/ipc_core/BUILD.gn
create mode 120000 openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/ipc_core/include
create mode 100644 openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/ipc_single/BUILD.gn
create mode 100644 openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/libdbinder/BUILD.gn
create mode 120000 openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/libdbinder/include
create mode 120000 openeuler/compiler_gn/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include
create mode 120000 openeuler/compiler_gn/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/system_ability.h
create mode 120000 openeuler/compiler_gn/third_party/json/include
create mode 120000 openeuler/compiler_gn/third_party/json/single_include
create mode 100644 openeuler/compiler_gn/third_party/openssl/BUILD.gn
create mode 120000 openeuler/compiler_gn/third_party/openssl/include/openssl
diff --git a/openeuler/compiler_gn/base/security/dataclassification/bundle.json b/openeuler/compiler_gn/base/security/dataclassification/bundle.json
new file mode 100644
index 0000000..d0efa8f
--- /dev/null
+++ b/openeuler/compiler_gn/base/security/dataclassification/bundle.json
@@ -0,0 +1,49 @@
+{
+ "name": "@ohos/dataclassification",
+ "description": "data transmission control",
+ "version": "3.1",
+ "license": "Apache License 2.0",
+ "publishAs": "code-segment",
+ "segment": {
+ "destPath": "base/security/dataclassification"
+ },
+ "dirs": {},
+ "scripts": {},
+ "component": {
+ "name": "dataclassification",
+ "subsystem": "security",
+ "syscap": [
+ "SystemCapability.Security.DataTransitManager"
+ ],
+ "features": [
+ "dataclassification_datatransmitmgr"
+ ],
+ "adapted_system_type": [
+ "standard"
+ ],
+ "rom": "50KB",
+ "ram": "50KB",
+ "deps": {
+ "components": [
+ "device_security_level",
+ "hiviewdfx_hilog_native"
+ ],
+ "third_party": []
+ },
+ "build": {
+ "sub_component": [
+ ],
+ "inner_kits": [
+ {
+ "name": "//base/security/dataclassification/interfaces/innerkits/datatransmitmgr:data_transit_mgr",
+ "header": {
+ "header_files": [
+ "dev_slinfo_mgr.h"
+ ],
+ "header_base": "//base/security/dataclassification/interfaces/innerkits/datatransmitmgr/include"
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/openeuler/compiler_gn/base/security/dataclassification/interfaces/innerkits/datatransmitmgr/BUILD.gn b/openeuler/compiler_gn/base/security/dataclassification/interfaces/innerkits/datatransmitmgr/BUILD.gn
new file mode 100644
index 0000000..f0d5bd6
--- /dev/null
+++ b/openeuler/compiler_gn/base/security/dataclassification/interfaces/innerkits/datatransmitmgr/BUILD.gn
@@ -0,0 +1,29 @@
+# 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.
+
+import("//build/ohos.gni")
+
+################################################################
+# C, Main source file here.
+################################################################
+config("datatransmitmgr_config") {
+ include_dirs = [ "include" ]
+}
+
+ohos_prebuilt_shared_library("data_transit_mgr") {
+ source = "/usr/lib64/libdata_transit_mgr.z.so"
+ public_configs = [ ":datatransmitmgr_config" ]
+ subsystem_name = "security"
+ part_name = "dataclassification"
+ install_enable = false
+}
\ No newline at end of file
diff --git a/openeuler/compiler_gn/base/security/dataclassification/interfaces/innerkits/datatransmitmgr/include b/openeuler/compiler_gn/base/security/dataclassification/interfaces/innerkits/datatransmitmgr/include
new file mode 120000
index 0000000..ddadbd2
--- /dev/null
+++ b/openeuler/compiler_gn/base/security/dataclassification/interfaces/innerkits/datatransmitmgr/include
@@ -0,0 +1 @@
+/usr/include/dataclassification
\ No newline at end of file
diff --git a/openeuler/compiler_gn/base/security/device_auth/bundle.json b/openeuler/compiler_gn/base/security/device_auth/bundle.json
new file mode 100644
index 0000000..29de22b
--- /dev/null
+++ b/openeuler/compiler_gn/base/security/device_auth/bundle.json
@@ -0,0 +1,64 @@
+{
+ "name": "@ohos/deviceauth",
+ "version": "3.1",
+ "description": "The device authentication module belongs to the security subsystem of OpenHarmony. It manages the entire lifecycle of trust relationships between devices.",
+ "publishAs": "code-segment",
+ "segment": {
+ "destPath": "base/security/device_auth"
+ },
+ "dirs": {},
+ "scripts": {},
+ "author": {},
+ "repository": "",
+ "license": "Apache License 2.0",
+ "component": {
+ "name": "device_auth",
+ "subsystem": "security",
+ "syscap": [ "SystemCapability.Security.DeviceAuth" ],
+ "features": [],
+ "adapted_system_type": [
+ "standard",
+ "small",
+ "mini"
+ ],
+ "rom": "500KB",
+ "ram": "500KB",
+ "deps": {
+ "components": [
+ "dsoftbus",
+ "safwk",
+ "os_account",
+ "access_token",
+ "security",
+ "common",
+ "utils_base",
+ "hiviewdfx_hilog_native",
+ "hisysevent_native",
+ "samgr",
+ "ipc"
+ ],
+ "third_party": [
+ "cJSON",
+ "bounds_checking_function",
+ "mbedtls",
+ "openssl"
+ ]
+ },
+ "build": {
+ "sub_component": [
+ ],
+ "inner_kits": [
+ {
+ "name": "//base/security/device_auth/services:deviceauth_sdk",
+ "header": {
+ "header_files": [
+ "device_auth_defines.h",
+ "device_auth.h"
+ ],
+ "header_base": "//base/security/device_auth/interfaces/innerkits"
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/openeuler/compiler_gn/base/security/device_auth/interfaces/innerkits b/openeuler/compiler_gn/base/security/device_auth/interfaces/innerkits
new file mode 120000
index 0000000..78a4136
--- /dev/null
+++ b/openeuler/compiler_gn/base/security/device_auth/interfaces/innerkits
@@ -0,0 +1 @@
+/usr/include/device_auth
\ No newline at end of file
diff --git a/openeuler/compiler_gn/base/security/device_auth/services/BUILD.gn b/openeuler/compiler_gn/base/security/device_auth/services/BUILD.gn
new file mode 100644
index 0000000..c507605
--- /dev/null
+++ b/openeuler/compiler_gn/base/security/device_auth/services/BUILD.gn
@@ -0,0 +1,23 @@
+# Copyright (C) 2021-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.
+
+import("//build/ohos.gni")
+
+config("deviceauth_config") {
+ include_dirs = [ "//base/security/device_auth/interfaces/innerkits" ]
+ libs = [ "deviceauth_sdk.z" ]
+}
+
+group("deviceauth_sdk") {
+ public_configs = [ ":deviceauth_config" ]
+}
diff --git a/openeuler/compiler_gn/base/startup/init/bundle.json b/openeuler/compiler_gn/base/startup/init/bundle.json
new file mode 100644
index 0000000..86a8022
--- /dev/null
+++ b/openeuler/compiler_gn/base/startup/init/bundle.json
@@ -0,0 +1,77 @@
+{
+ "name": "@ohos/startup_init_lite",
+ "description": "ohos init process",
+ "homePage": "https://gitee.com/openharmony",
+ "version": "3.1",
+ "license": "Apache License 2.0",
+ "repository": "https://gitee.com/openharmony/startup_init_lite",
+ "publishAs": "code-segment",
+ "segment": {
+ "destPath": "base/startup/init"
+ },
+ "dirs": {},
+ "scripts": {},
+ "component": {
+ "name": "init",
+ "subsystem": "startup",
+ "syscap": [
+ "SystemCapability.Startup.SystemInfo"
+ ],
+ "adapted_system_type": [
+ "standard"
+ ],
+ "rom": "",
+ "ram": "",
+ "deps": {
+ "components": [
+ "startup",
+ "c_utils"
+ ],
+ "third_party": [
+ "cJSON",
+ "bounds_checking_function"
+ ]
+ },
+ "build": {
+ "group_type": {
+ "base_group": [
+ ],
+ "fwk_group": [
+ ],
+ "service_group": [
+ ]
+ },
+ "sub_component": [
+ ],
+ "inner_kits": [
+ {
+ "header": {
+ "header_base": "//base/startup/init/interfaces/innerkits/include/",
+ "header_files": [
+ "service_control.h",
+ "beget_ext.h",
+ "syspara/parameter.h",
+ "syspara/parameters.h",
+ "syspara/param_wrapper.h",
+ "syspara/sysparam_errno.h"
+ ]
+ },
+ "name": "//base/startup/init/interfaces/innerkits:libbegetutil"
+ },
+ {
+ "header": {
+ "header_base": "//base/startup/init/interfaces/innerkits/include/",
+ "header_files": [
+ "service_watcher.h",
+ "syspara/parameter.h",
+ "syspara/sysparam_errno.h"
+ ]
+ },
+ "name": "//base/startup/init/interfaces/innerkits:libbeget_proxy"
+ }
+ ],
+ "test": [
+ ]
+ }
+ }
+}
diff --git a/openeuler/compiler_gn/base/startup/init/interfaces/innerkits/BUILD.gn b/openeuler/compiler_gn/base/startup/init/interfaces/innerkits/BUILD.gn
new file mode 100644
index 0000000..e0098e1
--- /dev/null
+++ b/openeuler/compiler_gn/base/startup/init/interfaces/innerkits/BUILD.gn
@@ -0,0 +1,43 @@
+# Copyright (c) 2021-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.
+import("//build/ohos.gni")
+
+config("libbegetutil_config") {
+ include_dirs = [
+ "//base/startup/init/interfaces/innerkits/include",
+ "//base/startup/init/interfaces/innerkits/include/syspara",
+ "//base/startup/init/services/include",
+ "//base/hiviewdfx/hilog/interfaces/native/innerkits/include",
+ ]
+ libs = [ "begetutil.z" ]
+}
+
+config("libbeget_proxy_config") {
+ include_dirs = [
+ "//base/startup/init/interfaces/innerkits/include",
+ "//base/startup/init/interfaces/innerkits/include/syspara",
+ "//base/startup/init/services/include",
+ "//base/hiviewdfx/hilog/interfaces/native/innerkits/include",
+ ]
+ libs = [ "beget_proxy.z" ]
+}
+
+group("libbegetutil") {
+ public_configs = [ ":libbegetutil_config" ]
+}
+
+# watcher lib must separate compilation avoid interdependence.
+group("libbeget_proxy") {
+ public_configs = [ ":libbeget_proxy_config" ]
+}
+
diff --git a/openeuler/compiler_gn/base/startup/init/interfaces/innerkits/include b/openeuler/compiler_gn/base/startup/init/interfaces/innerkits/include
new file mode 120000
index 0000000..d5f3932
--- /dev/null
+++ b/openeuler/compiler_gn/base/startup/init/interfaces/innerkits/include
@@ -0,0 +1 @@
+/usr/include/init
\ No newline at end of file
diff --git a/openeuler/compiler_gn/commonlibrary/c_utils/base/BUILD.gn b/openeuler/compiler_gn/commonlibrary/c_utils/base/BUILD.gn
new file mode 100644
index 0000000..fecacb3
--- /dev/null
+++ b/openeuler/compiler_gn/commonlibrary/c_utils/base/BUILD.gn
@@ -0,0 +1,33 @@
+# Copyright (c) 2021 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.
+import("//build/ohos.gni")
+
+config("utils_configs") {
+ include_dirs = [ "include" ]
+ libs = [ "utils.z" ]
+}
+
+config("utilsbase_config") {
+ include_dirs = [ "include" ]
+ libs = [ "utilsbase.z" ]
+}
+
+group("utilsbase") {
+ all_dependent_configs = [ ":utilsbase_config" ]
+ public_configs = [ ":utilsbase_config" ]
+}
+
+group("utils") {
+ all_dependent_configs = [ ":utils_configs" ]
+ public_configs = [ ":utils_configs" ]
+}
diff --git a/openeuler/compiler_gn/commonlibrary/c_utils/base/include b/openeuler/compiler_gn/commonlibrary/c_utils/base/include
new file mode 120000
index 0000000..6ed1680
--- /dev/null
+++ b/openeuler/compiler_gn/commonlibrary/c_utils/base/include
@@ -0,0 +1 @@
+/usr/include/c_utils
\ No newline at end of file
diff --git a/openeuler/compiler_gn/commonlibrary/c_utils/bundle.json b/openeuler/compiler_gn/commonlibrary/c_utils/bundle.json
new file mode 100644
index 0000000..3983446
--- /dev/null
+++ b/openeuler/compiler_gn/commonlibrary/c_utils/bundle.json
@@ -0,0 +1,103 @@
+{
+ "name": "@openharmony/c_utils",
+ "version": "3.1.0",
+ "description": "c_utils",
+ "publishAs": "code-segment",
+ "segment": {
+ "destPath": "commonlibrary/c_utils"
+ },
+ "scripts": {
+ "install": "DEST_PATH=${DEP_BUNDLE_BASE}/commonlibrary/c_utils/base && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH"
+ },
+ "author": {},
+ "repository": "",
+ "license": "Apache License 2.0",
+ "component": {
+ "name": "c_utils",
+ "subsystem": "commonlibrary",
+ "adapted_system_type": [ "standard" ],
+ "deps": {
+ "components": [
+ "hilog_native"
+ ],
+ "third_party": []
+ },
+ "build": {
+ "sub_component": [
+ ],
+ "inner_kits": [
+ {
+ "name": "//commonlibrary/c_utils/base:utils",
+ "header": {
+ "header_files": [
+ "ashmem.h",
+ "common_errors.h",
+ "common_timer_errors.h",
+ "datetime_ex.h",
+ "directory_ex.h",
+ "errors.h",
+ "file_ex.h",
+ "flat_obj.h",
+ "nocopyable.h",
+ "observer.h",
+ "parcel.h",
+ "pubdef.h",
+ "refbase.h",
+ "rwlock.h",
+ "safe_block_queue.h",
+ "safe_map.h",
+ "safe_queue.h",
+ "securec.h",
+ "securectype.h",
+ "semaphore_ex.h",
+ "singleton.h",
+ "sorted_vector.h",
+ "string_ex.h",
+ "thread_ex.h",
+ "thread_pool.h",
+ "timer.h",
+ "unique_fd.h"
+ ],
+ "header_base": "//commonlibrary/c_utils/base/include"
+ }
+ },
+ {
+ "name": "//commonlibrary/c_utils/base:utilsbase",
+ "header": {
+ "header_files": [
+ "ashmem.h",
+ "common_errors.h",
+ "common_timer_errors.h",
+ "datetime_ex.h",
+ "directory_ex.h",
+ "errors.h",
+ "file_ex.h",
+ "flat_obj.h",
+ "nocopyable.h",
+ "observer.h",
+ "parcel.h",
+ "pubdef.h",
+ "refbase.h",
+ "rwlock.h",
+ "safe_block_queue.h",
+ "safe_map.h",
+ "safe_queue.h",
+ "securec.h",
+ "securectype.h",
+ "semaphore_ex.h",
+ "singleton.h",
+ "sorted_vector.h",
+ "string_ex.h",
+ "thread_ex.h",
+ "thread_pool.h",
+ "timer.h",
+ "unique_fd.h"
+ ],
+ "header_base": "//commonlibrary/c_utils/base/include"
+ }
+ }
+ ]
+ }
+ }
+ }
+
\ No newline at end of file
diff --git a/openeuler/compiler_gn/foundation/communication/dsoftbus/BUILD.gn b/openeuler/compiler_gn/foundation/communication/dsoftbus/BUILD.gn
new file mode 100644
index 0000000..2faff16
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/dsoftbus/BUILD.gn
@@ -0,0 +1,20 @@
+# Copyright (c) 2021 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.
+
+import("//foundation/communication/dsoftbus/dsoftbus.gni")
+
+lite_component("dsoftbus") {
+ features = [
+ "sdk:softbus_client",
+ ]
+}
\ No newline at end of file
diff --git a/openeuler/compiler_gn/foundation/communication/dsoftbus/bundle.json b/openeuler/compiler_gn/foundation/communication/dsoftbus/bundle.json
new file mode 100644
index 0000000..06860b7
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/dsoftbus/bundle.json
@@ -0,0 +1,86 @@
+{
+ "name": "@openharmony/dsoftbus",
+ "version": "3.1.0",
+ "description": "dsoftbus",
+ "publishAs": "code-segment",
+ "scripts": {
+ "install": "DEST_PATH=${DEP_BUNDLE_BASE}/foundation/communication/dsoftbus && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH"
+ },
+ "author": {},
+ "repository": "",
+ "license": "Apache License 2.0",
+ "segment": {
+ "destPath": "foundation/communication/dsoftbus"
+ },
+ "component": {
+ "name": "dsoftbus",
+ "subsystem": "communication",
+ "adapted_system_type": [
+ "mini",
+ "small",
+ "standard"
+ ],
+ "syscap":[ "SystemCapability.Communication.SoftBus.Core" ],
+ "features": [
+ "dsoftbus_feature_conn_p2p",
+ "dsoftbus_feature_disc_ble",
+ "dsoftbus_feature_conn_br",
+ "dsoftbus_feature_conn_ble",
+ "dsoftbus_feature_lnn_net",
+ "dsoftbus_feature_trans_udp_stream",
+ "dsoftbus_feature_trans_udp_file",
+ "dsoftbus_get_devicename",
+ "dsoftbus_feature_product_config_path",
+ "dsoftbus_feature_ifname_prefix",
+ "dsoftbus_feature_lnn_wifiservice_dependence",
+ "dsoftbus_standard_feature_dfinder_support_multi_nif",
+ "dsoftbus_feature_protocol_newip"
+ ],
+ "rom": "967KB",
+ "ram": "28MB",
+ "deps": {
+ "components": [
+ "ability_base",
+ "ability_runtime",
+ "bluetooth",
+ "drivers_interface_wlan",
+ "hiviewdfx_hilog_native",
+ "ipc",
+ "os_account",
+ "relational_store",
+ "c_utils",
+ "wifi"
+ ],
+ "third_party": [
+ "bounds_checking_function",
+ "cJSON",
+ "libcoap",
+ "thirdparty_mbedtls"
+ ]
+ },
+ "build": {
+ "group_type":{
+ "base_group":[],
+ "fwk_group":[
+ "//foundation/communication/dsoftbus/sdk:softbus_client"
+ ],
+ "service_group":[
+ ]
+ },
+ "inner_kits": [
+ {
+ "name": "//foundation/communication/dsoftbus/sdk:softbus_client",
+ "header": {
+ "header_files": [
+ "bus_center/softbus_bus_center.h",
+ "common/softbus_common.h",
+ "discovery/discovery_service.h",
+ "transport/session.h"
+ ],
+ "header_base": "//foundation/communication/dsoftbus/interfaces/kits"
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/inner_kits/transport b/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/inner_kits/transport
new file mode 120000
index 0000000..acb01c5
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/inner_kits/transport
@@ -0,0 +1 @@
+/usr/include/dsoftbus
\ No newline at end of file
diff --git a/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/bus_center/include b/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/bus_center/include
new file mode 120000
index 0000000..acb01c5
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/bus_center/include
@@ -0,0 +1 @@
+/usr/include/dsoftbus
\ No newline at end of file
diff --git a/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/common/include b/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/common/include
new file mode 120000
index 0000000..acb01c5
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/common/include
@@ -0,0 +1 @@
+/usr/include/dsoftbus
\ No newline at end of file
diff --git a/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/discovery/include b/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/discovery/include
new file mode 120000
index 0000000..acb01c5
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/discovery/include
@@ -0,0 +1 @@
+/usr/include/dsoftbus
\ No newline at end of file
diff --git a/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/transport/include b/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/transport/include
new file mode 120000
index 0000000..acb01c5
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/dsoftbus/interfaces/kits/transport/include
@@ -0,0 +1 @@
+/usr/include/dsoftbus
\ No newline at end of file
diff --git a/openeuler/compiler_gn/foundation/communication/dsoftbus/sdk/BUILD.gn b/openeuler/compiler_gn/foundation/communication/dsoftbus/sdk/BUILD.gn
new file mode 100644
index 0000000..73934c3
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/dsoftbus/sdk/BUILD.gn
@@ -0,0 +1,36 @@
+# Copyright (c) 2021 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.
+
+import("//build/ohos.gni")
+import("//build/ohos_var.gni")
+
+dsoftbus_root_path = "//foundation/communication/dsoftbus"
+
+config("dsoftbus_sdk_interface") {
+ include_dirs = [
+ "$dsoftbus_root_path/interfaces/kits",
+ "$dsoftbus_root_path/interfaces/kits/bus_center",
+ "$dsoftbus_root_path/interfaces/kits/common",
+ "$dsoftbus_root_path/interfaces/kits/discovery",
+ "$dsoftbus_root_path/interfaces/kits/transport",
+ "$dsoftbus_root_path/sdk/transmission/session/cpp/include",
+ "$dsoftbus_root_path/interfaces/inner_kits/transport",
+ "$dsoftbus_root_path/core/common/dfx/hisysevent_adapter/include",
+ ]
+ libs = [ "softbus_client.z" ]
+}
+
+group("softbus_client") {
+ public_configs = [ ":dsoftbus_sdk_interface" ]
+ all_dependent_configs = [ ":dsoftbus_sdk_interface" ]
+}
diff --git a/openeuler/compiler_gn/foundation/communication/ipc/BUILD.gn b/openeuler/compiler_gn/foundation/communication/ipc/BUILD.gn
new file mode 100644
index 0000000..7b6d93d
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/ipc/BUILD.gn
@@ -0,0 +1,29 @@
+# Copyright (C) 2021 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.
+
+import("//build/ohos.gni")
+import("//build/ohos_var.gni")
+
+SUBSYSTEM_DIR = "//foundation/communication/ipc"
+IPC_CORE_ROOT = "$SUBSYSTEM_DIR/ipc/native"
+
+config("ipc_util_config") {
+ # header file path
+
+ include_dirs = [
+ "$SUBSYSTEM_DIR/interfaces/innerkits/ipc_core/include",
+ "$IPC_CORE_ROOT/src/core/include",
+ "$IPC_CORE_ROOT/src/mock/include",
+ "//commonlibrary/c_utils/base/include",
+ ]
+}
diff --git a/openeuler/compiler_gn/foundation/communication/ipc/bundle.json b/openeuler/compiler_gn/foundation/communication/ipc/bundle.json
new file mode 100644
index 0000000..3110b6f
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/ipc/bundle.json
@@ -0,0 +1,103 @@
+{
+ "name": "@openharmony/ipc",
+ "version": "3.1.0",
+ "description": "ipc",
+ "publishAs": "code-segment",
+ "scripts": {
+ "install": "DEST_PATH=${DEP_BUNDLE_BASE}/foundation/communication/ipc && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH"
+ },
+ "author": {},
+ "repository": "",
+ "license": "Apache License 2.0",
+ "segment": {
+ "destPath": "foundation/communication/ipc"
+ },
+ "component": {
+ "name": "ipc",
+ "subsystem": "communication",
+ "adapted_system_type": [
+ "standard",
+ "small",
+ "mini"
+ ],
+ "features": [
+ "ipc_feature_rpc_enabled"
+ ],
+ "syscap":[
+ "SystemCapability.Communication.IPC.Core"
+ ],
+ "rom": "500KB",
+ "ram": "100KB",
+ "deps": {
+ "components": [
+ "samgr",
+ "hitrace_native",
+ "hiviewdfx_hilog_native",
+ "c_utils",
+ "access_token",
+ "dsoftbus"
+ ],
+ "third_party": [
+ "bounds_checking_function"
+ ]
+ },
+ "build": {
+ "sub_component": [
+ ],
+ "inner_kits": [
+ {
+ "name": "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
+ "header": {
+ "header_files": [
+ "ipc_types.h",
+ "ipc_skeleton.h",
+ "iremote_object.h",
+ "iremote_proxy.h",
+ "iremote_stub.h",
+ "message_parcel.h",
+ "message_option.h",
+ "iremote_broker.h",
+ "ipc_object_proxy.h",
+ "ipc_object_stub.h",
+ "peer_holder.h",
+ "ipc_file_descriptor.h",
+ "jni_help.h"
+ ],
+ "header_base": "//foundation/communication/ipc/interfaces/innerkits/ipc_core/include"
+ }
+ },
+ {
+ "name": "//foundation/communication/ipc/interfaces/innerkits/ipc_single:ipc_single",
+ "header": {
+ "header_files": [
+ "ipc_types.h",
+ "ipc_skeleton.h",
+ "iremote_object.h",
+ "iremote_proxy.h",
+ "iremote_stub.h",
+ "message_parcel.h",
+ "message_option.h",
+ "iremote_broker.h",
+ "ipc_object_proxy.h",
+ "ipc_object_stub.h",
+ "peer_holder.h",
+ "ipc_file_descriptor.h",
+ "jni_help.h"
+ ],
+ "header_base": "//foundation/communication/ipc/interfaces/innerkits/ipc_core/include"
+ }
+ },
+ {
+ "name": "//foundation/communication/ipc/interfaces/innerkits/libdbinder:libdbinder",
+ "header": {
+ "header_files": [
+ "dbinder_service.h",
+ "dbinder_service_stub.h"
+ ],
+ "header_base": "//foundation/communication/ipc/interfaces/innerkits/libdbinder/include"
+ }
+ }
+ ]
+ }
+ }
+ }
diff --git a/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/ipc_core/BUILD.gn b/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/ipc_core/BUILD.gn
new file mode 100644
index 0000000..c2ecc90
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/ipc_core/BUILD.gn
@@ -0,0 +1,30 @@
+# Copyright (C) 2021 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.
+
+import("//build/ohos.gni")
+
+SUBSYSTEM_DIR = "//foundation/communication/ipc"
+
+config("ipc_all_deps_config") {
+ include_dirs = [ "$SUBSYSTEM_DIR/interfaces/innerkits/ipc_core/include" ]
+ libs = [ "ipc_core.z" ]
+}
+
+group("ipc_core") {
+ public_configs = [
+ "$SUBSYSTEM_DIR:ipc_util_config",
+ ":ipc_all_deps_config"
+ ]
+
+ all_dependent_configs = [ ":ipc_all_deps_config" ]
+}
diff --git a/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/ipc_core/include b/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/ipc_core/include
new file mode 120000
index 0000000..a2e1fc6
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/ipc_core/include
@@ -0,0 +1 @@
+/usr/include/ipc
\ No newline at end of file
diff --git a/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/ipc_single/BUILD.gn b/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/ipc_single/BUILD.gn
new file mode 100644
index 0000000..e2689e4
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/ipc_single/BUILD.gn
@@ -0,0 +1,27 @@
+# Copyright (C) 2021 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.
+
+import("//build/ohos.gni")
+
+SUBSYSTEM_DIR = "//foundation/communication/ipc"
+
+config("libipc_single_config") {
+ libs = [ "ipc_single.z" ]
+}
+
+group("ipc_single") {
+ public_configs = [
+ "$SUBSYSTEM_DIR:ipc_util_config",
+ ":libipc_single_config"
+ ]
+}
diff --git a/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/libdbinder/BUILD.gn b/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/libdbinder/BUILD.gn
new file mode 100644
index 0000000..83d1cbd
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/libdbinder/BUILD.gn
@@ -0,0 +1,31 @@
+# Copyright (C) 2021 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.
+
+import("//build/ohos.gni")
+
+SUBSYSTEM_DIR = "//foundation/communication/ipc"
+DBINDER_ROOT = "$SUBSYSTEM_DIR/services/dbinder"
+
+config("libdbinder_config") {
+ include_dirs = [
+ "//commonlibrary/c_utils/base/include",
+ "$SUBSYSTEM_DIR/interfaces/innerkits/ipc_core/include",
+ "$SUBSYSTEM_DIR/interfaces/innerkits/libdbinder/include",
+ "$DBINDER_ROOT/dbinder_service/include",
+ ]
+ libs = [ "libdbinder.z" ]
+}
+
+group("libdbinder") {
+ public_configs = [ ":libdbinder_config" ]
+}
diff --git a/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/libdbinder/include b/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/libdbinder/include
new file mode 120000
index 0000000..a2e1fc6
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/communication/ipc/interfaces/innerkits/libdbinder/include
@@ -0,0 +1 @@
+/usr/include/ipc
\ No newline at end of file
diff --git a/openeuler/compiler_gn/foundation/distributedhardware/device_manager/bundle.json b/openeuler/compiler_gn/foundation/distributedhardware/device_manager/bundle.json
index 51c3d9a..a8238af 100644
--- a/openeuler/compiler_gn/foundation/distributedhardware/device_manager/bundle.json
+++ b/openeuler/compiler_gn/foundation/distributedhardware/device_manager/bundle.json
@@ -18,9 +18,6 @@
"adapted_system_type": [ "standard", "small" ],
"rom": "2M",
"ram": "16M",
- "hisysevent_config": [
- "//foundation/distributedhardware/device_manager/hisysevent.yaml"
- ],
"deps": {
"components": [
"ability_base",
diff --git a/openeuler/compiler_gn/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include b/openeuler/compiler_gn/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include
new file mode 120000
index 0000000..24a5d3b
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include
@@ -0,0 +1 @@
+/usr/include/device_manager
\ No newline at end of file
diff --git a/openeuler/compiler_gn/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/system_ability.h b/openeuler/compiler_gn/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/system_ability.h
new file mode 120000
index 0000000..b20907a
--- /dev/null
+++ b/openeuler/compiler_gn/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/system_ability.h
@@ -0,0 +1 @@
+/usr/include/safwk/system_ability.h
\ No newline at end of file
diff --git a/openeuler/compiler_gn/third_party/bounds_checking_function/BUILD.gn b/openeuler/compiler_gn/third_party/bounds_checking_function/BUILD.gn
index ae44b79..cc72607 100644
--- a/openeuler/compiler_gn/third_party/bounds_checking_function/BUILD.gn
+++ b/openeuler/compiler_gn/third_party/bounds_checking_function/BUILD.gn
@@ -17,12 +17,14 @@ config("libsec_public_config") {
libs = [ "boundscheck" ]
}
-ohos_static_library("libsec_static") {
+group("libsec_static") {
#libs = [ "boundscheck" ]
+ public_configs = [ ":libsec_public_config" ]
all_dependent_configs = [ ":libsec_public_config" ]
}
-ohos_shared_library("libsec_shared") {
+group("libsec_shared") {
#libs = [ "boundscheck" ]
+ public_configs = [ ":libsec_public_config" ]
all_dependent_configs = [ ":libsec_public_config" ]
}
diff --git a/openeuler/compiler_gn/third_party/json/include b/openeuler/compiler_gn/third_party/json/include
new file mode 120000
index 0000000..b8f52aa
--- /dev/null
+++ b/openeuler/compiler_gn/third_party/json/include
@@ -0,0 +1 @@
+/usr/include/nlohmann_json
\ No newline at end of file
diff --git a/openeuler/compiler_gn/third_party/json/single_include b/openeuler/compiler_gn/third_party/json/single_include
new file mode 120000
index 0000000..a29b1e4
--- /dev/null
+++ b/openeuler/compiler_gn/third_party/json/single_include
@@ -0,0 +1 @@
+/usr/include/nlohmann_json/single_include
\ No newline at end of file
diff --git a/openeuler/compiler_gn/third_party/openssl/BUILD.gn b/openeuler/compiler_gn/third_party/openssl/BUILD.gn
new file mode 100644
index 0000000..7b953eb
--- /dev/null
+++ b/openeuler/compiler_gn/third_party/openssl/BUILD.gn
@@ -0,0 +1,39 @@
+# Copyright (c) 2020-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.
+
+import("//build/ohos.gni")
+
+# Only use this to set/unset some cflags, use "platform" variable in gn template to add
+# source code for Windows.
+
+config("libcrypto_config") {
+ include_dirs = [ "/usr/include/openssl" ]
+ libs = [ "crypto" ]
+}
+
+group("libcrypto_static") {
+ public_configs = [ ":libcrypto_config" ]
+}
+
+group("libcrypto_shared") {
+ public_configs = [ ":libcrypto_config" ]
+}
+
+config("libssl_config") {
+ include_dirs = [ "/usr/include/openssl" ]
+ libs = [ "ssl" ]
+}
+
+group("libssl_shared") {
+ public_configs = [ ":libssl_config" ]
+}
diff --git a/openeuler/compiler_gn/third_party/openssl/include/openssl b/openeuler/compiler_gn/third_party/openssl/include/openssl
new file mode 120000
index 0000000..6c29d44
--- /dev/null
+++ b/openeuler/compiler_gn/third_party/openssl/include/openssl
@@ -0,0 +1 @@
+/usr/include/openssl
\ No newline at end of file
diff --git a/openeuler/vendor/openeuler/openeuler/config.json b/openeuler/vendor/openeuler/openeuler/config.json
index 2dfbb49..1896a16 100644
--- a/openeuler/vendor/openeuler/openeuler/config.json
+++ b/openeuler/vendor/openeuler/openeuler/config.json
@@ -1,115 +1,153 @@
{
- "product_name": "openeuler",
- "device_company": "openeuler",
- "target_os": "linux",
- "type": "standard",
- "version": "3.0",
- "board": "openeuler",
- "api_version": 8,
- "enable_ramdisk": false,
- "build_selinux": false,
- "build_seccomp": false,
- "support_jsapi": false,
- "inherit": [],
- "subsystems": [
- {
- "subsystem": "common",
- "components": [
- {
- "component": "common"
- }
- ]
+ "product_name": "openeuler",
+ "device_company": "openeuler",
+ "target_os": "linux",
+ "type": "standard",
+ "version": "3.0",
+ "board": "openeuler",
+ "api_version": 8,
+ "enable_ramdisk": false,
+ "build_selinux": false,
+ "build_seccomp": false,
+ "support_jsapi": false,
+ "inherit": [],
+ "subsystems": [
+ {
+ "subsystem": "common",
+ "components": [
+ {
+ "component": "common"
+ }
+ ]
+ },
+ {
+ "subsystem": "commonlibrary",
+ "components": [
+ {
+ "component": "c_utils",
+ "features": []
+ }
+ ]
+ },
+ {
+ "subsystem": "hiviewdfx",
+ "components": [
+ {
+ "component": "hilog_native",
+ "features": []
},
{
- "subsystem": "commonlibrary",
- "components": [
- {
- "component": "c_utils",
- "features": []
- }
- ]
+ "component": "hiviewdfx_hilog_native",
+ "features": []
+ }
+ ]
+ },
+ {
+ "subsystem": "notification",
+ "components": [
+ {
+ "component": "eventhandler",
+ "features": []
+ }
+ ]
+ },
+ {
+ "subsystem": "startup",
+ "components": [
+ {
+ "component": "init",
+ "features": [
+ "enable_ohos_startup_init_feature_ab_partition = false",
+ "enable_ohos_startup_init_feature_loader = false"
+ ]
+ }
+ ]
+ },
+ {
+ "subsystem": "security",
+ "components": [
+ {
+ "component": "huks",
+ "features": []
},
{
- "subsystem": "hiviewdfx",
- "components": [
- {
- "component": "hilog_native",
- "features": []
- },
- {
- "component": "hiviewdfx_hilog_native",
- "features": []
- }
- ]
+ "component": "device_auth",
+ "features": []
},
{
- "subsystem": "notification",
- "components": [
- {
- "component": "eventhandler",
- "features": []
- }
- ]
+ "component": "dataclassification",
+ "features": []
},
{
- "subsystem": "startup",
- "components": [
- {
- "component": "init",
- "features": [
- "enable_ohos_startup_init_feature_ab_partition = false",
- "enable_ohos_startup_init_feature_loader = false"
- ]
- }
- ]
+ "component": "device_security_level",
+ "features": []
+ }
+ ]
+ },
+ {
+ "subsystem": "communication",
+ "components": [
+ {
+ "component": "ipc",
+ "features": []
},
{
- "subsystem": "security",
- "components": [
- {
- "component": "huks",
- "features": []
- },
- {
- "component": "device_auth",
- "features": []
- }
- ]
+ "component": "dsoftbus",
+ "features": []
+ }
+ ]
+ },
+ {
+ "subsystem": "systemabilitymgr",
+ "components": [
+ {
+ "component": "safwk",
+ "features": []
},
{
- "subsystem": "communication",
- "components": [
- {
- "component": "ipc",
- "features": []
- },
- {
- "component": "dsoftbus",
- "features": []
- }
- ]
+ "component": "samgr",
+ "features": []
+ }
+ ]
+ },
+ {
+ "subsystem": "distributedhardware",
+ "components": [
+ {
+ "component": "device_manager",
+ "features": []
+ }
+ ]
+ },
+ {
+ "subsystem": "distributeddatamgr",
+ "components": [
+ {
+ "component": "kv_store",
+ "features": []
+ },
+ {
+ "component": "relational_store",
+ "features": []
},
{
- "subsystem": "systemabilitymgr",
- "components": [
- {
- "component": "safwk",
- "features": []
- },
- {
- "component": "samgr",
- "features": []
- }
- ]
+ "component": "datamgr_service",
+ "features": []
},
{
- "subsystem": "distributedhardware",
- "components": [
- {
- "component": "device_manager",
- "features": []
- }
- ]
+ "component": "data_object",
+ "features": []
+ }
+ ]
+ },
+ {
+ "subsystem": "filemanagement",
+ "components": [
+ {
+ "component": "dfs_service",
+ "features": []
}
- ]
-}
+ ]
+ }
+ ]
+}
\ No newline at end of file
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yanansong/distributed-build.git
git@gitee.com:yanansong/distributed-build.git
yanansong
distributed-build
distributed-build
master

搜索帮助