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