aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-03-29 17:51:16 -0700
committerElliott Hughes <enh@google.com>2019-04-01 17:26:46 +0000
commitb1cae5175e63c441a630c0b916186eedbf8cf508 (patch)
tree77ac36456ee21bf38a0c64127612026699c91fa2 /Android.bp
parent87ad254d23c8cbcb56c3b69928bca97c3d49b0a6 (diff)
downloadiperf3-b1cae5175e63c441a630c0b916186eedbf8cf508.tar.gz
Bug: http://b/123261826 Test: build Change-Id: Iccc3cd1f1475e33956d92a497d9c4306d53c3983
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp30
1 files changed, 30 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..46d7cc2
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,30 @@
+// Copyright (C) 2019 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+cc_binary {
+ name: "iperf",
+ srcs: [
+ "src/*.c",
+ ],
+ exclude_srcs: [
+ "src/t_*.c",
+ ],
+ cflags: [
+ "-Wno-unused-parameter",
+ "-Wno-unused-variable",
+ // https://github.com/esnet/iperf/pull/855
+ "-Wno-format",
+ "-Wno-constant-conversion",
+ ],
+}