diff --git a/ts2panda/ts2abc/BUILD.gn b/ts2panda/ts2abc/BUILD.gn index 8718d3e7a178be3e01d9ce36771e2ccf7de7f7f4..d330ac17768f69829820087830853a9d4f4f1bdb 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" ] - } }