1# Copyright (c) 2022 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//build/ohos.gni") 15 16config("idl_config") { 17 include_dirs = [ "./idl_tool_2" ] 18} 19 20common_sources = [ 21 "idl_tool_2/ast/base/ast_boolean_type.cpp", 22 "idl_tool_2/ast/base/ast_boolean_type.h", 23 "idl_tool_2/ast/base/ast_byte_type.cpp", 24 "idl_tool_2/ast/base/ast_byte_type.h", 25 "idl_tool_2/ast/base/ast_char_type.cpp", 26 "idl_tool_2/ast/base/ast_char_type.h", 27 "idl_tool_2/ast/base/ast_cstring_type.cpp", 28 "idl_tool_2/ast/base/ast_cstring_type.h", 29 "idl_tool_2/ast/base/ast_double_type.cpp", 30 "idl_tool_2/ast/base/ast_double_type.h", 31 "idl_tool_2/ast/base/ast_float_type.cpp", 32 "idl_tool_2/ast/base/ast_float_type.h", 33 "idl_tool_2/ast/base/ast_integer_type.cpp", 34 "idl_tool_2/ast/base/ast_integer_type.h", 35 "idl_tool_2/ast/base/ast_long_type.cpp", 36 "idl_tool_2/ast/base/ast_long_type.h", 37 "idl_tool_2/ast/base/ast_short_type.cpp", 38 "idl_tool_2/ast/base/ast_short_type.h", 39 "idl_tool_2/ast/base/ast_string16_type.cpp", 40 "idl_tool_2/ast/base/ast_string16_type.h", 41 "idl_tool_2/ast/base/ast_string_type.cpp", 42 "idl_tool_2/ast/base/ast_string_type.h", 43 "idl_tool_2/ast/base/ast_u16string_type.cpp", 44 "idl_tool_2/ast/base/ast_u16string_type.h", 45 "idl_tool_2/ast/base/ast_uchar_type.cpp", 46 "idl_tool_2/ast/base/ast_uchar_type.h", 47 "idl_tool_2/ast/base/ast_uint_type.cpp", 48 "idl_tool_2/ast/base/ast_uint_type.h", 49 "idl_tool_2/ast/base/ast_ulong_type.cpp", 50 "idl_tool_2/ast/base/ast_ulong_type.h", 51 "idl_tool_2/ast/base/ast_ushort_type.cpp", 52 "idl_tool_2/ast/base/ast_ushort_type.h", 53] 54 55common_sources += [ 56 "idl_tool_2/ast/ast.cpp", 57 "idl_tool_2/ast/ast.h", 58 "idl_tool_2/ast/ast_array_type.cpp", 59 "idl_tool_2/ast/ast_array_type.h", 60 "idl_tool_2/ast/ast_attribute.cpp", 61 "idl_tool_2/ast/ast_attribute.h", 62 "idl_tool_2/ast/ast_enum_type.cpp", 63 "idl_tool_2/ast/ast_enum_type.h", 64 "idl_tool_2/ast/ast_expr.cpp", 65 "idl_tool_2/ast/ast_expr.h", 66 "idl_tool_2/ast/ast_fd_type.cpp", 67 "idl_tool_2/ast/ast_fd_type.h", 68 "idl_tool_2/ast/ast_fdsan_type.cpp", 69 "idl_tool_2/ast/ast_fdsan_type.h", 70 "idl_tool_2/ast/ast_interface_type.cpp", 71 "idl_tool_2/ast/ast_interface_type.h", 72 "idl_tool_2/ast/ast_map_type.cpp", 73 "idl_tool_2/ast/ast_map_type.h", 74 "idl_tool_2/ast/ast_method.cpp", 75 "idl_tool_2/ast/ast_method.h", 76 "idl_tool_2/ast/ast_namespace.cpp", 77 "idl_tool_2/ast/ast_namespace.h", 78 "idl_tool_2/ast/ast_native_buffer_type.cpp", 79 "idl_tool_2/ast/ast_native_buffer_type.h", 80 "idl_tool_2/ast/ast_node.cpp", 81 "idl_tool_2/ast/ast_node.h", 82 "idl_tool_2/ast/ast_orderedmap_type.cpp", 83 "idl_tool_2/ast/ast_orderedmap_type.h", 84 "idl_tool_2/ast/ast_parameter.cpp", 85 "idl_tool_2/ast/ast_parameter.h", 86 "idl_tool_2/ast/ast_pointer_type.cpp", 87 "idl_tool_2/ast/ast_pointer_type.h", 88 "idl_tool_2/ast/ast_ptr_type.cpp", 89 "idl_tool_2/ast/ast_rawdata_type.cpp", 90 "idl_tool_2/ast/ast_rawdata_type.h", 91 "idl_tool_2/ast/ast_sequenceable_type.cpp", 92 "idl_tool_2/ast/ast_sequenceable_type.h", 93 "idl_tool_2/ast/ast_set_type.cpp", 94 "idl_tool_2/ast/ast_set_type.h", 95 "idl_tool_2/ast/ast_smq_type.cpp", 96 "idl_tool_2/ast/ast_smq_type.h", 97 "idl_tool_2/ast/ast_struct_type.cpp", 98 "idl_tool_2/ast/ast_struct_type.h", 99 "idl_tool_2/ast/ast_type.cpp", 100 "idl_tool_2/ast/ast_type.h", 101 "idl_tool_2/ast/ast_union_type.cpp", 102 "idl_tool_2/ast/ast_union_type.h", 103 "idl_tool_2/ast/ast_void_type.cpp", 104 "idl_tool_2/ast/ast_void_type.h", 105] 106 107common_sources += [ 108 "idl_tool_2/codegen/HDI/c/c_client_proxy_code_emitter.cpp", 109 "idl_tool_2/codegen/HDI/c/c_client_proxy_code_emitter.h", 110 "idl_tool_2/codegen/HDI/c/c_custom_types_code_emitter.cpp", 111 "idl_tool_2/codegen/HDI/c/c_custom_types_code_emitter.h", 112 "idl_tool_2/codegen/HDI/c/c_interface_code_emitter.cpp", 113 "idl_tool_2/codegen/HDI/c/c_interface_code_emitter.h", 114 "idl_tool_2/codegen/HDI/c/c_service_driver_code_emitter.cpp", 115 "idl_tool_2/codegen/HDI/c/c_service_driver_code_emitter.h", 116 "idl_tool_2/codegen/HDI/c/c_service_impl_code_emitter.cpp", 117 "idl_tool_2/codegen/HDI/c/c_service_impl_code_emitter.h", 118 "idl_tool_2/codegen/HDI/c/c_service_stub_code_emitter.cpp", 119 "idl_tool_2/codegen/HDI/c/c_service_stub_code_emitter.h", 120 "idl_tool_2/codegen/HDI/c/hdi_c_code_emitter.cpp", 121 "idl_tool_2/codegen/HDI/c/hdi_c_code_emitter.h", 122] 123 124common_sources += [ 125 "idl_tool_2/codegen/HDI/cpp/cpp_client_proxy_code_emitter.cpp", 126 "idl_tool_2/codegen/HDI/cpp/cpp_client_proxy_code_emitter.h", 127 "idl_tool_2/codegen/HDI/cpp/cpp_custom_types_code_emitter.cpp", 128 "idl_tool_2/codegen/HDI/cpp/cpp_custom_types_code_emitter.h", 129 "idl_tool_2/codegen/HDI/cpp/cpp_interface_code_emitter.cpp", 130 "idl_tool_2/codegen/HDI/cpp/cpp_interface_code_emitter.h", 131 "idl_tool_2/codegen/HDI/cpp/cpp_service_driver_code_emitter.cpp", 132 "idl_tool_2/codegen/HDI/cpp/cpp_service_driver_code_emitter.h", 133 "idl_tool_2/codegen/HDI/cpp/cpp_service_impl_code_emitter.cpp", 134 "idl_tool_2/codegen/HDI/cpp/cpp_service_impl_code_emitter.h", 135 "idl_tool_2/codegen/HDI/cpp/cpp_service_stub_code_emitter.cpp", 136 "idl_tool_2/codegen/HDI/cpp/cpp_service_stub_code_emitter.h", 137 "idl_tool_2/codegen/HDI/cpp/hdi_cpp_code_emitter.cpp", 138 "idl_tool_2/codegen/HDI/cpp/hdi_cpp_code_emitter.h", 139] 140 141common_sources += [ 142 "idl_tool_2/codegen/HDI/java/hdi_java_code_emitter.cpp", 143 "idl_tool_2/codegen/HDI/java/hdi_java_code_emitter.h", 144 "idl_tool_2/codegen/HDI/java/java_client_interface_code_emitter.cpp", 145 "idl_tool_2/codegen/HDI/java/java_client_interface_code_emitter.h", 146 "idl_tool_2/codegen/HDI/java/java_client_proxy_code_emitter.cpp", 147 "idl_tool_2/codegen/HDI/java/java_client_proxy_code_emitter.h", 148] 149 150common_sources += [ 151 "idl_tool_2/codegen/HDI/type/hdi_array_type_emitter.cpp", 152 "idl_tool_2/codegen/HDI/type/hdi_array_type_emitter.h", 153 "idl_tool_2/codegen/HDI/type/hdi_boolean_type_emitter.cpp", 154 "idl_tool_2/codegen/HDI/type/hdi_boolean_type_emitter.h", 155 "idl_tool_2/codegen/HDI/type/hdi_byte_type_emitter.cpp", 156 "idl_tool_2/codegen/HDI/type/hdi_byte_type_emitter.h", 157 "idl_tool_2/codegen/HDI/type/hdi_double_type_emitter.cpp", 158 "idl_tool_2/codegen/HDI/type/hdi_double_type_emitter.h", 159 "idl_tool_2/codegen/HDI/type/hdi_enum_type_emitter.cpp", 160 "idl_tool_2/codegen/HDI/type/hdi_enum_type_emitter.h", 161 "idl_tool_2/codegen/HDI/type/hdi_fd_type_emitter.cpp", 162 "idl_tool_2/codegen/HDI/type/hdi_fd_type_emitter.h", 163 "idl_tool_2/codegen/HDI/type/hdi_float_type_emitter.cpp", 164 "idl_tool_2/codegen/HDI/type/hdi_float_type_emitter.h", 165 "idl_tool_2/codegen/HDI/type/hdi_int_type_emitter.cpp", 166 "idl_tool_2/codegen/HDI/type/hdi_int_type_emitter.h", 167 "idl_tool_2/codegen/HDI/type/hdi_interface_type_emitter.cpp", 168 "idl_tool_2/codegen/HDI/type/hdi_interface_type_emitter.h", 169 "idl_tool_2/codegen/HDI/type/hdi_long_type_emitter.cpp", 170 "idl_tool_2/codegen/HDI/type/hdi_long_type_emitter.h", 171 "idl_tool_2/codegen/HDI/type/hdi_map_type_emitter.cpp", 172 "idl_tool_2/codegen/HDI/type/hdi_map_type_emitter.h", 173 "idl_tool_2/codegen/HDI/type/hdi_native_buffer_type_emitter.cpp", 174 "idl_tool_2/codegen/HDI/type/hdi_native_buffer_type_emitter.h", 175 "idl_tool_2/codegen/HDI/type/hdi_pointer_type_emitter.cpp", 176 "idl_tool_2/codegen/HDI/type/hdi_pointer_type_emitter.h", 177 "idl_tool_2/codegen/HDI/type/hdi_seq_type_emitter.cpp", 178 "idl_tool_2/codegen/HDI/type/hdi_seq_type_emitter.h", 179 "idl_tool_2/codegen/HDI/type/hdi_short_type_emitter.cpp", 180 "idl_tool_2/codegen/HDI/type/hdi_short_type_emitter.h", 181 "idl_tool_2/codegen/HDI/type/hdi_smq_type_emitter.cpp", 182 "idl_tool_2/codegen/HDI/type/hdi_smq_type_emitter.h", 183 "idl_tool_2/codegen/HDI/type/hdi_string_type_emitter.cpp", 184 "idl_tool_2/codegen/HDI/type/hdi_string_type_emitter.h", 185 "idl_tool_2/codegen/HDI/type/hdi_struct_type_emitter.cpp", 186 "idl_tool_2/codegen/HDI/type/hdi_struct_type_emitter.h", 187 "idl_tool_2/codegen/HDI/type/hdi_uchar_type_emitter.cpp", 188 "idl_tool_2/codegen/HDI/type/hdi_uchar_type_emitter.h", 189 "idl_tool_2/codegen/HDI/type/hdi_uint_type_emitter.cpp", 190 "idl_tool_2/codegen/HDI/type/hdi_uint_type_emitter.h", 191 "idl_tool_2/codegen/HDI/type/hdi_ulong_type_emitter.cpp", 192 "idl_tool_2/codegen/HDI/type/hdi_ulong_type_emitter.h", 193 "idl_tool_2/codegen/HDI/type/hdi_union_type_emitter.cpp", 194 "idl_tool_2/codegen/HDI/type/hdi_union_type_emitter.h", 195 "idl_tool_2/codegen/HDI/type/hdi_ushort_type_emitter.cpp", 196 "idl_tool_2/codegen/HDI/type/hdi_ushort_type_emitter.h", 197] 198 199common_sources += [ 200 "idl_tool_2/codegen/HDI/hdi_code_emitter.cpp", 201 "idl_tool_2/codegen/HDI/hdi_code_emitter.h", 202 "idl_tool_2/codegen/HDI/hdi_code_generator.cpp", 203 "idl_tool_2/codegen/HDI/hdi_code_generator.h", 204 "idl_tool_2/codegen/HDI/hdi_type_emitter.cpp", 205 "idl_tool_2/codegen/HDI/hdi_type_emitter.h", 206] 207 208common_sources += [ 209 "idl_tool_2/codegen/SA/cpp/sa_cpp_client_code_emitter.cpp", 210 "idl_tool_2/codegen/SA/cpp/sa_cpp_client_code_emitter.h", 211 "idl_tool_2/codegen/SA/cpp/sa_cpp_client_proxy_code_emitter.cpp", 212 "idl_tool_2/codegen/SA/cpp/sa_cpp_client_proxy_code_emitter.h", 213 "idl_tool_2/codegen/SA/cpp/sa_cpp_code_emitter.cpp", 214 "idl_tool_2/codegen/SA/cpp/sa_cpp_code_emitter.h", 215 "idl_tool_2/codegen/SA/cpp/sa_cpp_custom_types_code_emitter.cpp", 216 "idl_tool_2/codegen/SA/cpp/sa_cpp_custom_types_code_emitter.h", 217 "idl_tool_2/codegen/SA/cpp/sa_cpp_interface_code_emitter.cpp", 218 "idl_tool_2/codegen/SA/cpp/sa_cpp_interface_code_emitter.h", 219 "idl_tool_2/codegen/SA/cpp/sa_cpp_service_stub_code_emitter.cpp", 220 "idl_tool_2/codegen/SA/cpp/sa_cpp_service_stub_code_emitter.h", 221] 222 223common_sources += [ 224 "idl_tool_2/codegen/SA/rust/sa_rust_code_emitter.cpp", 225 "idl_tool_2/codegen/SA/rust/sa_rust_code_emitter.h", 226 "idl_tool_2/codegen/SA/rust/sa_rust_interface_code_emitter.cpp", 227 "idl_tool_2/codegen/SA/rust/sa_rust_interface_code_emitter.h", 228] 229 230common_sources += [ 231 "idl_tool_2/codegen/SA/ts/sa_ts_client_proxy_code_emitter.cpp", 232 "idl_tool_2/codegen/SA/ts/sa_ts_client_proxy_code_emitter.h", 233 "idl_tool_2/codegen/SA/ts/sa_ts_code_emitter.cpp", 234 "idl_tool_2/codegen/SA/ts/sa_ts_code_emitter.h", 235 "idl_tool_2/codegen/SA/ts/sa_ts_interface_code_emitter.cpp", 236 "idl_tool_2/codegen/SA/ts/sa_ts_interface_code_emitter.h", 237 "idl_tool_2/codegen/SA/ts/sa_ts_service_stub_code_emitter.cpp", 238 "idl_tool_2/codegen/SA/ts/sa_ts_service_stub_code_emitter.h", 239] 240 241common_sources += [ 242 "idl_tool_2/codegen/SA/type/sa_array_type_emitter.cpp", 243 "idl_tool_2/codegen/SA/type/sa_array_type_emitter.h", 244 "idl_tool_2/codegen/SA/type/sa_boolean_type_emitter.cpp", 245 "idl_tool_2/codegen/SA/type/sa_boolean_type_emitter.h", 246 "idl_tool_2/codegen/SA/type/sa_byte_type_emitter.cpp", 247 "idl_tool_2/codegen/SA/type/sa_byte_type_emitter.h", 248 "idl_tool_2/codegen/SA/type/sa_char_type_emitter.cpp", 249 "idl_tool_2/codegen/SA/type/sa_char_type_emitter.h", 250 "idl_tool_2/codegen/SA/type/sa_cstring_type_emitter.cpp", 251 "idl_tool_2/codegen/SA/type/sa_cstring_type_emitter.h", 252 "idl_tool_2/codegen/SA/type/sa_double_type_emitter.cpp", 253 "idl_tool_2/codegen/SA/type/sa_double_type_emitter.h", 254 "idl_tool_2/codegen/SA/type/sa_enum_type_emitter.cpp", 255 "idl_tool_2/codegen/SA/type/sa_enum_type_emitter.h", 256 "idl_tool_2/codegen/SA/type/sa_fd_type_emitter.cpp", 257 "idl_tool_2/codegen/SA/type/sa_fd_type_emitter.h", 258 "idl_tool_2/codegen/SA/type/sa_fdsan_type_emitter.cpp", 259 "idl_tool_2/codegen/SA/type/sa_fdsan_type_emitter.h", 260 "idl_tool_2/codegen/SA/type/sa_float_type_emitter.cpp", 261 "idl_tool_2/codegen/SA/type/sa_float_type_emitter.h", 262 "idl_tool_2/codegen/SA/type/sa_int_type_emitter.cpp", 263 "idl_tool_2/codegen/SA/type/sa_int_type_emitter.h", 264 "idl_tool_2/codegen/SA/type/sa_interface_type_emitter.cpp", 265 "idl_tool_2/codegen/SA/type/sa_interface_type_emitter.h", 266 "idl_tool_2/codegen/SA/type/sa_long_type_emitter.cpp", 267 "idl_tool_2/codegen/SA/type/sa_long_type_emitter.h", 268 "idl_tool_2/codegen/SA/type/sa_map_type_emitter.cpp", 269 "idl_tool_2/codegen/SA/type/sa_map_type_emitter.h", 270 "idl_tool_2/codegen/SA/type/sa_orderedmap_type_emitter.cpp", 271 "idl_tool_2/codegen/SA/type/sa_orderedmap_type_emitter.h", 272 "idl_tool_2/codegen/SA/type/sa_ptr_type_emitter.cpp", 273 "idl_tool_2/codegen/SA/type/sa_rawdata_type_emitter.cpp", 274 "idl_tool_2/codegen/SA/type/sa_rawdata_type_emitter.h", 275 "idl_tool_2/codegen/SA/type/sa_seq_type_emitter.cpp", 276 "idl_tool_2/codegen/SA/type/sa_seq_type_emitter.h", 277 "idl_tool_2/codegen/SA/type/sa_set_type_emitter.cpp", 278 "idl_tool_2/codegen/SA/type/sa_set_type_emitter.h", 279 "idl_tool_2/codegen/SA/type/sa_short_type_emitter.cpp", 280 "idl_tool_2/codegen/SA/type/sa_short_type_emitter.h", 281 "idl_tool_2/codegen/SA/type/sa_string_type_emitter.cpp", 282 "idl_tool_2/codegen/SA/type/sa_string_type_emitter.h", 283 "idl_tool_2/codegen/SA/type/sa_struct_type_emitter.cpp", 284 "idl_tool_2/codegen/SA/type/sa_struct_type_emitter.h", 285 "idl_tool_2/codegen/SA/type/sa_u16string_type_emitter.cpp", 286 "idl_tool_2/codegen/SA/type/sa_u16string_type_emitter.h", 287 "idl_tool_2/codegen/SA/type/sa_uchar_type_emitter.cpp", 288 "idl_tool_2/codegen/SA/type/sa_uchar_type_emitter.h", 289 "idl_tool_2/codegen/SA/type/sa_uint_type_emitter.cpp", 290 "idl_tool_2/codegen/SA/type/sa_uint_type_emitter.h", 291 "idl_tool_2/codegen/SA/type/sa_ulong_type_emitter.cpp", 292 "idl_tool_2/codegen/SA/type/sa_ulong_type_emitter.h", 293 "idl_tool_2/codegen/SA/type/sa_union_type_emitter.cpp", 294 "idl_tool_2/codegen/SA/type/sa_union_type_emitter.h", 295 "idl_tool_2/codegen/SA/type/sa_ushort_type_emitter.cpp", 296 "idl_tool_2/codegen/SA/type/sa_ushort_type_emitter.h", 297] 298 299common_sources += [ 300 "idl_tool_2/codegen/SA/sa_code_emitter.cpp", 301 "idl_tool_2/codegen/SA/sa_code_emitter.h", 302 "idl_tool_2/codegen/SA/sa_code_generator.cpp", 303 "idl_tool_2/codegen/SA/sa_code_generator.h", 304 "idl_tool_2/codegen/SA/sa_type_emitter.cpp", 305 "idl_tool_2/codegen/SA/sa_type_emitter.h", 306] 307 308common_sources += [ 309 "idl_tool_2/codegen/code_emitter.cpp", 310 "idl_tool_2/codegen/code_emitter.h", 311 "idl_tool_2/codegen/code_generator.cpp", 312 "idl_tool_2/codegen/code_generator.h", 313] 314 315common_sources += [ 316 "idl_tool_2/hash/hash.cpp", 317 "idl_tool_2/hash/hash.h", 318] 319 320common_sources += [ 321 "idl_tool_2/lexer/lexer.cpp", 322 "idl_tool_2/lexer/lexer.h", 323 "idl_tool_2/lexer/token.cpp", 324 "idl_tool_2/lexer/token.h", 325] 326 327common_sources += [ 328 "idl_tool_2/metadata/meta_component.h", 329 "idl_tool_2/metadata/meta_interface.h", 330 "idl_tool_2/metadata/meta_method.h", 331 "idl_tool_2/metadata/meta_namespace.h", 332 "idl_tool_2/metadata/meta_patameter.h", 333 "idl_tool_2/metadata/meta_rawdata.h", 334 "idl_tool_2/metadata/meta_sequenceable.h", 335 "idl_tool_2/metadata/meta_type.h", 336 "idl_tool_2/metadata/metadata_builder.cpp", 337 "idl_tool_2/metadata/metadata_builder.h", 338 "idl_tool_2/metadata/metadata_dumper.cpp", 339 "idl_tool_2/metadata/metadata_dumper.h", 340 "idl_tool_2/metadata/metadata_reader.cpp", 341 "idl_tool_2/metadata/metadata_reader.h", 342 "idl_tool_2/metadata/metadata_serializer.cpp", 343 "idl_tool_2/metadata/metadata_serializer.h", 344] 345 346common_sources += [ 347 "idl_tool_2/parser/intf_type_check.cpp", 348 "idl_tool_2/parser/intf_type_check.h", 349 "idl_tool_2/parser/parser.cpp", 350 "idl_tool_2/parser/parser.h", 351] 352 353common_sources += [ 354 "idl_tool_2/preprocessor/preprocessor.cpp", 355 "idl_tool_2/preprocessor/preprocessor.h", 356] 357 358common_sources += [ 359 "idl_tool_2/util/autoptr.h", 360 "idl_tool_2/util/common.h", 361 "idl_tool_2/util/file.cpp", 362 "idl_tool_2/util/file.h", 363 "idl_tool_2/util/light_refcount_base.cpp", 364 "idl_tool_2/util/light_refcount_base.h", 365 "idl_tool_2/util/logger.cpp", 366 "idl_tool_2/util/logger.h", 367 "idl_tool_2/util/options.cpp", 368 "idl_tool_2/util/options.h", 369 "idl_tool_2/util/string_builder.cpp", 370 "idl_tool_2/util/string_builder.h", 371 "idl_tool_2/util/string_helper.cpp", 372 "idl_tool_2/util/string_helper.h", 373 "idl_tool_2/util/string_pool.cpp", 374 "idl_tool_2/util/string_pool.h", 375] 376 377ohos_executable("idl") { 378 sources = [ "idl_tool_2/main.cpp" ] 379 sources += common_sources 380 381 configs = [ ":idl_config" ] 382 use_exceptions = true 383 384 external_deps = [ "bounds_checking_function:libsec_static" ] 385 if (is_arkui_x) { 386 deps = [ "//third_party/bounds_checking_function:libsec_static" ] 387 } 388 389 install_enable = false 390 part_name = "idl_tool" 391 subsystem_name = "ability" 392} 393