bp2build: convert more cc_objects

This is the last of remaining cc_objects in the libc package.

Test: go tests.

Test: build/bazel/scripts/milestone-2/demo.sh
Change-Id: Ib9c01be0faae10707305b81e72d3fac22bf96356
This commit is contained in:
Jingwen Chen 2021-02-23 00:43:01 -05:00
parent 6161970fa2
commit 7e13cf2160

View file

@ -2082,7 +2082,10 @@ cc_defaults {
cc_object {
name: "crtbrand",
// crtbrand.c needs <stdint.h> and a #define for the platform SDK version.
local_include_dirs: ["include"],
local_include_dirs: [
"include",
"private", // crtbrand.S depends on private/bionic_asm_note.h
],
product_variables: {
platform_sdk_version: {
asflags: ["-DPLATFORM_SDK_VERSION=%d"],
@ -2091,6 +2094,8 @@ cc_object {
srcs: ["arch-common/bionic/crtbrand.S"],
defaults: ["crt_so_defaults"],
bazel_module: { bp2build_available: true },
}
cc_object {
@ -2111,6 +2116,8 @@ cc_object {
"crtbegin_so1",
"crtbrand",
],
bazel_module: { bp2build_available: true },
}
cc_object {
@ -2147,6 +2154,8 @@ cc_object {
defaults: ["crt_defaults"],
// When using libc.a, we're using the latest library regardless of target API level.
min_sdk_version: "current",
bazel_module: { bp2build_available: true },
}
cc_object {
@ -2177,6 +2186,8 @@ cc_object {
},
},
defaults: ["crt_defaults"],
bazel_module: { bp2build_available: true },
}
cc_object {
@ -2371,6 +2382,8 @@ cc_object {
"kernel/uapi/asm-arm",
"kernel/uapi",
],
bazel_module: { bp2build_available: true },
}
cc_object {
@ -2380,6 +2393,8 @@ cc_object {
"kernel/uapi/asm-arm64",
"kernel/uapi",
],
bazel_module: { bp2build_available: true },
}
cc_object {
@ -2391,6 +2406,8 @@ cc_object {
"kernel/uapi/asm-x86",
"kernel/uapi",
],
bazel_module: { bp2build_available: true },
}
cc_object {
@ -2402,6 +2419,8 @@ cc_object {
"kernel/uapi/asm-x86",
"kernel/uapi",
],
bazel_module: { bp2build_available: true },
}
filegroup {