Skip to content

Commit b9d7117

Browse files
bigelephant29copybara-github
authored andcommitted
PostMark: Relocate the cc_postmark.bzl file for py_binary.
PiperOrigin-RevId: 855620923 Change-Id: I98401b99aa1fbf290432f6229c8235489b7b57d9
1 parent 8d3be7e commit b9d7117

6 files changed

Lines changed: 4 additions & 4 deletions

File tree

cc/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ bzl_library(
130130
"cc_binary.bzl",
131131
"cc_import.bzl",
132132
"cc_library.bzl",
133+
"cc_postmark.bzl",
133134
"cc_shared_library.bzl",
134135
"cc_static_library.bzl",
135136
"cc_test.bzl",

cc/private/rules_impl/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ bzl_library(
4242
"cc_binary.bzl",
4343
"cc_import.bzl",
4444
"cc_library.bzl",
45-
"cc_postmark.bzl",
4645
"cc_shared_library.bzl",
4746
"cc_static_library.bzl",
4847
"cc_test.bzl",

cc/private/rules_impl/attrs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"""Attributes for cc_binary.
1616
"""
1717

18+
load("//cc:cc_postmark.bzl", "postmark")
1819
load("//cc/common:cc_info.bzl", "CcInfo")
1920
load("//cc/common:semantics.bzl", "semantics")
20-
load("//cc/private/rules_impl:cc_postmark.bzl", "postmark")
2121
load(":cc_shared_library.bzl", "dynamic_deps_attrs")
2222

2323
visibility("private")

cc/private/rules_impl/cc_binary.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
"""cc_binary Starlark implementation replacing native"""
1616

17+
load("//cc:cc_postmark.bzl", "postmark")
1718
load("//cc:find_cc_toolchain.bzl", "find_cc_toolchain", "use_cc_toolchain")
1819
load("//cc/common:cc_common.bzl", "cc_common")
1920
load("//cc/common:cc_debug_helper.bzl", "create_debug_packager_actions")
@@ -22,7 +23,6 @@ load("//cc/common:cc_info.bzl", "CcInfo")
2223
load("//cc/common:debug_package_info.bzl", "DebugPackageInfo")
2324
load("//cc/common:semantics.bzl", "semantics")
2425
load(":attrs.bzl", "cc_binary_attrs")
25-
load(":cc_postmark.bzl", "postmark")
2626
load(":cc_shared_library.bzl", "GraphNodeInfo", "add_unused_dynamic_deps", "build_exports_map_from_only_dynamic_deps", "build_link_once_static_libs_map", "dynamic_deps_initializer", "merge_cc_shared_library_infos", "separate_static_and_dynamic_link_libraries", "sort_linker_inputs", "throw_linked_but_not_exported_errors")
2727

2828
_CcLauncherInfo = cc_common.launcher_provider

cc/private/rules_impl/cc_test.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
"""cc_test Starlark implementation."""
1616

17+
load("//cc:cc_postmark.bzl", "postmark")
1718
load("//cc:find_cc_toolchain.bzl", "use_cc_toolchain")
1819
load("//cc/common:cc_helper.bzl", "cc_helper")
1920
load("//cc/common:cc_info.bzl", "CcInfo")
2021
load("//cc/common:semantics.bzl", "semantics")
2122
load(":attrs.bzl", "cc_binary_attrs", "linkstatic_doc", "stamp_doc")
2223
load(":cc_binary.bzl", "cc_binary_impl")
23-
load(":cc_postmark.bzl", "postmark")
2424
load(":cc_shared_library.bzl", "dynamic_deps_initializer")
2525

2626
_CC_TEST_TOOLCHAIN_TYPE = "@bazel_tools//tools/cpp:test_runner_toolchain_type"

0 commit comments

Comments
 (0)