Skip to content

Commit

Permalink
Flatten deps to satisfy internal checkers
Browse files Browse the repository at this point in the history
  • Loading branch information
mlw committed Sep 13, 2023
1 parent ff6bf07 commit 435792a
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions Source/common/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ objc_library(
],
)

# Note: `srcs`/`hdrs` are left unspecified here because `defines` from the
# `SNTBlockMessage_SantaGUI` target do not propagate to `deps`.
objc_library(
name = "SNTBlockMessage_CommonDeps",
name = "SNTBlockMessage",
srcs = ["SNTBlockMessage.m"],
hdrs = ["SNTBlockMessage.h"],
deps = [
":SNTConfigurator",
":SNTFileAccessEvent",
Expand All @@ -106,22 +106,17 @@ objc_library(
],
)

objc_library(
name = "SNTBlockMessage",
srcs = ["SNTBlockMessage.m"],
hdrs = ["SNTBlockMessage.h"],
deps = [
":SNTBlockMessage_CommonDeps",
],
)

objc_library(
name = "SNTBlockMessage_SantaGUI",
srcs = ["SNTBlockMessage.m"],
hdrs = ["SNTBlockMessage.h"],
defines = ["SANTAGUI"],
deps = [
":SNTBlockMessage_CommonDeps",
":SNTConfigurator",
":SNTFileAccessEvent",
":SNTLogging",
":SNTStoredEvent",
":SNTSystemInfo",
],
)

Expand Down

0 comments on commit 435792a

Please sign in to comment.