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:
parent
6161970fa2
commit
7e13cf2160
1 changed files with 20 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue