diff --git a/bundle.json b/bundle.json index 7e0d53f20070bf9c19c0a3e5e4d705c08ec1e3de..0bcccbea696fe63d8a9f53ee21f206b493f6def8 100755 --- a/bundle.json +++ b/bundle.json @@ -41,7 +41,7 @@ "third_party":[ "jsoncpp", "googletest", - "libcrypto_static" + "libcrypto_shared" ] }, "build":{ diff --git a/dfx_utils/BUILD.gn b/dfx_utils/BUILD.gn index bb20e18dad927bf4bedee79e7ab33acc862ec5e2..76e025abd5c1bed07400e268a850388e475f0521 100755 --- a/dfx_utils/BUILD.gn +++ b/dfx_utils/BUILD.gn @@ -41,10 +41,7 @@ ohos_shared_library("libdinput_dfx_utils") { "LOG_DOMAIN=0xD004100", ] - deps = [ - "${fwk_utils_path}:distributedhardwareutils", - "//third_party/openssl:libcrypto_static", - ] + deps = [ "${fwk_utils_path}:distributedhardwareutils" ] external_deps = [ "c_utils:utils", diff --git a/dfx_utils/test/dfxtest/BUILD.gn b/dfx_utils/test/dfxtest/BUILD.gn index f35b58f0fddf6c7608fcc196caf62392ec4b999b..ebb9f5ca72ba22e08c84d01b5868df68ed4e048b 100644 --- a/dfx_utils/test/dfxtest/BUILD.gn +++ b/dfx_utils/test/dfxtest/BUILD.gn @@ -61,10 +61,7 @@ ohos_unittest("distributed_input_dfx_test") { "LOG_DOMAIN=0xD004100", ] - deps = [ - "${fwk_utils_path}:distributedhardwareutils", - "//third_party/openssl:libcrypto_static", - ] + deps = [ "${fwk_utils_path}:distributedhardwareutils" ] external_deps = [ "c_utils:utils", diff --git a/inputdevicehandler/BUILD.gn b/inputdevicehandler/BUILD.gn index 16150c8ff523e384607d957fa0e1415d486c05ec..8ba69c5b7cff5b7789138bb847b1f74cf5ce1f33 100755 --- a/inputdevicehandler/BUILD.gn +++ b/inputdevicehandler/BUILD.gn @@ -46,7 +46,7 @@ ohos_shared_library("libdinput_handler") { "${fwk_utils_path}:distributedhardwareutils", "${utils_path}:libdinput_utils", "//third_party/libevdev:libevdev", - "//third_party/openssl:libcrypto_static", + "//third_party/openssl:libcrypto_shared", ] external_deps = [ diff --git a/inputdevicehandler/test/inputhandlertest/BUILD.gn b/inputdevicehandler/test/inputhandlertest/BUILD.gn index 7fd3245d4c3af3001f47efbd394bf02346823da0..7b45ea4240e02009f9b9709e1aad99e964ec46b2 100644 --- a/inputdevicehandler/test/inputhandlertest/BUILD.gn +++ b/inputdevicehandler/test/inputhandlertest/BUILD.gn @@ -66,7 +66,7 @@ ohos_unittest("distributed_input_handler_test") { "${fwk_utils_path}:distributedhardwareutils", "${utils_path}:libdinput_utils", "//third_party/libevdev:libevdev", - "//third_party/openssl:libcrypto_static", + "//third_party/openssl:libcrypto_shared", ] external_deps = [ diff --git a/services/sink/inputcollector/BUILD.gn b/services/sink/inputcollector/BUILD.gn index cc14b4b0220a323142e5a7c549f1206c1376d89d..d71f1ed8f373e98321bdbc8f472311a6a77c7e05 100755 --- a/services/sink/inputcollector/BUILD.gn +++ b/services/sink/inputcollector/BUILD.gn @@ -45,8 +45,7 @@ ohos_shared_library("libdinput_collector") { "${fwk_utils_path}:distributedhardwareutils", "${utils_path}:libdinput_utils", "//third_party/libevdev:libevdev", - "//third_party/openssl:libcrypto_static", - "//third_party/openssl:libcrypto_static", + "//third_party/openssl:libcrypto_shared", ] external_deps = [ diff --git a/services/sink/inputcollector/test/sinkcollectorunittest/BUILD.gn b/services/sink/inputcollector/test/sinkcollectorunittest/BUILD.gn index ed77bd31a8d68701a0cffe3c8f689bb03adab866..770f0d0bb1a66741f5c607f1c9bd4ec444f31aa9 100644 --- a/services/sink/inputcollector/test/sinkcollectorunittest/BUILD.gn +++ b/services/sink/inputcollector/test/sinkcollectorunittest/BUILD.gn @@ -65,7 +65,7 @@ ohos_unittest("distributed_input_inner_sinkcollector_test") { "${fwk_utils_path}:distributedhardwareutils", "${utils_path}:libdinput_utils", "//third_party/libevdev:libevdev", - "//third_party/openssl:libcrypto_static", + "//third_party/openssl:libcrypto_shared", ] external_deps = [ diff --git a/services/sink/sinkmanager/test/sinkmanagerunittest/BUILD.gn b/services/sink/sinkmanager/test/sinkmanagerunittest/BUILD.gn index f031feb54772ff7629a69f9bbb9fc1c444c3418f..0b975766e7397f24bc375e670332d3362e9ebe61 100755 --- a/services/sink/sinkmanager/test/sinkmanagerunittest/BUILD.gn +++ b/services/sink/sinkmanager/test/sinkmanagerunittest/BUILD.gn @@ -91,7 +91,7 @@ ohos_unittest("distributed_input_sinkmanager_test") { "${services_sink_path}/transport:libdinput_sink_trans", "${utils_path}:libdinput_utils", "//third_party/libevdev:libevdev", - "//third_party/openssl:libcrypto_static", + "//third_party/openssl:libcrypto_shared", ] external_deps = [ diff --git a/services/source/inputinject/BUILD.gn b/services/source/inputinject/BUILD.gn index b874d458c556901c2d01a9612e8c1d5eabf1a428..61421aab951197f1fa8dc634020fe261711c0633 100644 --- a/services/source/inputinject/BUILD.gn +++ b/services/source/inputinject/BUILD.gn @@ -51,7 +51,7 @@ ohos_shared_library("libdinput_inject") { "${fwk_utils_path}:distributedhardwareutils", "${utils_path}:libdinput_utils", "//third_party/libevdev:libevdev", - "//third_party/openssl:libcrypto_static", + "//third_party/openssl:libcrypto_shared", ] external_deps = [ diff --git a/services/source/inputinject/test/sourceinjectunittest/BUILD.gn b/services/source/inputinject/test/sourceinjectunittest/BUILD.gn index 5b20676fae7ffeca08480526cdcec369a8c8061b..8ac155ab5cb0419d19bc84813c67ce76a3a4b6a5 100755 --- a/services/source/inputinject/test/sourceinjectunittest/BUILD.gn +++ b/services/source/inputinject/test/sourceinjectunittest/BUILD.gn @@ -78,7 +78,7 @@ ohos_unittest("distributed_input_inner_sourceinject_test") { "${innerkits_path}:libdinput_sdk", "${utils_path}:libdinput_utils", "//third_party/libevdev:libevdev", - "//third_party/openssl:libcrypto_static", + "//third_party/openssl:libcrypto_shared", ] external_deps = [ diff --git a/services/source/sourcemanager/test/sourcemanagerunittest/BUILD.gn b/services/source/sourcemanager/test/sourcemanagerunittest/BUILD.gn index bf60260b814946d2529a763215cfb0c61ce9ca44..c13b376aba9bfdc360b86f35343d56d50d71faff 100755 --- a/services/source/sourcemanager/test/sourcemanagerunittest/BUILD.gn +++ b/services/source/sourcemanager/test/sourcemanagerunittest/BUILD.gn @@ -115,7 +115,7 @@ ohos_unittest("distributed_input_sourcemanager_test") { "${innerkits_path}:libdinput_sdk", "${services_source_path}/transport:libdinput_source_trans", "//third_party/libevdev:libevdev", - "//third_party/openssl:libcrypto_static", + "//third_party/openssl:libcrypto_shared", ] external_deps = [ diff --git a/utils/BUILD.gn b/utils/BUILD.gn index 7f471fe8160cada42de6286d95ff6b18c51fb270..c0ddf1785d35b31ebc156933a034f3b20b059308 100644 --- a/utils/BUILD.gn +++ b/utils/BUILD.gn @@ -47,7 +47,6 @@ ohos_shared_library("libdinput_utils") { deps = [ "${fwk_interfaces_path}:libdhfwk_sdk", "${fwk_utils_path}:distributedhardwareutils", - "//third_party/openssl:libcrypto_static", ] external_deps = [ diff --git a/utils/test/unittest/BUILD.gn b/utils/test/unittest/BUILD.gn index eba48ae6a43bdec488c816f28db58c65069946d5..b91e4f34753fc967722d9e179f01ebceff8a7741 100644 --- a/utils/test/unittest/BUILD.gn +++ b/utils/test/unittest/BUILD.gn @@ -66,10 +66,7 @@ ohos_unittest("distributed_input_utils_test") { "COMPILE_TEST_MODE", ] - deps = [ - "${fwk_utils_path}:distributedhardwareutils", - "//third_party/openssl:libcrypto_static", - ] + deps = [ "${fwk_utils_path}:distributedhardwareutils" ] external_deps = [ "c_utils:utils",