blob: d54f861486653cd9c9f51c151d482619348343fd [file] [log] [blame]
Hungming Chen56c632c2020-09-10 15:42:58 +08001//
2// Copyright (C) 2020 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17//
18// bpf kernel programs
19//
20bpf {
21 name: "offload.o",
22 srcs: ["offload.c"],
23 cflags: [
24 "-Wall",
25 "-Werror",
26 ],
27 include_dirs: [
28 // TODO: get rid of system/netd.
29 "system/netd/bpf_progs", // for bpf_net_helpers.h
30 "system/netd/libnetdbpf/include", // for bpf_shared.h
31 "system/netd/libnetdutils/include", // for UidConstants.h
32 ],
33}