diff --git a/.buckconfig b/.buckconfig index f8ae1ed16db..99af4b39f45 100644 --- a/.buckconfig +++ b/.buckconfig @@ -8,10 +8,11 @@ none = none [cell_aliases] config = prelude ovr_config = prelude -fbcode = none -fbsource = none +fbcode = shim +fbsource = shim fbcode_macros = shim buck = none +bazel_skylib = shim [parser] target_platform_detector_spec = target:root//...->prelude//platforms:default diff --git a/folly/experimental/BUCK b/folly/experimental/BUCK index dec1888d4cc..f6282c8e382 100644 --- a/folly/experimental/BUCK +++ b/folly/experimental/BUCK @@ -356,7 +356,7 @@ cpp_library( "//folly:memory", "//folly:string", "//folly/ext:test_ext", - "//folly/facebook:test_ext", + # @fb-only: "//folly/facebook:test_ext", "//folly/portability:fcntl", ], exported_deps = [ diff --git a/folly/experimental/symbolizer/tool/BUCK b/folly/experimental/symbolizer/tool/BUCK index c9a44fe36f9..780e02e8ef1 100644 --- a/folly/experimental/symbolizer/tool/BUCK +++ b/folly/experimental/symbolizer/tool/BUCK @@ -1,6 +1,6 @@ load("@fbcode_macros//build_defs:cpp_binary.bzl", "cpp_binary") load("@fbcode_macros//build_defs:export_files.bzl", "export_file") -load("//antlir/fbpkg:fbpkg.bzl", "fbpkg") +load("@fbcode//antlir/fbpkg:fbpkg.bzl", "fbpkg") oncall("fbcode_entropy_wardens_folly") diff --git a/folly/python/BUCK b/folly/python/BUCK index fcb8344a5c5..6beb4e9cb01 100644 --- a/folly/python/BUCK +++ b/folly/python/BUCK @@ -52,7 +52,7 @@ cpp_library( ], headers = [ "executor.h", - ":executor__executor_api.h", + # @fb-only: ":executor__executor_api.h", ], # TODO(T36778537): Cython-generated `*_api.h` headers aren't modular. modular_headers = False, @@ -124,7 +124,7 @@ cpp_library( exported_deps = [ "fbsource//third-party/python:python", # Python.h ":asyncio_executor", - ":executor__cython-lib", + # @fb-only: ":executor__cython-lib", "//folly:executor", "//folly/futures:core", ], @@ -155,7 +155,7 @@ cpp_library( exported_deps = [ "fbsource//third-party/python:python", # Python.h ":asyncio_executor", - ":executor__cython-lib", + # @fb-only: ":executor__cython-lib", "//folly:cancellation_token", "//folly:executor", "//folly/experimental/coro:task", @@ -182,7 +182,7 @@ cpp_library( srcs = ["fibers.cpp"], headers = [ "fibers.h", - ":fibers__fiber_manager_api.h", + # @fb-only: ":fibers__fiber_manager_api.h", ], # TODO(T36778537): Cython-generated `*_api.h` headers aren't modular. modular_headers = False, @@ -246,7 +246,7 @@ cpp_library( srcs = ["iobuf.cpp"], headers = [ "iobuf.h", - ":iobuf__iobuf_api.h", + # @fb-only: ":iobuf__iobuf_api.h", ], # TODO(T36778537): Cython-generated `*_api.h` headers aren't modular. modular_headers = False, diff --git a/folly/support/test/BUCK b/folly/support/test/BUCK index 8d387237b7a..de66a944e24 100644 --- a/folly/support/test/BUCK +++ b/folly/support/test/BUCK @@ -1,6 +1,6 @@ load("@fbcode_macros//build_defs:cpp_binary.bzl", "cpp_binary") load("@fbcode_macros//build_defs:cpp_library.bzl", "cpp_library") -load("//gdb/scripts/tests/common:gdb_unittest.bzl", "gdb_unittest") +# @fb-only: load("//gdb/scripts/tests/common:gdb_unittest.bzl", "gdb_unittest") oncall("fbcode_entropy_wardens_folly") @@ -27,12 +27,12 @@ cpp_binary( ) # Test all of the printers in the folly gdb extension -gdb_unittest( - name = "test", - binary = "main", - script = "runtest.gdb", - skip_modes = [ - "dev", - "opt*", - ], -) +# @fb-only: gdb_unittest( +# @fb-only: name = "test", +# @fb-only: binary = "main", +# @fb-only: script = "runtest.gdb", +# @fb-only: skip_modes = [ +# @fb-only: "dev", +# @fb-only: "opt*", +# @fb-only: ], +# @fb-only: )