11cb0ef41Sopenharmony_ci{ 21cb0ef41Sopenharmony_ci 'targets': [ 31cb0ef41Sopenharmony_ci { 41cb0ef41Sopenharmony_ci 'target_name': 'gtest', 51cb0ef41Sopenharmony_ci 'type': 'static_library', 61cb0ef41Sopenharmony_ci 'sources': [ 71cb0ef41Sopenharmony_ci 'include/gtest/gtest-assertion-result.h', 81cb0ef41Sopenharmony_ci 'include/gtest/gtest-death-test.h', 91cb0ef41Sopenharmony_ci 'include/gtest/gtest-matchers.h', 101cb0ef41Sopenharmony_ci 'include/gtest/gtest-message.h', 111cb0ef41Sopenharmony_ci 'include/gtest/gtest-param-test.h', 121cb0ef41Sopenharmony_ci 'include/gtest/gtest-printers.h', 131cb0ef41Sopenharmony_ci 'include/gtest/gtest-spi.h', 141cb0ef41Sopenharmony_ci 'include/gtest/gtest-test-part.h', 151cb0ef41Sopenharmony_ci 'include/gtest/gtest-typed-test.h', 161cb0ef41Sopenharmony_ci 'include/gtest/gtest.h', 171cb0ef41Sopenharmony_ci 'include/gtest/gtest_pred_impl.h', 181cb0ef41Sopenharmony_ci 'include/gtest/internal/custom/gtest-port.h', 191cb0ef41Sopenharmony_ci 'include/gtest/internal/custom/gtest-printers.h', 201cb0ef41Sopenharmony_ci 'include/gtest/internal/custom/gtest.h', 211cb0ef41Sopenharmony_ci 'include/gtest/internal/gtest-death-test-internal.h', 221cb0ef41Sopenharmony_ci 'include/gtest/internal/gtest-filepath.h', 231cb0ef41Sopenharmony_ci 'include/gtest/internal/gtest-internal.h', 241cb0ef41Sopenharmony_ci 'include/gtest/internal/gtest-param-util.h', 251cb0ef41Sopenharmony_ci 'include/gtest/internal/gtest-port-arch.h', 261cb0ef41Sopenharmony_ci 'include/gtest/internal/gtest-port.h', 271cb0ef41Sopenharmony_ci 'include/gtest/internal/gtest-string.h', 281cb0ef41Sopenharmony_ci 'include/gtest/internal/gtest-type-util.h', 291cb0ef41Sopenharmony_ci 'src/gtest-all.cc', 301cb0ef41Sopenharmony_ci 'src/gtest-assertion-result.cc', 311cb0ef41Sopenharmony_ci 'src/gtest-death-test.cc', 321cb0ef41Sopenharmony_ci 'src/gtest-filepath.cc', 331cb0ef41Sopenharmony_ci 'src/gtest-internal-inl.h', 341cb0ef41Sopenharmony_ci 'src/gtest-matchers.cc', 351cb0ef41Sopenharmony_ci 'src/gtest-port.cc', 361cb0ef41Sopenharmony_ci 'src/gtest-printers.cc', 371cb0ef41Sopenharmony_ci 'src/gtest-test-part.cc', 381cb0ef41Sopenharmony_ci 'src/gtest-typed-test.cc', 391cb0ef41Sopenharmony_ci 'src/gtest.cc', 401cb0ef41Sopenharmony_ci ], 411cb0ef41Sopenharmony_ci 'sources!': [ 421cb0ef41Sopenharmony_ci 'src/gtest-all.cc', # Not needed by our build. 431cb0ef41Sopenharmony_ci ], 441cb0ef41Sopenharmony_ci 'include_dirs': [ 451cb0ef41Sopenharmony_ci '.', # src 461cb0ef41Sopenharmony_ci 'include', 471cb0ef41Sopenharmony_ci ], 481cb0ef41Sopenharmony_ci 'dependencies': [ 491cb0ef41Sopenharmony_ci 'gtest_prod', 501cb0ef41Sopenharmony_ci ], 511cb0ef41Sopenharmony_ci 'defines': [ 521cb0ef41Sopenharmony_ci # In order to allow regex matches in gtest to be shared between Windows 531cb0ef41Sopenharmony_ci # and other systems, we tell gtest to always use it's internal engine. 541cb0ef41Sopenharmony_ci 'GTEST_HAS_POSIX_RE=0', 551cb0ef41Sopenharmony_ci 'GTEST_LANG_CXX11=1', 561cb0ef41Sopenharmony_ci ], 571cb0ef41Sopenharmony_ci 'all_dependent_settings': { 581cb0ef41Sopenharmony_ci 'defines': [ 591cb0ef41Sopenharmony_ci 'GTEST_HAS_POSIX_RE=0', 601cb0ef41Sopenharmony_ci 'GTEST_LANG_CXX11=1', 611cb0ef41Sopenharmony_ci ], 621cb0ef41Sopenharmony_ci }, 631cb0ef41Sopenharmony_ci 'conditions': [ 641cb0ef41Sopenharmony_ci ['OS=="android"', { 651cb0ef41Sopenharmony_ci 'defines': [ 661cb0ef41Sopenharmony_ci 'GTEST_HAS_CLONE=0', 671cb0ef41Sopenharmony_ci ], 681cb0ef41Sopenharmony_ci 'direct_dependent_settings': { 691cb0ef41Sopenharmony_ci 'defines': [ 701cb0ef41Sopenharmony_ci 'GTEST_HAS_CLONE=0', 711cb0ef41Sopenharmony_ci ], 721cb0ef41Sopenharmony_ci }, 731cb0ef41Sopenharmony_ci }], 741cb0ef41Sopenharmony_ci ], 751cb0ef41Sopenharmony_ci 'direct_dependent_settings': { 761cb0ef41Sopenharmony_ci 'defines': [ 771cb0ef41Sopenharmony_ci 'UNIT_TEST', 781cb0ef41Sopenharmony_ci ], 791cb0ef41Sopenharmony_ci 'include_dirs': [ 801cb0ef41Sopenharmony_ci 'include', 811cb0ef41Sopenharmony_ci ], 821cb0ef41Sopenharmony_ci }, 831cb0ef41Sopenharmony_ci }, 841cb0ef41Sopenharmony_ci { 851cb0ef41Sopenharmony_ci 'target_name': 'gtest_main', 861cb0ef41Sopenharmony_ci 'type': 'static_library', 871cb0ef41Sopenharmony_ci 'dependencies': [ 881cb0ef41Sopenharmony_ci 'gtest', 891cb0ef41Sopenharmony_ci ], 901cb0ef41Sopenharmony_ci 'sources': [ 911cb0ef41Sopenharmony_ci 'src/gtest_main.cc', 921cb0ef41Sopenharmony_ci ], 931cb0ef41Sopenharmony_ci }, 941cb0ef41Sopenharmony_ci { 951cb0ef41Sopenharmony_ci 'target_name': 'gtest_prod', 961cb0ef41Sopenharmony_ci 'type': 'none', 971cb0ef41Sopenharmony_ci 'sources': [ 981cb0ef41Sopenharmony_ci 'include/gtest/gtest_prod.h', 991cb0ef41Sopenharmony_ci ], 1001cb0ef41Sopenharmony_ci 'direct_dependent_settings': { 1011cb0ef41Sopenharmony_ci 'include_dirs': [ 1021cb0ef41Sopenharmony_ci 'include', 1031cb0ef41Sopenharmony_ci ], 1041cb0ef41Sopenharmony_ci }, 1051cb0ef41Sopenharmony_ci }, 1061cb0ef41Sopenharmony_ci ], 1071cb0ef41Sopenharmony_ci} 108