From 103cce51b0027b6618ed2a981205cb4ec6b9f68b Mon Sep 17 00:00:00 2001 From: songhao Date: Thu, 19 May 2022 11:22:20 +0800 Subject: [PATCH] Modify the jsoncpp configuration file Issues: https://gitee.com/openharmony/ark_runtime_core/issues/I57XEW Signed-off-by: songhao Change-Id: I9ff851ec199b1c62c2c8177919f23d4df0bdb833 --- ts2panda/ts2abc/BUILD.gn | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/ts2panda/ts2abc/BUILD.gn b/ts2panda/ts2abc/BUILD.gn index 8718d3e7a1..d330ac1776 100755 --- a/ts2panda/ts2abc/BUILD.gn +++ b/ts2panda/ts2abc/BUILD.gn @@ -50,32 +50,7 @@ config("ts2abc_config") { } } -config("flag_config") { - cflags_cc = [ "-fexceptions" ] -} - -source_set("jsoncpp_set_static") { - sources = [ - "$ark_third_party_root/jsoncpp/src/lib_json/json_reader.cpp", - "$ark_third_party_root/jsoncpp/src/lib_json/json_value.cpp", - "$ark_third_party_root/jsoncpp/src/lib_json/json_writer.cpp", - ] - public_configs = [ "$jsoncpp_root:jsoncpp_config" ] - public_configs += [ ":flag_config" ] - include_dirs = [ - "$jsoncpp_root/include", - "$jsoncpp_root/include/json/", - ] -} - if (!defined(ark_independent_build)) { - ohos_static_library("jsoncpp_static") { - deps = [ ":jsoncpp_set_static" ] - use_exceptions = true - subsystem_name = "ark" - part_name = "ark_frontend_tool" - } - ohos_executable("ts2abc") { sources = [ "main.cpp", @@ -134,8 +109,4 @@ if (!defined(ark_independent_build)) { install_enable = true subsystem_name = "ark" } -} else { - ark_static_library("jsoncpp_static") { - deps = [ ":jsoncpp_set_static" ] - } } -- Gitee