1# Copyright 2022 Google LLC. All rights reserved. 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(default_visibility = ["//visibility:public"]) 16 17licenses(["notice"]) 18 19filegroup( 20 name = "sysroot_crt_files", 21 srcs = [ 22 "x86_64-unknown-linux-gnu/sysroot/usr/lib/crt1.o", 23 "x86_64-unknown-linux-gnu/sysroot/usr/lib/crti.o", 24 "x86_64-unknown-linux-gnu/sysroot/usr/lib/crtn.o", 25 ], 26) 27 28filegroup( 29 name = "libgcc_crt_files", 30 srcs = [ 31 "lib/gcc/x86_64-unknown-linux-gnu/4.8.5/crtbegin.o", 32 "lib/gcc/x86_64-unknown-linux-gnu/4.8.5/crtend.o", 33 ], 34) 35 36filegroup( 37 name = "libs", 38 srcs = glob([ 39 "lib/gcc/x86_64-unknown-linux-gnu/4.8.5/*.a", 40 "x86_64-unknown-linux-gnu/sysroot/lib/*.a", 41 "x86_64-unknown-linux-gnu/sysroot/usr/lib/*.a", 42 "x86_64-unknown-linux-gnu/sysroot/lib/*.so*", 43 "x86_64-unknown-linux-gnu/sysroot/usr/lib/*.so*", 44 ]), 45) 46