xref: /aosp_15_r20/system/bpf/progs/Android.bp (revision 55039e042b8390f50b0bdd70c11a2419f6d8fd50)
1*55039e04SAndroid Build Coastguard Worker//
2*55039e04SAndroid Build Coastguard Worker// Copyright (C) 2019 The Android Open Source Project
3*55039e04SAndroid Build Coastguard Worker//
4*55039e04SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
5*55039e04SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
6*55039e04SAndroid Build Coastguard Worker// You may obtain a copy of the License at
7*55039e04SAndroid Build Coastguard Worker//
8*55039e04SAndroid Build Coastguard Worker//      http://www.apache.org/licenses/LICENSE-2.0
9*55039e04SAndroid Build Coastguard Worker//
10*55039e04SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
11*55039e04SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
12*55039e04SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*55039e04SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
14*55039e04SAndroid Build Coastguard Worker// limitations under the License.
15*55039e04SAndroid Build Coastguard Worker//
16*55039e04SAndroid Build Coastguard Worker
17*55039e04SAndroid Build Coastguard Workerpackage {
18*55039e04SAndroid Build Coastguard Worker    // http://go/android-license-faq
19*55039e04SAndroid Build Coastguard Worker    // A large-scale-change added 'default_applicable_licenses' to import
20*55039e04SAndroid Build Coastguard Worker    // the below license kinds from "system_bpf_license":
21*55039e04SAndroid Build Coastguard Worker    //   SPDX-license-identifier-Apache-2.0
22*55039e04SAndroid Build Coastguard Worker    default_applicable_licenses: ["system_bpf_license"],
23*55039e04SAndroid Build Coastguard Worker}
24*55039e04SAndroid Build Coastguard Worker
25*55039e04SAndroid Build Coastguard Workercc_library_headers {
26*55039e04SAndroid Build Coastguard Worker    name: "bpf_prog_headers",
27*55039e04SAndroid Build Coastguard Worker    export_include_dirs: ["include"],
28*55039e04SAndroid Build Coastguard Worker}
29*55039e04SAndroid Build Coastguard Worker
30*55039e04SAndroid Build Coastguard Workerbpf {
31*55039e04SAndroid Build Coastguard Worker    name: "bpfRingbufProg.o",
32*55039e04SAndroid Build Coastguard Worker    srcs: ["bpfRingbufProg.c"],
33*55039e04SAndroid Build Coastguard Worker}
34