aboutsummaryrefslogtreecommitdiff
path: root/gd/packet/parser/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'gd/packet/parser/Android.bp')
-rw-r--r--gd/packet/parser/Android.bp19
1 files changed, 8 insertions, 11 deletions
diff --git a/gd/packet/parser/Android.bp b/gd/packet/parser/Android.bp
index c54e47ddd..97f323a45 100644
--- a/gd/packet/parser/Android.bp
+++ b/gd/packet/parser/Android.bp
@@ -1,12 +1,3 @@
-package {
- // See: http://go/android-license-faq
- // A large-scale-change added 'default_applicable_licenses' to import
- // all of the 'license_kinds' from "system_bt_license"
- // to get the below license kinds:
- // SPDX-license-identifier-Apache-2.0
- default_applicable_licenses: ["system_bt_license"],
-}
-
cc_binary_host {
name: "bluetooth_packetgen",
srcs: [
@@ -42,12 +33,18 @@ cc_binary_host {
"main.cc",
"language_y.yy",
"language_l.ll",
- "gen_cpp.cc",
- "gen_rust.cc",
],
static_libs: [
"libc++fs",
],
+ cppflags: [
+ "-fno-exceptions",
+ "-O0",
+ ],
+ ldflags: [
+ "-fuse-ld=ld",
+ "-O0",
+ ],
yacc: {
gen_location_hh: true,
gen_position_hh: true,