diff --git a/folly/compression/test/BUCK b/folly/compression/test/BUCK index d13dfe1ccfc..fb4e24a55ca 100644 --- a/folly/compression/test/BUCK +++ b/folly/compression/test/BUCK @@ -9,6 +9,7 @@ cpp_unittest( srcs = ["CompressionTest.cpp"], headers = [], supports_static_listing = False, + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ "fbsource//third-party/zstd:zstd", "//folly:random", diff --git a/folly/debugging/symbolizer/test/BUCK b/folly/debugging/symbolizer/test/BUCK index adbdfb9f016..88c99b3528a 100644 --- a/folly/debugging/symbolizer/test/BUCK +++ b/folly/debugging/symbolizer/test/BUCK @@ -28,6 +28,7 @@ cpp_binary( "-g", ], }, + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ ":symbolizer_test_utils_dwarf4_dwarf32_noaaranges", "//folly:benchmark", diff --git a/folly/debugging/symbolizer/test/validate_folly_symbolizer.bzl b/folly/debugging/symbolizer/test/validate_folly_symbolizer.bzl index 81c019a7c54..8d397a117f2 100644 --- a/folly/debugging/symbolizer/test/validate_folly_symbolizer.bzl +++ b/folly/debugging/symbolizer/test/validate_folly_symbolizer.bzl @@ -53,6 +53,7 @@ def customized_unittest( (["-gdwarf-aranges"] if use_aaranges else []) + extra_compiler_flags, modular_headers = False, + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], private_linker_flags = [ "--emit-relocs", # makes linker ignore `--strip-debug-*` flags ], @@ -76,6 +77,7 @@ def customized_unittest( linker_flags = [ "--emit-relocs", # makes linker ignore `--strip-debug-*` flags ], + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ ":symbolizer_test_utils_" + dwarf_version + ("_dwarf{}".format(dwarf_size)) + diff --git a/folly/debugging/symbolizer/tool/BUCK b/folly/debugging/symbolizer/tool/BUCK index e8f7ff9581d..0fca2695c9e 100644 --- a/folly/debugging/symbolizer/tool/BUCK +++ b/folly/debugging/symbolizer/tool/BUCK @@ -65,6 +65,7 @@ cpp_binary( }), ), ], + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ "//folly:range", "//folly/experimental/symbolizer:signal_handler", diff --git a/folly/memory/test/BUCK b/folly/memory/test/BUCK index ee99d87e527..2227524a334 100644 --- a/folly/memory/test/BUCK +++ b/folly/memory/test/BUCK @@ -76,6 +76,7 @@ cpp_unittest( "not_null_test.cpp", ], supports_static_listing = False, + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ "//folly/memory:not_null", "//folly/portability:gtest", diff --git a/folly/python/BUCK b/folly/python/BUCK index 76ae3e897f6..9f93e9358c1 100644 --- a/folly/python/BUCK +++ b/folly/python/BUCK @@ -56,6 +56,7 @@ cpp_library( ], # TODO(T36778537): Cython-generated `*_api.h` headers aren't modular. modular_headers = False, + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ ":import", ], @@ -118,6 +119,7 @@ cpp_library( ], # TODO(T36778537): Cython-generated `*_api.h` headers aren't modular. modular_headers = False, + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], exported_deps = [ "fbsource//third-party/python:python", # Python.h ":asyncio_executor", @@ -148,6 +150,7 @@ cpp_library( ], # TODO(T36778537): Cython-generated `*_api.h` headers aren't modular. modular_headers = False, + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], exported_deps = [ "fbsource//third-party/python:python", # Python.h ":asyncio_executor", @@ -183,6 +186,7 @@ cpp_library( ], # TODO(T36778537): Cython-generated `*_api.h` headers aren't modular. modular_headers = False, + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ ":import", ], @@ -247,6 +251,7 @@ cpp_library( ], # TODO(T36778537): Cython-generated `*_api.h` headers aren't modular. modular_headers = False, + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ ":import", ], diff --git a/folly/python/test/BUCK b/folly/python/test/BUCK index fa0dfdab4ff..66eaff514e8 100644 --- a/folly/python/test/BUCK +++ b/folly/python/test/BUCK @@ -40,6 +40,7 @@ cpp_library( name = "iobuf_test_utils", srcs = ["IOBufTestUtils.cpp"], headers = ["IOBufTestUtils.h"], + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ "//folly/python:iobuf_lib", ], @@ -131,6 +132,7 @@ cpp_unittest( srcs = [ "ErrorTest.cpp", ], + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ "fbsource//third-party/python:python", "//folly:scope_guard", diff --git a/folly/test/BUCK b/folly/test/BUCK index b9319860729..34c411db722 100644 --- a/folly/test/BUCK +++ b/folly/test/BUCK @@ -1467,6 +1467,7 @@ cpp_binary( name = "singleton_thread_local_overload.so", srcs = ["SingletonThreadLocalTestOverload.cpp"], dlopen_enabled = True, + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ "//folly:singleton_thread_local", ], @@ -1479,6 +1480,7 @@ cpp_unittest( resources = [ ":singleton_thread_local_overload.so", ], + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ ":singleton_thread_local_overload.so", # @manual "//folly:singleton_thread_local", @@ -1767,6 +1769,7 @@ cpp_binary( srcs = ["ThreadLocalTestLib.cpp"], headers = [], dlopen_enabled = True, + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ "//folly:thread_local", ], @@ -1779,6 +1782,7 @@ cpp_unittest( resources = [ ":thread_local_test_lib.so", ], + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ "//folly:memory", "//folly:thread_local", @@ -1976,6 +1980,7 @@ cpp_unittest( "-T", "$(location :linker-scripts)/SdtTest.lds", ], + target_compatible_with = ["fbcode//opensource/macros:broken-in-oss"], deps = [ "//folly/debugging/symbolizer:elf", "//folly/tracing:static_tracepoint",