1# Copyright (c) 2021-2023 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") 15import("./configure_copts.gni") 16 17libabseil_path = rebase_path("//third_party/abseil-cpp") 18exec_script("install.sh", [ "$libabseil_path" ]) 19 20ohos_shared_library("absl_base") { 21 sources = [ 22 "${ABSEIL_DIR}/absl/base/internal/cycleclock.cc", 23 "${ABSEIL_DIR}/absl/base/internal/low_level_alloc.cc", 24 "${ABSEIL_DIR}/absl/base/internal/spinlock.cc", 25 "${ABSEIL_DIR}/absl/base/internal/sysinfo.cc", 26 "${ABSEIL_DIR}/absl/base/internal/thread_identity.cc", 27 "${ABSEIL_DIR}/absl/base/internal/unscaledcycleclock.cc", 28 ] 29 30 include_dirs = [ "${ABSEIL_DIR}/" ] 31 32 cflags = ABSL_DEFAULT_COPTS 33 34 public_deps = [ 35 ":absl_log_severity", 36 ":absl_raw_logging_internal", 37 ":absl_spinlock_wait", 38 ] 39 install_enable = true 40 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 41 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 42} 43 44ohos_shared_library("absl_raw_logging_internal") { 45 sources = [ "${ABSEIL_DIR}/absl/base/internal/raw_logging.cc" ] 46 47 include_dirs = [ "${ABSEIL_DIR}/" ] 48 49 cflags = ABSL_DEFAULT_COPTS 50 51 deps = [ ":absl_log_severity" ] 52 install_enable = true 53 innerapi_tags = [ "platformsdk_indirect" ] 54 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 55 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 56} 57 58ohos_shared_library("absl_log_severity") { 59 sources = [ "${ABSEIL_DIR}/absl/base/log_severity.cc" ] 60 include_dirs = [ "${ABSEIL_DIR}/" ] 61 cflags = ABSL_DEFAULT_COPTS 62 install_enable = true 63 innerapi_tags = [ "platformsdk_indirect" ] 64 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 65 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 66} 67 68ohos_shared_library("absl_spinlock_wait") { 69 sources = [ 70 "${ABSEIL_DIR}/absl/base/internal/spinlock_akaros.inc", 71 "${ABSEIL_DIR}/absl/base/internal/spinlock_linux.inc", 72 "${ABSEIL_DIR}/absl/base/internal/spinlock_posix.inc", 73 "${ABSEIL_DIR}/absl/base/internal/spinlock_wait.cc", 74 "${ABSEIL_DIR}/absl/base/internal/spinlock_win32.inc", 75 ] 76 include_dirs = [ "${ABSEIL_DIR}/" ] 77 cflags = ABSL_DEFAULT_COPTS 78 install_enable = true 79 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 80 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 81} 82 83ohos_shared_library("absl_throw_delegate") { 84 sources = [ "${ABSEIL_DIR}/absl/base/internal/throw_delegate.cc" ] 85 86 include_dirs = [ "${ABSEIL_DIR}/" ] 87 88 cflags = ABSL_DEFAULT_COPTS 89 deps = [ ":absl_raw_logging_internal" ] 90 install_enable = true 91 innerapi_tags = [ "platformsdk_indirect" ] 92 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 93 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 94} 95 96ohos_shared_library("absl_stacktrace") { 97 sources = [ 98 "${ABSEIL_DIR}/absl/debugging/internal/address_is_readable.cc", 99 "${ABSEIL_DIR}/absl/debugging/internal/address_is_readable.h", 100 "${ABSEIL_DIR}/absl/debugging/internal/elf_mem_image.cc", 101 "${ABSEIL_DIR}/absl/debugging/internal/stacktrace_aarch64-inl.inc", 102 "${ABSEIL_DIR}/absl/debugging/internal/stacktrace_arm-inl.inc", 103 "${ABSEIL_DIR}/absl/debugging/internal/stacktrace_config.h", 104 "${ABSEIL_DIR}/absl/debugging/internal/stacktrace_generic-inl.inc", 105 "${ABSEIL_DIR}/absl/debugging/internal/stacktrace_powerpc-inl.inc", 106 "${ABSEIL_DIR}/absl/debugging/internal/stacktrace_unimplemented-inl.inc", 107 "${ABSEIL_DIR}/absl/debugging/internal/stacktrace_win32-inl.inc", 108 "${ABSEIL_DIR}/absl/debugging/internal/stacktrace_x86-inl.inc", 109 "${ABSEIL_DIR}/absl/debugging/internal/vdso_support.cc", 110 "${ABSEIL_DIR}/absl/debugging/stacktrace.cc", 111 "${ABSEIL_DIR}/absl/debugging/stacktrace.h", 112 ] 113 include_dirs = [ "${ABSEIL_DIR}/" ] 114 cflags = ABSL_DEFAULT_COPTS 115 public_deps = [ ":absl_base" ] 116 install_enable = true 117 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 118 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 119} 120 121ohos_shared_library("absl_symbolize") { 122 sources = [ 123 "${ABSEIL_DIR}/absl/debugging/internal/symbolize.h", 124 "${ABSEIL_DIR}/absl/debugging/symbolize.cc", 125 "${ABSEIL_DIR}/absl/debugging/symbolize.h", 126 "${ABSEIL_DIR}/absl/debugging/symbolize_darwin.inc", 127 "${ABSEIL_DIR}/absl/debugging/symbolize_elf.inc", 128 "${ABSEIL_DIR}/absl/debugging/symbolize_unimplemented.inc", 129 "${ABSEIL_DIR}/absl/debugging/symbolize_win32.inc", 130 ] 131 include_dirs = [ "${ABSEIL_DIR}/" ] 132 cflags = ABSL_DEFAULT_COPTS 133 public_deps = [ ":absl_base" ] 134 install_enable = true 135 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 136 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 137} 138 139ohos_shared_library("absl_hash") { 140 sources = [ 141 "${ABSEIL_DIR}/absl/hash/internal/city.cc", 142 "${ABSEIL_DIR}/absl/hash/internal/city.h", 143 "${ABSEIL_DIR}/absl/hash/internal/hash.cc", 144 "${ABSEIL_DIR}/absl/hash/internal/hash.h", 145 "${ABSEIL_DIR}/absl/hash/internal/low_level_hash.cc", 146 "${ABSEIL_DIR}/absl/hash/internal/low_level_hash.h", 147 "${ABSEIL_DIR}/absl/hash/internal/print_hash_of.cc", 148 "${ABSEIL_DIR}/absl/hash/internal/spy_hash_state.h", 149 ] 150 include_dirs = [ "${ABSEIL_DIR}/" ] 151 cflags = ABSL_DEFAULT_COPTS 152 public_deps = [ 153 ":absl_base", 154 ":absl_stacktrace", 155 ":absl_symbolize", 156 ":absl_time", 157 ] 158 install_enable = true 159 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 160 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 161} 162 163ohos_shared_library("absl_int128") { 164 sources = [ 165 "${ABSEIL_DIR}/absl/numeric/int128.cc", 166 "${ABSEIL_DIR}/absl/numeric/int128_have_intrinsic.inc", 167 "${ABSEIL_DIR}/absl/numeric/int128_no_intrinsic.inc", 168 ] 169 include_dirs = [ "${ABSEIL_DIR}/" ] 170 cflags = ABSL_DEFAULT_COPTS 171 install_enable = true 172 innerapi_tags = [ "platformsdk_indirect" ] 173 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 174 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 175} 176 177ohos_shared_library("absl_status") { 178 sources = [ 179 "${ABSEIL_DIR}/absl/base/internal/strerror.cc", 180 "${ABSEIL_DIR}/absl/status/status.cc", 181 "${ABSEIL_DIR}/absl/status/status_payload_printer.cc", 182 ] 183 184 include_dirs = [ "${ABSEIL_DIR}/" ] 185 186 cflags = ABSL_DEFAULT_COPTS 187 188 #deps = [ "${ABSEIL_DIR}/absl/base:absl_raw_logging_internal" ] 189 public_deps = [ 190 ":absl_cord", 191 ":absl_raw_logging_internal", 192 ":absl_strings", 193 ] 194 195 install_enable = true 196 197 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 198 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 199} 200 201ohos_shared_library("absl_statusor") { 202 sources = [ "${ABSEIL_DIR}/absl/status/statusor.cc" ] 203 204 include_dirs = [ "${ABSEIL_DIR}/" ] 205 206 cflags = ABSL_DEFAULT_COPTS 207 208 public_deps = [ 209 ":absl_cord", 210 ":absl_spinlock_wait", 211 ":absl_status", 212 ] 213 214 install_enable = true 215 216 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 217 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 218} 219 220config("cflags_config") { 221 cflags = [ 222 "-Wall", 223 "-Wextra", 224 "-Weverything", 225 "-Wno-c++98-compat-pedantic", 226 "-Wno-conversion", 227 "-Wno-covered-switch-default", 228 "-Wno-deprecated", 229 "-Wno-disabled-macro-expansion", 230 "-Wno-double-promotion", 231 "-Wno-comma", 232 "-Wno-extra-semi", 233 "-Wno-extra-semi-stmt", 234 "-Wno-packed", 235 "-Wno-padded", 236 "-Wno-sign-compare", 237 "-Wno-float-conversion", 238 "-Wno-float-equal", 239 "-Wno-format-nonliteral", 240 "-Wno-gcc-compat", 241 "-Wno-global-constructors", 242 "-Wno-exit-time-destructors", 243 "-Wno-non-modular-include-in-module", 244 "-Wno-old-style-cast", 245 "-Wno-range-loop-analysis", 246 "-Wno-reserved-id-macro", 247 "-Wno-shorten-64-to-32", 248 "-Wno-switch-enum", 249 "-Wno-thread-safety-negative", 250 "-Wno-unknown-warning-option", 251 "-Wno-unreachable-code", 252 "-Wno-unused-macros", 253 "-Wno-weak-vtables", 254 "-Wno-zero-as-null-pointer-constant", 255 "-Wbitfield-enum-conversion", 256 "-Wbool-conversion", 257 "-Wconstant-conversion", 258 "-Wenum-conversion", 259 "-Wint-conversion", 260 "-Wliteral-conversion", 261 "-Wnon-literal-null-conversion", 262 "-Wnull-conversion", 263 "-Wobjc-literal-conversion", 264 "-Wno-sign-conversion", 265 "-Wstring-conversion", 266 "-DNOMINMAX", 267 "-Wno-reserved-identifier", 268 "-Wno-unused-template", 269 ] 270 271 # Adapating DEBUG version, FIX ME 272 # https://gitee.com/openharmony/build/pulls/1206/files 273 defines = [ "NDEBUG" ] 274} 275 276ohos_shared_library("absl_strings") { 277 sources = [ 278 "${ABSEIL_DIR}/absl/strings/ascii.cc", 279 "${ABSEIL_DIR}/absl/strings/charconv.cc", 280 "${ABSEIL_DIR}/absl/strings/escaping.cc", 281 "${ABSEIL_DIR}/absl/strings/internal/charconv_bigint.cc", 282 "${ABSEIL_DIR}/absl/strings/internal/charconv_bigint.h", 283 "${ABSEIL_DIR}/absl/strings/internal/charconv_parse.cc", 284 "${ABSEIL_DIR}/absl/strings/internal/charconv_parse.h", 285 "${ABSEIL_DIR}/absl/strings/internal/escaping.cc", 286 "${ABSEIL_DIR}/absl/strings/internal/memutil.cc", 287 "${ABSEIL_DIR}/absl/strings/internal/memutil.h", 288 "${ABSEIL_DIR}/absl/strings/internal/stl_type_traits.h", 289 "${ABSEIL_DIR}/absl/strings/internal/str_join_internal.h", 290 "${ABSEIL_DIR}/absl/strings/internal/str_split_internal.h", 291 "${ABSEIL_DIR}/absl/strings/match.cc", 292 "${ABSEIL_DIR}/absl/strings/numbers.cc", 293 "${ABSEIL_DIR}/absl/strings/str_cat.cc", 294 "${ABSEIL_DIR}/absl/strings/str_replace.cc", 295 "${ABSEIL_DIR}/absl/strings/str_split.cc", 296 "${ABSEIL_DIR}/absl/strings/string_view.cc", 297 "${ABSEIL_DIR}/absl/strings/substitute.cc", 298 ] 299 300 include_dirs = [ "${ABSEIL_DIR}/" ] 301 configs = [ ":cflags_config" ] 302 public_deps = [ 303 ":absl_int128", 304 ":absl_raw_logging_internal", 305 ":absl_strings_internal", 306 ] 307 install_enable = true 308 innerapi_tags = [ "platformsdk_indirect" ] 309 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 310 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 311} 312 313ohos_shared_library("absl_strings_internal") { 314 sources = [ 315 "${ABSEIL_DIR}/absl/strings/internal/ostringstream.cc", 316 "${ABSEIL_DIR}/absl/strings/internal/utf8.cc", 317 ] 318 include_dirs = [ "${ABSEIL_DIR}/" ] 319 320 configs = [ ":cflags_config" ] 321 322 deps = [ 323 ":absl_raw_logging_internal", 324 ":absl_throw_delegate", 325 ] 326 install_enable = true 327 innerapi_tags = [ "platformsdk_indirect" ] 328 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 329 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 330} 331 332ohos_shared_library("absl_cord") { 333 sources = [ 334 "${ABSEIL_DIR}/absl/debugging/stacktrace.cc", 335 "${ABSEIL_DIR}/absl/profiling/internal/exponential_biased.cc", 336 "${ABSEIL_DIR}/absl/strings/cord.cc", 337 "${ABSEIL_DIR}/absl/strings/internal/cord_internal.cc", 338 "${ABSEIL_DIR}/absl/strings/internal/cord_rep_btree.cc", 339 "${ABSEIL_DIR}/absl/strings/internal/cord_rep_btree_navigator.cc", 340 "${ABSEIL_DIR}/absl/strings/internal/cord_rep_btree_reader.cc", 341 "${ABSEIL_DIR}/absl/strings/internal/cord_rep_consume.cc", 342 "${ABSEIL_DIR}/absl/strings/internal/cord_rep_crc.cc", 343 "${ABSEIL_DIR}/absl/strings/internal/cord_rep_ring.cc", 344 "${ABSEIL_DIR}/absl/strings/internal/cordz_functions.cc", 345 "${ABSEIL_DIR}/absl/strings/internal/cordz_handle.cc", 346 "${ABSEIL_DIR}/absl/strings/internal/cordz_info.cc", 347 "${ABSEIL_DIR}/absl/synchronization/mutex.cc", 348 ] 349 include_dirs = [ "${ABSEIL_DIR}/" ] 350 351 configs = [ ":cflags_config" ] 352 353 deps = [ 354 ":absl_base", 355 ":absl_raw_logging_internal", 356 ":absl_strings", 357 ":absl_sync", 358 ":absl_throw_delegate", 359 ":absl_time", 360 ] 361 install_enable = true 362 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 363 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 364} 365 366ohos_shared_library("absl_str_format_internal") { 367 sources = [ 368 "${ABSEIL_DIR}/absl/strings/internal/str_format/arg.cc", 369 "${ABSEIL_DIR}/absl/strings/internal/str_format/bind.cc", 370 "${ABSEIL_DIR}/absl/strings/internal/str_format/extension.cc", 371 "${ABSEIL_DIR}/absl/strings/internal/str_format/float_conversion.cc", 372 "${ABSEIL_DIR}/absl/strings/internal/str_format/output.cc", 373 "${ABSEIL_DIR}/absl/strings/internal/str_format/parser.cc", 374 ] 375 include_dirs = [ "${ABSEIL_DIR}/" ] 376 377 configs = [ ":cflags_config" ] 378 379 deps = [ 380 ":absl_int128", 381 ":absl_strings", 382 ] 383 install_enable = true 384 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 385 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 386} 387 388ohos_shared_library("absl_sync") { 389 sources = [ 390 "${ABSEIL_DIR}/absl/synchronization/barrier.cc", 391 "${ABSEIL_DIR}/absl/synchronization/barrier.h", 392 "${ABSEIL_DIR}/absl/synchronization/blocking_counter.cc", 393 "${ABSEIL_DIR}/absl/synchronization/blocking_counter.h", 394 "${ABSEIL_DIR}/absl/synchronization/internal/create_thread_identity.cc", 395 "${ABSEIL_DIR}/absl/synchronization/internal/create_thread_identity.h", 396 "${ABSEIL_DIR}/absl/synchronization/internal/futex.h", 397 "${ABSEIL_DIR}/absl/synchronization/internal/per_thread_sem.cc", 398 "${ABSEIL_DIR}/absl/synchronization/internal/per_thread_sem.h", 399 "${ABSEIL_DIR}/absl/synchronization/internal/waiter.cc", 400 "${ABSEIL_DIR}/absl/synchronization/internal/waiter.h", 401 "${ABSEIL_DIR}/absl/synchronization/mutex.cc", 402 "${ABSEIL_DIR}/absl/synchronization/mutex.h", 403 "${ABSEIL_DIR}/absl/synchronization/notification.cc", 404 "${ABSEIL_DIR}/absl/synchronization/notification.h", 405 ] 406 include_dirs = [ "${ABSEIL_DIR}/" ] 407 cflags = ABSL_DEFAULT_COPTS 408 public_deps = [ 409 ":absl_base", 410 ":absl_stacktrace", 411 ":absl_symbolize", 412 ":absl_time", 413 ] 414 install_enable = true 415 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 416 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 417} 418 419ohos_shared_library("absl_civil_time") { 420 sources = [ "${ABSEIL_DIR}/absl/time/internal/cctz/src/civil_time_detail.cc" ] 421 include_dirs = [ "${ABSEIL_DIR}/" ] 422 install_enable = true 423 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 424 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 425} 426 427ohos_shared_library("absl_container") { 428 sources = [ "${ABSEIL_DIR}/absl/container/internal/raw_hash_set.cc" ] 429 include_dirs = [ "${ABSEIL_DIR}/" ] 430 cflags = ABSL_DEFAULT_COPTS 431 public_deps = [ ":absl_base" ] 432 install_enable = true 433 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 434 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 435} 436 437ohos_shared_library("absl_time_zone") { 438 sources = [ 439 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_fixed.cc", 440 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_fixed.h", 441 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_format.cc", 442 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_if.cc", 443 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_if.h", 444 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_impl.cc", 445 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_impl.h", 446 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_info.cc", 447 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_info.h", 448 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_libc.cc", 449 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_libc.h", 450 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_lookup.cc", 451 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_posix.cc", 452 "${ABSEIL_DIR}/absl/time/internal/cctz/src/time_zone_posix.h", 453 "${ABSEIL_DIR}/absl/time/internal/cctz/src/tzfile.h", 454 "${ABSEIL_DIR}/absl/time/internal/cctz/src/zone_info_source.cc", 455 ] 456 include_dirs = [ "${ABSEIL_DIR}/" ] 457 deps = [ ":absl_civil_time" ] 458 install_enable = true 459 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 460 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 461} 462 463ohos_shared_library("absl_time") { 464 sources = [ 465 "${ABSEIL_DIR}/absl/time/civil_time.cc", 466 "${ABSEIL_DIR}/absl/time/clock.cc", 467 "${ABSEIL_DIR}/absl/time/duration.cc", 468 "${ABSEIL_DIR}/absl/time/format.cc", 469 "${ABSEIL_DIR}/absl/time/internal/get_current_time_chrono.inc", 470 "${ABSEIL_DIR}/absl/time/internal/get_current_time_posix.inc", 471 "${ABSEIL_DIR}/absl/time/time.cc", 472 ] 473 include_dirs = [ "${ABSEIL_DIR}/" ] 474 cflags = ABSL_DEFAULT_COPTS 475 public_deps = [ 476 ":absl_base", 477 ":absl_civil_time", 478 ":absl_int128", 479 ":absl_raw_logging_internal", 480 ":absl_strings", 481 ":absl_time_zone", 482 ] 483 install_enable = true 484 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 485 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 486} 487 488ohos_shared_library("absl_bad_optional_access") { 489 sources = [ "${ABSEIL_DIR}/absl/types/bad_optional_access.cc" ] 490 include_dirs = [ "${ABSEIL_DIR}/" ] 491 cflags = ABSL_DEFAULT_COPTS 492 deps = [ ":absl_raw_logging_internal" ] 493 install_enable = true 494 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 495 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 496} 497 498ohos_shared_library("absl_bad_variant_access") { 499 sources = [ "${ABSEIL_DIR}/absl/types/bad_variant_access.cc" ] 500 include_dirs = [ "${ABSEIL_DIR}/" ] 501 cflags = ABSL_DEFAULT_COPTS 502 deps = [ ":absl_raw_logging_internal" ] 503 install_enable = true 504 subsystem_name = "${THIRDPARTY_ABSEIL_SUBSYS_NAME}" 505 part_name = "${THIRDPARTY_ABSEIL_PART_NAME}" 506} 507