-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_build: Use plain action name variables
rules_cc does not yet export providers that offer direct access to the literal underlying action names. For now, use the variables to remove the dependency on pw_toolchain_bazel things. Bug: b/346388161, b/367352331 Change-Id: Ia3fa4a07d33dcc44da3fc9b0ae0958ff97675d5d Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/254553 Pigweed-Auto-Submit: Armando Montanez <[email protected]> Lint: Lint 🤖 <[email protected]> Reviewed-by: Ted Pudlik <[email protected]> Presubmit-Verified: CQ Bot Account <[email protected]> Docs-Not-Needed: Armando Montanez <[email protected]> Commit-Queue: Auto-Submit <[email protected]>
- Loading branch information
1 parent
d08f106
commit 0a0160e
Showing
6 changed files
with
37 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright 2024 The Pigweed Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
# use this file except in compliance with the License. You may obtain a copy of | ||
# the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations under | ||
# the License. | ||
"""Custom toolchain action names unique to Pigweed.""" | ||
|
||
PW_OBJDUMP_DISASSEMBLE = "objdump-disassemble" | ||
|
||
PW_ACTION_NAMES = struct( | ||
objdump_disassemble = PW_OBJDUMP_DISASSEMBLE, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters