summaryrefslogtreecommitdiff
path: root/build-0002-support-hichian-for-openeuler.patch
diff options
context:
space:
mode:
Diffstat (limited to 'build-0002-support-hichian-for-openeuler.patch')
-rw-r--r--build-0002-support-hichian-for-openeuler.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/build-0002-support-hichian-for-openeuler.patch b/build-0002-support-hichian-for-openeuler.patch
new file mode 100644
index 0000000..4c94697
--- /dev/null
+++ b/build-0002-support-hichian-for-openeuler.patch
@@ -0,0 +1,37 @@
+From 4a7242c3bb1360510094ee099780e5237f8f0d53 Mon Sep 17 00:00:00 2001
+From: "beiling.xie" <xiekunxun@huawei.com>
+Date: Fri, 2 Sep 2022 22:36:29 +0800
+Subject: [PATCH 2/2] support hichian for openeuler
+
+Signed-off-by: beiling.xie <xiekunxun@huawei.com>
+---
+ config/BUILDCONFIG.gn | 3 +++
+ core/gn/BUILD.gn | 1 +
+ 2 files changed, 4 insertions(+)
+
+diff --git a/config/BUILDCONFIG.gn b/config/BUILDCONFIG.gn
+index 9e016df..4cc5b41 100755
+--- a/config/BUILDCONFIG.gn
++++ b/config/BUILDCONFIG.gn
+@@ -517,3 +517,6 @@ foreach(_target_type, target_type_list) {
+ }
+ }
+ }
++
++support_jsapi = false
++os_level = "standard"
+diff --git a/core/gn/BUILD.gn b/core/gn/BUILD.gn
+index 9784cda..9c38fe4 100755
+--- a/core/gn/BUILD.gn
++++ b/core/gn/BUILD.gn
+@@ -90,6 +90,7 @@ if (product_name == "ohos-sdk") {
+ deps = [
+ "//foundation/communication/dsoftbus/core/frame:softbus_server_main",
+ "//foundation/communication/dsoftbus/sdk:softbus_client",
++ "//base/security/deviceauth/services:deviceauth_sdk",
+ ]
+ }
+ }
+--
+2.25.1
+