blob: bfea6e585fc20da05b5451916e6cd40ac80afc45 [file] [log] [blame]
Kalesh Singh0396f872024-02-02 22:11:08 -08001// Copyright (C) 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
Sophie Zhengd62e1312025-05-15 10:58:39 -070017 default_team: "trendy_team_native_tools_libraries",
Kalesh Singh0396f872024-02-02 22:11:08 -080018}
19
20cc_library_shared {
21 name: "crt_pad_segment_enabled",
22 srcs: ["hello_world.c"],
23}
24
25cc_library_shared {
26 name: "crt_pad_segment_disabled",
27 srcs: [
28 "hello_world.c",
29 "crt_pad_segment_disabled.S",
30 ],
31 include_dirs: ["bionic/libc"], // bionic_asm_note.h
32 no_crt_pad_segment: true,
33}
34
35cc_library_shared {
36 name: "no_crt_pad_segment",
37 srcs: ["hello_world.c"],
38 no_crt_pad_segment: true,
39}