From 4709bb6a6cccb33c92d26902cb71b31ea20a8a8c Mon Sep 17 00:00:00 2001 From: zhuzhihui7 Date: Tue, 7 Jan 2025 16:06:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8B=AC=E7=AB=8B=E7=BC=96=E8=AF=91=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue:https://e.gitee.com/open_harmony/dashboard?issue=IBHVGT Signed-off-by: zhuzhihui7 --- BUILD.gn | 8 ------ .../components/ets_frontend/es2abc_config.gni | 2 +- build/core/gn/BUILD.gn | 5 +++- bundle.json | 3 +- .../BUILD.gn | 1 + .../heapprofilerdisable_fuzzer/BUILD.gn | 1 + .../heapprofilerdispatch_fuzzer/BUILD.gn | 1 + .../heapprofilerenable_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../heapprofilerstartsampling_fuzzer/BUILD.gn | 1 + .../heapprofilerstopsampling_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../backend/backendbreakpoint_fuzzer/BUILD.gn | 1 + .../backend/backendexception_fuzzer/BUILD.gn | 1 + .../backend/backendloadmodule_fuzzer/BUILD.gn | 1 + .../backendnativecalling_fuzzer/BUILD.gn | 1 + .../baseptbase64decode_fuzzer/BUILD.gn | 1 + .../baseptbase64encode_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../baseptsbreakpointgetname_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../baseptspausedgetdata_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + .../baseptspausedgetname_fuzzer/BUILD.gn | 1 + .../baseptspausedgetreason_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + .../baseptspausedhasdata_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../baseptspausedsetdata_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + .../baseptspausedsetreason_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + test/fuzztest/protocolhandler_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + .../protocolhandlerdispatch_fuzzer/BUILD.gn | 1 + .../protocolhandlerget_fuzzer/BUILD.gn | 1 + .../protocolhandlernotif_fuzzer/BUILD.gn | 1 + .../protocolhandlerprocess_fuzzer/BUILD.gn | 1 + .../protocolhandlerresponse_fuzzer/BUILD.gn | 1 + .../protocolhandlerrun_fuzzer/BUILD.gn | 1 + .../protocolhandlersendreply_fuzzer/BUILD.gn | 1 + .../pttypesbreakpointparseid_fuzzer/BUILD.gn | 1 + .../pttypesbreakpointtostring_fuzzer/BUILD.gn | 1 + .../pttypesexceptiondetails_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../pttypesobjectremoteobject_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../pttypesremoteobject_fuzzer/BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../BUILD.gn | 1 + .../pttypesstringremoteobject_fuzzer/BUILD.gn | 1 + .../pttypessymbolremoteobject_fuzzer/BUILD.gn | 1 + tooling/BUILD.gn | 22 ++++++++------- tooling/client/BUILD.gn | 1 + tooling/client/ark_cli/BUILD.gn | 1 + tooling/client/ark_multi/BUILD.gn | 1 + tooling/test/BUILD.gn | 28 +++++++++++-------- 96 files changed, 125 insertions(+), 33 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 6e6df7b9..83a1e2f6 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -265,14 +265,6 @@ group("ark_toolchain_host_unittest") { ] } -group("ark_js_host_unittest") { - testonly = true - deps = [ - "//arkcompiler/ets_runtime:ark_runtime_host_unittest", - "//arkcompiler/toolchain:ark_toolchain_host_unittest", - ] -} - group("runtime_core_host_ut") { testonly = true if (ark_standalone_build) { diff --git a/build/config/components/ets_frontend/es2abc_config.gni b/build/config/components/ets_frontend/es2abc_config.gni index a805c564..ec2d3701 100644 --- a/build/config/components/ets_frontend/es2abc_config.gni +++ b/build/config/components/ets_frontend/es2abc_config.gni @@ -9,7 +9,7 @@ # 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. +# limitations under the License. import("$build_root/config/components/ets_frontend/ets_frontend_config.gni") diff --git a/build/core/gn/BUILD.gn b/build/core/gn/BUILD.gn index 8281cdfa..a488f786 100644 --- a/build/core/gn/BUILD.gn +++ b/build/core/gn/BUILD.gn @@ -37,7 +37,10 @@ group("default") { group("unittest_packages") { testonly = true - deps = [ "$toolchain_root:ark_js_host_unittest" ] + deps = [ + "$js_root:ark_js_host_unittest", + "$toolchain_root:ark_toolchain_host_unittest", + ] } group("runtime_core_unittest_packages") { diff --git a/bundle.json b/bundle.json index 9b231fae..19e3ee61 100644 --- a/bundle.json +++ b/bundle.json @@ -34,7 +34,8 @@ "libuv", "cJSON", "openssl", - "ffrt" + "ffrt", + "icu" ], "third_party": [] }, diff --git a/test/fuzztest/agent/heapprofiler/heapprofileraddinspectedheapobject_fuzzer/BUILD.gn b/test/fuzztest/agent/heapprofiler/heapprofileraddinspectedheapobject_fuzzer/BUILD.gn index 8af409e8..3e4c043a 100644 --- a/test/fuzztest/agent/heapprofiler/heapprofileraddinspectedheapobject_fuzzer/BUILD.gn +++ b/test/fuzztest/agent/heapprofiler/heapprofileraddinspectedheapobject_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("HeapprofilerAddInspectedHeapObjectFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/agent/heapprofiler/heapprofilerdisable_fuzzer/BUILD.gn b/test/fuzztest/agent/heapprofiler/heapprofilerdisable_fuzzer/BUILD.gn index b1654954..0710ee66 100644 --- a/test/fuzztest/agent/heapprofiler/heapprofilerdisable_fuzzer/BUILD.gn +++ b/test/fuzztest/agent/heapprofiler/heapprofilerdisable_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("HeapprofilerDisableFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/agent/heapprofiler/heapprofilerdispatch_fuzzer/BUILD.gn b/test/fuzztest/agent/heapprofiler/heapprofilerdispatch_fuzzer/BUILD.gn index 54ce9ef1..856a33e4 100644 --- a/test/fuzztest/agent/heapprofiler/heapprofilerdispatch_fuzzer/BUILD.gn +++ b/test/fuzztest/agent/heapprofiler/heapprofilerdispatch_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("HeapprofilerDispatchFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/agent/heapprofiler/heapprofilerenable_fuzzer/BUILD.gn b/test/fuzztest/agent/heapprofiler/heapprofilerenable_fuzzer/BUILD.gn index 81be69a5..6691e971 100644 --- a/test/fuzztest/agent/heapprofiler/heapprofilerenable_fuzzer/BUILD.gn +++ b/test/fuzztest/agent/heapprofiler/heapprofilerenable_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("HeapprofilerEnableFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/agent/heapprofiler/heapprofilergetheapobjectid_fuzzer/BUILD.gn b/test/fuzztest/agent/heapprofiler/heapprofilergetheapobjectid_fuzzer/BUILD.gn index 648a8444..5e753384 100644 --- a/test/fuzztest/agent/heapprofiler/heapprofilergetheapobjectid_fuzzer/BUILD.gn +++ b/test/fuzztest/agent/heapprofiler/heapprofilergetheapobjectid_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("HeapprofilerGetheapObjectIdFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/agent/heapprofiler/heapprofilergetobjectbyheapobjectid_fuzzer/BUILD.gn b/test/fuzztest/agent/heapprofiler/heapprofilergetobjectbyheapobjectid_fuzzer/BUILD.gn index 0390570c..9c3c062d 100644 --- a/test/fuzztest/agent/heapprofiler/heapprofilergetobjectbyheapobjectid_fuzzer/BUILD.gn +++ b/test/fuzztest/agent/heapprofiler/heapprofilergetobjectbyheapobjectid_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("HeapprofilerGetObjectByHeapObjectIdFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/agent/heapprofiler/heapprofilergetsamplingprofile_fuzzer/BUILD.gn b/test/fuzztest/agent/heapprofiler/heapprofilergetsamplingprofile_fuzzer/BUILD.gn index 1056a5d5..d57422f3 100644 --- a/test/fuzztest/agent/heapprofiler/heapprofilergetsamplingprofile_fuzzer/BUILD.gn +++ b/test/fuzztest/agent/heapprofiler/heapprofilergetsamplingprofile_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("HeapprofilerGetSamplingProfileFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/agent/heapprofiler/heapprofilerstartsampling_fuzzer/BUILD.gn b/test/fuzztest/agent/heapprofiler/heapprofilerstartsampling_fuzzer/BUILD.gn index e4f8a1a2..ba8d4a35 100644 --- a/test/fuzztest/agent/heapprofiler/heapprofilerstartsampling_fuzzer/BUILD.gn +++ b/test/fuzztest/agent/heapprofiler/heapprofilerstartsampling_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("HeapprofilerStartSamplingFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/agent/heapprofiler/heapprofilerstopsampling_fuzzer/BUILD.gn b/test/fuzztest/agent/heapprofiler/heapprofilerstopsampling_fuzzer/BUILD.gn index 3bf65e5e..581da693 100644 --- a/test/fuzztest/agent/heapprofiler/heapprofilerstopsampling_fuzzer/BUILD.gn +++ b/test/fuzztest/agent/heapprofiler/heapprofilerstopsampling_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("HeapprofilerStopSamplingFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/agent/heapprofiler/heapprofilerstoptrackingheapobjects_fuzzer/BUILD.gn b/test/fuzztest/agent/heapprofiler/heapprofilerstoptrackingheapobjects_fuzzer/BUILD.gn index 07b01d58..870dbc8d 100644 --- a/test/fuzztest/agent/heapprofiler/heapprofilerstoptrackingheapobjects_fuzzer/BUILD.gn +++ b/test/fuzztest/agent/heapprofiler/heapprofilerstoptrackingheapobjects_fuzzer/BUILD.gn @@ -37,6 +37,7 @@ ohos_fuzztest("HeapprofilerStopTrackingHeapObjectsFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/agent/heapprofiler/heapprofilertakeheapsnapshot_fuzzer/BUILD.gn b/test/fuzztest/agent/heapprofiler/heapprofilertakeheapsnapshot_fuzzer/BUILD.gn index 7aaa09c6..ab388efe 100644 --- a/test/fuzztest/agent/heapprofiler/heapprofilertakeheapsnapshot_fuzzer/BUILD.gn +++ b/test/fuzztest/agent/heapprofiler/heapprofilertakeheapsnapshot_fuzzer/BUILD.gn @@ -37,6 +37,7 @@ ohos_fuzztest("HeapprofilerTakeHeapSnapshotFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/backend/backendbreakpoint_fuzzer/BUILD.gn b/test/fuzztest/backend/backendbreakpoint_fuzzer/BUILD.gn index ce07fcc4..09f9ffe7 100644 --- a/test/fuzztest/backend/backendbreakpoint_fuzzer/BUILD.gn +++ b/test/fuzztest/backend/backendbreakpoint_fuzzer/BUILD.gn @@ -38,6 +38,7 @@ ohos_fuzztest("BackendBreakpointFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/backend/backendexception_fuzzer/BUILD.gn b/test/fuzztest/backend/backendexception_fuzzer/BUILD.gn index 4b5b03fd..b8035b36 100644 --- a/test/fuzztest/backend/backendexception_fuzzer/BUILD.gn +++ b/test/fuzztest/backend/backendexception_fuzzer/BUILD.gn @@ -38,6 +38,7 @@ ohos_fuzztest("BackendExceptionFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/backend/backendloadmodule_fuzzer/BUILD.gn b/test/fuzztest/backend/backendloadmodule_fuzzer/BUILD.gn index 43101a9f..0fdb8000 100644 --- a/test/fuzztest/backend/backendloadmodule_fuzzer/BUILD.gn +++ b/test/fuzztest/backend/backendloadmodule_fuzzer/BUILD.gn @@ -38,6 +38,7 @@ ohos_fuzztest("BackendLoadModuleFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/backend/backendnativecalling_fuzzer/BUILD.gn b/test/fuzztest/backend/backendnativecalling_fuzzer/BUILD.gn index 8a6a182b..8717b255 100644 --- a/test/fuzztest/backend/backendnativecalling_fuzzer/BUILD.gn +++ b/test/fuzztest/backend/backendnativecalling_fuzzer/BUILD.gn @@ -38,6 +38,7 @@ ohos_fuzztest("BackendNativeCallingFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptbase64/baseptbase64decode_fuzzer/BUILD.gn b/test/fuzztest/base/ptbase64/baseptbase64decode_fuzzer/BUILD.gn index 44d705ed..7a23a8ea 100644 --- a/test/fuzztest/base/ptbase64/baseptbase64decode_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptbase64/baseptbase64decode_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtBase64DecodeFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptbase64/baseptbase64encode_fuzzer/BUILD.gn b/test/fuzztest/base/ptbase64/baseptbase64encode_fuzzer/BUILD.gn index 9cdd5960..8e151f12 100644 --- a/test/fuzztest/base/ptbase64/baseptbase64encode_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptbase64/baseptbase64encode_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtBase64EncodeFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetbreakpointid_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetbreakpointid_fuzzer/BUILD.gn index cd82c5c8..cf0e0dc5 100644 --- a/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetbreakpointid_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetbreakpointid_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsBreakpointGetBreakpointIdFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetlocation_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetlocation_fuzzer/BUILD.gn index 9089e466..5b797668 100644 --- a/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetlocation_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetlocation_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsBreakpointGetLocationFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetname_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetname_fuzzer/BUILD.gn index 711eb66c..1bbe450d 100644 --- a/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetname_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetname_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsBreakpointGetNameFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointsetbreakpointid_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointsetbreakpointid_fuzzer/BUILD.gn index b2d3da1a..75dfe585 100644 --- a/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointsetbreakpointid_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointsetbreakpointid_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsBreakpointSetBreakpointIdFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointsetlocation_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointsetlocation_fuzzer/BUILD.gn index 064a2a76..edaba656 100644 --- a/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointsetlocation_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointsetlocation_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsBreakpointSetLocationFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/paused/baseptspausedgetcallframes_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/paused/baseptspausedgetcallframes_fuzzer/BUILD.gn index 01238e46..6b3a6ba0 100644 --- a/test/fuzztest/base/ptevents/paused/baseptspausedgetcallframes_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/paused/baseptspausedgetcallframes_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsPausedGetCallFramesFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/paused/baseptspausedgetdata_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/paused/baseptspausedgetdata_fuzzer/BUILD.gn index 1234337b..8a8107c1 100644 --- a/test/fuzztest/base/ptevents/paused/baseptspausedgetdata_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/paused/baseptspausedgetdata_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsPausedGetDataFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/paused/baseptspausedgethitbreakpoints_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/paused/baseptspausedgethitbreakpoints_fuzzer/BUILD.gn index 23b4fa6f..56c13195 100644 --- a/test/fuzztest/base/ptevents/paused/baseptspausedgethitbreakpoints_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/paused/baseptspausedgethitbreakpoints_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsPausedGetHitBreakpointsFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/paused/baseptspausedgetname_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/paused/baseptspausedgetname_fuzzer/BUILD.gn index 02285fe4..348d980e 100644 --- a/test/fuzztest/base/ptevents/paused/baseptspausedgetname_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/paused/baseptspausedgetname_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsPausedGetNameFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/paused/baseptspausedgetreason_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/paused/baseptspausedgetreason_fuzzer/BUILD.gn index df5585bd..fbcb9d4e 100644 --- a/test/fuzztest/base/ptevents/paused/baseptspausedgetreason_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/paused/baseptspausedgetreason_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsPausedGetReasonFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/paused/baseptspausedgetreasonstring_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/paused/baseptspausedgetreasonstring_fuzzer/BUILD.gn index 30b140d4..e89e0831 100644 --- a/test/fuzztest/base/ptevents/paused/baseptspausedgetreasonstring_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/paused/baseptspausedgetreasonstring_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsPausedGetReasonStringFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/paused/baseptspausedhasdata_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/paused/baseptspausedhasdata_fuzzer/BUILD.gn index 102fb800..31b8b07d 100644 --- a/test/fuzztest/base/ptevents/paused/baseptspausedhasdata_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/paused/baseptspausedhasdata_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsPausedHasDataFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/paused/baseptspausedhashitbreakpoints_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/paused/baseptspausedhashitbreakpoints_fuzzer/BUILD.gn index 5cd445e0..32d30296 100644 --- a/test/fuzztest/base/ptevents/paused/baseptspausedhashitbreakpoints_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/paused/baseptspausedhashitbreakpoints_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsPausedHasHitBreakpointsFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/paused/baseptspausedsetcallframes_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/paused/baseptspausedsetcallframes_fuzzer/BUILD.gn index 96e4c9d0..f3562513 100644 --- a/test/fuzztest/base/ptevents/paused/baseptspausedsetcallframes_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/paused/baseptspausedsetcallframes_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsPausedSetCallFramesFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/paused/baseptspausedsetdata_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/paused/baseptspausedsetdata_fuzzer/BUILD.gn index 6617594a..1cbd9505 100644 --- a/test/fuzztest/base/ptevents/paused/baseptspausedsetdata_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/paused/baseptspausedsetdata_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsPausedSetDataFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/paused/baseptspausedsethitbreakpoints_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/paused/baseptspausedsethitbreakpoints_fuzzer/BUILD.gn index 50c4d069..a9cd5bd1 100644 --- a/test/fuzztest/base/ptevents/paused/baseptspausedsethitbreakpoints_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/paused/baseptspausedsethitbreakpoints_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsPausedSetHitBreakpointsFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/base/ptevents/paused/baseptspausedsetreason_fuzzer/BUILD.gn b/test/fuzztest/base/ptevents/paused/baseptspausedsetreason_fuzzer/BUILD.gn index 45b2c807..6ae3ab80 100644 --- a/test/fuzztest/base/ptevents/paused/baseptspausedsetreason_fuzzer/BUILD.gn +++ b/test/fuzztest/base/ptevents/paused/baseptspausedsetreason_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("BasePtsPausedSetReasonFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/dispatcher/dispatchresponsecreatecode_fuzzer/BUILD.gn b/test/fuzztest/dispatcher/dispatchresponsecreatecode_fuzzer/BUILD.gn index f1dcad3d..f2069056 100644 --- a/test/fuzztest/dispatcher/dispatchresponsecreatecode_fuzzer/BUILD.gn +++ b/test/fuzztest/dispatcher/dispatchresponsecreatecode_fuzzer/BUILD.gn @@ -41,6 +41,7 @@ ohos_fuzztest("DispatchResponseCreateCodeFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/protocolhandler_fuzzer/BUILD.gn b/test/fuzztest/protocolhandler_fuzzer/BUILD.gn index 2f43a3c9..c549d1e6 100644 --- a/test/fuzztest/protocolhandler_fuzzer/BUILD.gn +++ b/test/fuzztest/protocolhandler_fuzzer/BUILD.gn @@ -37,6 +37,7 @@ ohos_fuzztest("ProtocolHandlerFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/protocolhandlercreateerrorreply_fuzzer/BUILD.gn b/test/fuzztest/protocolhandlercreateerrorreply_fuzzer/BUILD.gn index 80a587e6..04536415 100644 --- a/test/fuzztest/protocolhandlercreateerrorreply_fuzzer/BUILD.gn +++ b/test/fuzztest/protocolhandlercreateerrorreply_fuzzer/BUILD.gn @@ -38,6 +38,7 @@ ohos_fuzztest("ProtocolHandlerCreateErrorReplyFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/protocolhandlerdispatch_fuzzer/BUILD.gn b/test/fuzztest/protocolhandlerdispatch_fuzzer/BUILD.gn index 86fbbac9..b83cb1a6 100644 --- a/test/fuzztest/protocolhandlerdispatch_fuzzer/BUILD.gn +++ b/test/fuzztest/protocolhandlerdispatch_fuzzer/BUILD.gn @@ -38,6 +38,7 @@ ohos_fuzztest("ProtocolHandlerDispatchFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/protocolhandlerget_fuzzer/BUILD.gn b/test/fuzztest/protocolhandlerget_fuzzer/BUILD.gn index c100e296..af643b64 100644 --- a/test/fuzztest/protocolhandlerget_fuzzer/BUILD.gn +++ b/test/fuzztest/protocolhandlerget_fuzzer/BUILD.gn @@ -37,6 +37,7 @@ ohos_fuzztest("ProtocolHandlerGetFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/protocolhandlernotif_fuzzer/BUILD.gn b/test/fuzztest/protocolhandlernotif_fuzzer/BUILD.gn index 61a7dd37..14ed840b 100644 --- a/test/fuzztest/protocolhandlernotif_fuzzer/BUILD.gn +++ b/test/fuzztest/protocolhandlernotif_fuzzer/BUILD.gn @@ -37,6 +37,7 @@ ohos_fuzztest("ProtocolHandlerNotifFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/protocolhandlerprocess_fuzzer/BUILD.gn b/test/fuzztest/protocolhandlerprocess_fuzzer/BUILD.gn index 7edc5fda..2ffb9b0f 100644 --- a/test/fuzztest/protocolhandlerprocess_fuzzer/BUILD.gn +++ b/test/fuzztest/protocolhandlerprocess_fuzzer/BUILD.gn @@ -38,6 +38,7 @@ ohos_fuzztest("ProtocolHandlerProcessFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/protocolhandlerresponse_fuzzer/BUILD.gn b/test/fuzztest/protocolhandlerresponse_fuzzer/BUILD.gn index 6e2f70b0..579f4ce1 100644 --- a/test/fuzztest/protocolhandlerresponse_fuzzer/BUILD.gn +++ b/test/fuzztest/protocolhandlerresponse_fuzzer/BUILD.gn @@ -38,6 +38,7 @@ ohos_fuzztest("ProtocolHandlerResponseFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/protocolhandlerrun_fuzzer/BUILD.gn b/test/fuzztest/protocolhandlerrun_fuzzer/BUILD.gn index 28459e4d..7c7d8476 100644 --- a/test/fuzztest/protocolhandlerrun_fuzzer/BUILD.gn +++ b/test/fuzztest/protocolhandlerrun_fuzzer/BUILD.gn @@ -37,6 +37,7 @@ ohos_fuzztest("ProtocolHandlerRunFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/protocolhandlersendreply_fuzzer/BUILD.gn b/test/fuzztest/protocolhandlersendreply_fuzzer/BUILD.gn index ac81ff5e..6da3b1f6 100644 --- a/test/fuzztest/protocolhandlersendreply_fuzzer/BUILD.gn +++ b/test/fuzztest/protocolhandlersendreply_fuzzer/BUILD.gn @@ -38,6 +38,7 @@ ohos_fuzztest("ProtocolHandlerSendReplyFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesbreakpointparseid_fuzzer/BUILD.gn b/test/fuzztest/pttypesbreakpointparseid_fuzzer/BUILD.gn index 64568e13..abb9e430 100644 --- a/test/fuzztest/pttypesbreakpointparseid_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesbreakpointparseid_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesBreakpointParseIdFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesbreakpointtostring_fuzzer/BUILD.gn b/test/fuzztest/pttypesbreakpointtostring_fuzzer/BUILD.gn index abe26786..048cfa5d 100644 --- a/test/fuzztest/pttypesbreakpointtostring_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesbreakpointtostring_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesBreakpointToStringFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesexceptiondetails_fuzzer/BUILD.gn b/test/fuzztest/pttypesexceptiondetails_fuzzer/BUILD.gn index 7289bece..54474374 100644 --- a/test/fuzztest/pttypesexceptiondetails_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesexceptiondetails_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesExceptionDetailsFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesexceptiondetailscolumn_fuzzer/BUILD.gn b/test/fuzztest/pttypesexceptiondetailscolumn_fuzzer/BUILD.gn index 0f4e52a7..a64d2672 100644 --- a/test/fuzztest/pttypesexceptiondetailscolumn_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesexceptiondetailscolumn_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesExceptionDetailsColumnFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesexceptiondetailscreate_fuzzer/BUILD.gn b/test/fuzztest/pttypesexceptiondetailscreate_fuzzer/BUILD.gn index 10ec0542..56eee19c 100644 --- a/test/fuzztest/pttypesexceptiondetailscreate_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesexceptiondetailscreate_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesExceptionDetailsCreateFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesexceptiondetailsexception_fuzzer/BUILD.gn b/test/fuzztest/pttypesexceptiondetailsexception_fuzzer/BUILD.gn index 06fd2fbd..218ab781 100644 --- a/test/fuzztest/pttypesexceptiondetailsexception_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesexceptiondetailsexception_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesExceptionDetailsExceptionFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesexceptiondetailsexceptionid_fuzzer/BUILD.gn b/test/fuzztest/pttypesexceptiondetailsexceptionid_fuzzer/BUILD.gn index 1ae1fbf2..3c7f6291 100644 --- a/test/fuzztest/pttypesexceptiondetailsexceptionid_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesexceptiondetailsexceptionid_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesExceptionDetailsExceptionIdFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesexceptiondetailsexecutioncontextid_fuzzer/BUILD.gn b/test/fuzztest/pttypesexceptiondetailsexecutioncontextid_fuzzer/BUILD.gn index e3ac3d22..9fbea5c1 100644 --- a/test/fuzztest/pttypesexceptiondetailsexecutioncontextid_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesexceptiondetailsexecutioncontextid_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesExceptionDetailsExecutionContextIdFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesexceptiondetailsline_fuzzer/BUILD.gn b/test/fuzztest/pttypesexceptiondetailsline_fuzzer/BUILD.gn index 16949210..9fafdb77 100644 --- a/test/fuzztest/pttypesexceptiondetailsline_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesexceptiondetailsline_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesExceptionDetailsLineFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesexceptiondetailsscriptid_fuzzer/BUILD.gn b/test/fuzztest/pttypesexceptiondetailsscriptid_fuzzer/BUILD.gn index 43923568..07b6edf8 100644 --- a/test/fuzztest/pttypesexceptiondetailsscriptid_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesexceptiondetailsscriptid_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesExceptionDetailsScriptIdFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesexceptiondetailstext_fuzzer/BUILD.gn b/test/fuzztest/pttypesexceptiondetailstext_fuzzer/BUILD.gn index e58b5a10..c1dab620 100644 --- a/test/fuzztest/pttypesexceptiondetailstext_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesexceptiondetailstext_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesExceptionDetailsTextFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesexceptiondetailstojson_fuzzer/BUILD.gn b/test/fuzztest/pttypesexceptiondetailstojson_fuzzer/BUILD.gn index e1523ae2..ad1e8f3c 100644 --- a/test/fuzztest/pttypesexceptiondetailstojson_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesexceptiondetailstojson_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesExceptionDetailsToJsonFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesexceptiondetailsurl_fuzzer/BUILD.gn b/test/fuzztest/pttypesexceptiondetailsurl_fuzzer/BUILD.gn index 6e706598..7bb26fcb 100644 --- a/test/fuzztest/pttypesexceptiondetailsurl_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesexceptiondetailsurl_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesExceptionDetailsUrlFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesinternalpropertydesp_fuzzer/BUILD.gn b/test/fuzztest/pttypesinternalpropertydesp_fuzzer/BUILD.gn index fefefab8..89046fab 100755 --- a/test/fuzztest/pttypesinternalpropertydesp_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesinternalpropertydesp_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesInternalPropertyDespFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesinternalpropertydespcreate_fuzzer/BUILD.gn b/test/fuzztest/pttypesinternalpropertydespcreate_fuzzer/BUILD.gn index 976eed24..42940a0f 100755 --- a/test/fuzztest/pttypesinternalpropertydespcreate_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesinternalpropertydespcreate_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesInternalPropertyDespCreateFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesinternalpropertydespname_fuzzer/BUILD.gn b/test/fuzztest/pttypesinternalpropertydespname_fuzzer/BUILD.gn index b7ab20a6..1b367cae 100755 --- a/test/fuzztest/pttypesinternalpropertydespname_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesinternalpropertydespname_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesInternalPropertyDespNameFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesinternalpropertydesptojson_fuzzer/BUILD.gn b/test/fuzztest/pttypesinternalpropertydesptojson_fuzzer/BUILD.gn index 79071d75..f3ebb61c 100755 --- a/test/fuzztest/pttypesinternalpropertydesptojson_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesinternalpropertydesptojson_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesInternalPropertyDespToJsonFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesinternalpropertydespvalue_fuzzer/BUILD.gn b/test/fuzztest/pttypesinternalpropertydespvalue_fuzzer/BUILD.gn index 6625fec1..5d78065c 100755 --- a/test/fuzztest/pttypesinternalpropertydespvalue_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesinternalpropertydespvalue_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesInternalPropertyDespValueFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesobjectremoteobject_fuzzer/BUILD.gn b/test/fuzztest/pttypesobjectremoteobject_fuzzer/BUILD.gn index b0ac55dd..71594b73 100644 --- a/test/fuzztest/pttypesobjectremoteobject_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesobjectremoteobject_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesObjectRemoteObjectFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesprimitiveremoteobject_fuzzer/BUILD.gn b/test/fuzztest/pttypesprimitiveremoteobject_fuzzer/BUILD.gn index 164381f1..d0a0b24c 100644 --- a/test/fuzztest/pttypesprimitiveremoteobject_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesprimitiveremoteobject_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesPrimitiveRemoteObjectFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesprivatepropertydesp_fuzzer/BUILD.gn b/test/fuzztest/pttypesprivatepropertydesp_fuzzer/BUILD.gn index a22051bf..7da5dac8 100755 --- a/test/fuzztest/pttypesprivatepropertydesp_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesprivatepropertydesp_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesPrivatePropertyDespFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesprivatepropertydespcreate_fuzzer/BUILD.gn b/test/fuzztest/pttypesprivatepropertydespcreate_fuzzer/BUILD.gn index 80875bfb..95c28c4e 100755 --- a/test/fuzztest/pttypesprivatepropertydespcreate_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesprivatepropertydespcreate_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesPrivatePropertyDespCreateFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesprivatepropertydespget_fuzzer/BUILD.gn b/test/fuzztest/pttypesprivatepropertydespget_fuzzer/BUILD.gn index a2c60ca0..1c11f543 100755 --- a/test/fuzztest/pttypesprivatepropertydespget_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesprivatepropertydespget_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesPrivatePropertyDespGetFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesprivatepropertydespname_fuzzer/BUILD.gn b/test/fuzztest/pttypesprivatepropertydespname_fuzzer/BUILD.gn index 7e860381..7175b72f 100755 --- a/test/fuzztest/pttypesprivatepropertydespname_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesprivatepropertydespname_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesPrivatePropertyDespNameFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesprivatepropertydespset_fuzzer/BUILD.gn b/test/fuzztest/pttypesprivatepropertydespset_fuzzer/BUILD.gn index b719f2f9..b613f04c 100755 --- a/test/fuzztest/pttypesprivatepropertydespset_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesprivatepropertydespset_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesPrivatePropertyDespSetFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesprivatepropertydesptojson_fuzzer/BUILD.gn b/test/fuzztest/pttypesprivatepropertydesptojson_fuzzer/BUILD.gn index 1a748157..f8021301 100755 --- a/test/fuzztest/pttypesprivatepropertydesptojson_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesprivatepropertydesptojson_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesPrivatePropertyDespToJsonFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesprivatepropertydespvalue_fuzzer/BUILD.gn b/test/fuzztest/pttypesprivatepropertydespvalue_fuzzer/BUILD.gn index a2349d86..f1a6c91a 100755 --- a/test/fuzztest/pttypesprivatepropertydespvalue_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesprivatepropertydespvalue_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesPrivatePropertyDespValueFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobject_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobject_fuzzer/BUILD.gn index f7c72eb5..d5b61116 100644 --- a/test/fuzztest/pttypesremoteobject_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobject_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesRemoteObjectFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjectdescription_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjectdescription_fuzzer/BUILD.gn index 4694c3fe..73cbd20b 100644 --- a/test/fuzztest/pttypesremoteobjectdescription_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjectdescription_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesRemoteObjectDescriptionFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjectgetclassname_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjectgetclassname_fuzzer/BUILD.gn index af761bba..4943fb74 100644 --- a/test/fuzztest/pttypesremoteobjectgetclassname_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjectgetclassname_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesRemoteObjectGetClassNameFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjectgetsubtype_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjectgetsubtype_fuzzer/BUILD.gn index ce9116b1..ae118211 100644 --- a/test/fuzztest/pttypesremoteobjectgetsubtype_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjectgetsubtype_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesRemoteObjectGetSubTypeFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjectgettype_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjectgettype_fuzzer/BUILD.gn index 1de0dcf5..e52962f2 100644 --- a/test/fuzztest/pttypesremoteobjectgettype_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjectgettype_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesRemoteObjectGetTypeFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjectgetvalue_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjectgetvalue_fuzzer/BUILD.gn index dfb3a594..586d7544 100644 --- a/test/fuzztest/pttypesremoteobjectgetvalue_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjectgetvalue_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesRemoteObjectGetValueFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjecthasclassname_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjecthasclassname_fuzzer/BUILD.gn index b9122f50..3384d912 100644 --- a/test/fuzztest/pttypesremoteobjecthasclassname_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjecthasclassname_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesRemoteObjectHasClassNameFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjecthassubtype_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjecthassubtype_fuzzer/BUILD.gn index 4937cc62..40c34ddc 100644 --- a/test/fuzztest/pttypesremoteobjecthassubtype_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjecthassubtype_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesRemoteObjectHasSubTypeFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjectobjectid_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjectobjectid_fuzzer/BUILD.gn index d97a287f..51dd9403 100644 --- a/test/fuzztest/pttypesremoteobjectobjectid_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjectobjectid_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesRemoteObjectObjectIdFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjectsetclassname_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjectsetclassname_fuzzer/BUILD.gn index 5ee77a15..6713f370 100644 --- a/test/fuzztest/pttypesremoteobjectsetclassname_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjectsetclassname_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesRemoteObjectSetClassNameFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjectsetsubtype_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjectsetsubtype_fuzzer/BUILD.gn index 993d60db..f3dc9067 100644 --- a/test/fuzztest/pttypesremoteobjectsetsubtype_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjectsetsubtype_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesRemoteObjectSetSubTypeFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjectsettype_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjectsettype_fuzzer/BUILD.gn index a9f39ad9..7618fd32 100644 --- a/test/fuzztest/pttypesremoteobjectsettype_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjectsettype_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesRemoteObjectSetTypeFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjectsetvalue_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjectsetvalue_fuzzer/BUILD.gn index 1a756b72..f9ec5017 100644 --- a/test/fuzztest/pttypesremoteobjectsetvalue_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjectsetvalue_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesRemoteObjectSetValueFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesremoteobjectunserializablevalue_fuzzer/BUILD.gn b/test/fuzztest/pttypesremoteobjectunserializablevalue_fuzzer/BUILD.gn index bb459ef1..404a77f0 100644 --- a/test/fuzztest/pttypesremoteobjectunserializablevalue_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesremoteobjectunserializablevalue_fuzzer/BUILD.gn @@ -34,6 +34,7 @@ ohos_fuzztest("PtTypesRemoteObjectUnserializableValueFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypesstringremoteobject_fuzzer/BUILD.gn b/test/fuzztest/pttypesstringremoteobject_fuzzer/BUILD.gn index 1de97974..ea1de604 100644 --- a/test/fuzztest/pttypesstringremoteobject_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypesstringremoteobject_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesStringRemoteObjectFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/test/fuzztest/pttypessymbolremoteobject_fuzzer/BUILD.gn b/test/fuzztest/pttypessymbolremoteobject_fuzzer/BUILD.gn index b439bc8f..958ffd8b 100644 --- a/test/fuzztest/pttypessymbolremoteobject_fuzzer/BUILD.gn +++ b/test/fuzztest/pttypessymbolremoteobject_fuzzer/BUILD.gn @@ -35,6 +35,7 @@ ohos_fuzztest("PtTypesSymbolRemoteObjectFuzzTest") { external_deps += [ "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", sdk_libc_secshared_dep, ] diff --git a/tooling/BUILD.gn b/tooling/BUILD.gn index 7955dbef..6613bf1a 100644 --- a/tooling/BUILD.gn +++ b/tooling/BUILD.gn @@ -14,11 +14,7 @@ import("../toolchain.gni") config("ark_ecma_debugger_config") { - configs = [ - "..:ark_toolchain_common_config", - "//arkcompiler/ets_runtime:ark_jsruntime_common_config", - "//arkcompiler/ets_runtime:ark_jsruntime_public_config", - ] + configs = [ "..:ark_toolchain_common_config" ] include_dirs = [ "." ] } @@ -63,14 +59,17 @@ ohos_source_set("libark_ecma_debugger_set") { defines = [] deps = [] - external_deps = [] + external_deps = [ "ets_runtime:libark_jsruntime" ] if (is_arkui_x && target_os == "ios") { sources -= [ "../common/log_wrapper.cpp" ] external_deps += [ "cJSON:cjson_static" ] } else { external_deps += [ "cJSON:cjson" ] } - external_deps += [ "libuv:uv" ] + external_deps += [ + "icu:shared_icuuc", + "libuv:uv", + ] if (is_ohos && is_standard_system && !is_arkui_x) { defines += [ "ENABLE_FFRT_INTERFACES" ] @@ -138,9 +137,12 @@ ohos_shared_library("libark_ecma_debugger_test") { public_configs = [ ":ark_ecma_debugger_config" ] defines = [ "OHOS_UNIT_TEST" ] - - deps = [ "$js_root:libark_jsruntime_test" ] - external_deps = [ "libuv:uv" ] + deps = [] + external_deps = [ + "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", + "libuv:uv", + ] if ((is_arkui_x && target_os == "ios") || target_os == "mac") { external_deps += [ "cJSON:cjson_static" ] } else { diff --git a/tooling/client/BUILD.gn b/tooling/client/BUILD.gn index 993f7f23..21c40e9b 100644 --- a/tooling/client/BUILD.gn +++ b/tooling/client/BUILD.gn @@ -54,6 +54,7 @@ ohos_source_set("libark_client_set") { "bounds_checking_function:libsec_shared", "cJSON:cjson_static", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", ] diff --git a/tooling/client/ark_cli/BUILD.gn b/tooling/client/ark_cli/BUILD.gn index 5ea01791..73f753d5 100644 --- a/tooling/client/ark_cli/BUILD.gn +++ b/tooling/client/ark_cli/BUILD.gn @@ -32,6 +32,7 @@ ohos_executable("arkdb") { "bounds_checking_function:libsec_shared", "cJSON:cjson", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", ] diff --git a/tooling/client/ark_multi/BUILD.gn b/tooling/client/ark_multi/BUILD.gn index f4e9d1fe..439049c3 100644 --- a/tooling/client/ark_multi/BUILD.gn +++ b/tooling/client/ark_multi/BUILD.gn @@ -32,6 +32,7 @@ ohos_executable("ark_multi") { external_deps = [ "bounds_checking_function:libsec_shared", "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", "libuv:uv", ] diff --git a/tooling/test/BUILD.gn b/tooling/test/BUILD.gn index 4b9071de..84db9031 100644 --- a/tooling/test/BUILD.gn +++ b/tooling/test/BUILD.gn @@ -29,7 +29,6 @@ config("debug_api_test") { "$toolchain_root/websocket", "//arkcompiler/ets_runtime", "../..", - "//third_party/libuv/include", ] } @@ -94,7 +93,7 @@ ohos_shared_library("debugger_entry") { foreach(file, test_js_files) { deps += [ ":gen_${file}_abc" ] } - external_deps = [] + external_deps = [ "libuv:uv" ] if (enable_hilog) { external_deps += [ "hilog:libhilog" ] } @@ -132,13 +131,15 @@ ohos_shared_library("jsdebugtest") { "DEBUGGER_JS_DIR=\"${test_js_dir}\"", ] - deps = [ - "//arkcompiler/ets_runtime:libark_jsruntime_test", - "//arkcompiler/toolchain/tooling:libark_ecma_debugger_test", + deps = [ "..:libark_ecma_debugger_test" ] + external_deps = [ + "ets_runtime:libark_jsruntime", + "icu:shared_icuuc", + "libuv:uv", ] # hiviewdfx libraries - external_deps = hiviewdfx_ext_deps + external_deps += hiviewdfx_ext_deps deps += hiviewdfx_deps if (enable_hilog) { external_deps += [ "hilog:libhilog" ] @@ -170,7 +171,6 @@ host_unittest_action("DebuggerEntryTest") { deps = [ ":debugger_entry_resource", ":jsdebugtest", - "$js_root:libark_jsruntime_test", "$toolchain_root/tooling:libark_ecma_debugger_test", ] @@ -178,8 +178,10 @@ host_unittest_action("DebuggerEntryTest") { external_deps = hiviewdfx_ext_deps external_deps += [ "cJSON:cjson_static", + "ets_runtime:libark_jsruntime", "icu:shared_icui18n", "icu:shared_icuuc", + "libuv:uv", ] deps += hiviewdfx_deps } @@ -217,18 +219,17 @@ host_unittest_action("DebuggerTest") { configs = [ ":debug_api_test" ] - deps = [ - "$js_root:libark_jsruntime_test", - "$toolchain_root/tooling:libark_ecma_debugger_test", - ] + deps = [ "$toolchain_root/tooling:libark_ecma_debugger_test" ] # hiviewdfx libraries external_deps = hiviewdfx_ext_deps external_deps += [ "bounds_checking_function:libsec_shared", "cJSON:cjson", + "ets_runtime:libark_jsruntime", "icu:shared_icui18n", "icu:shared_icuuc", + "libuv:uv", "runtime_core:libarkbase_static", ] deps += hiviewdfx_deps @@ -251,7 +252,6 @@ host_unittest_action("DebuggerCInterpTest") { deps = [ ":debugger_entry_resource", ":jsdebugtest", - "$js_root:libark_jsruntime_test", "$toolchain_root/tooling:libark_ecma_debugger_test", ] @@ -259,8 +259,10 @@ host_unittest_action("DebuggerCInterpTest") { external_deps = hiviewdfx_ext_deps external_deps += [ "cJSON:cjson_static", + "ets_runtime:libark_jsruntime", "icu:shared_icui18n", "icu:shared_icuuc", + "libuv:uv", ] deps += hiviewdfx_deps } @@ -305,6 +307,7 @@ host_unittest_action("DebuggerClientTest") { "cJSON:cjson_static", "icu:shared_icui18n", "icu:shared_icuuc", + "libuv:uv", ] deps += hiviewdfx_deps @@ -351,6 +354,7 @@ host_unittest_action("DebuggerCIntClientTest") { "cJSON:cjson_static", "icu:shared_icui18n", "icu:shared_icuuc", + "libuv:uv", ] deps += hiviewdfx_deps -- Gitee