Skip to content

Commit

Permalink
allow buildtime publisher to run without project root
Browse files Browse the repository at this point in the history
Summary:
This is against the common case of buck2, let's fix up the implementation to
support the default style of relative paths.

Reviewed By: justintrudell

Differential Revision: D59920099

fbshipit-source-id: d033102cf758e5d2e0c0b586ca47d7e8b0ddc547
  • Loading branch information
vmagro authored and facebook-github-bot committed Jul 18, 2024
1 parent 8c58c78 commit 950ab09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion prelude/genrule.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ _BUILD_ROOT_LABELS = {label: True for label in [
"flowtype_ota_safety_target", # produces JSON containing file paths that are project-relative
"ctrlr_setting_paths",
"llvm_buck_genrule",
"cm_buildtime_publisher", # does a 'buck2 run' of a CM publisher target
]}

# In Buck1 the SRCS environment variable is only set if the substring SRCS is on the command line.
Expand Down

0 comments on commit 950ab09

Please sign in to comment.