Skip to content

Commit

Permalink
fix: toolchain flag test
Browse files Browse the repository at this point in the history
Fix single build and add toolchain flag test to
be run with `build_tests.sh`.

Signed-off-by: Sebastian Birunt <sebastian.birunt@arm.com>
Change-Id: Iaa00923b46a06eb21f2539821a909b4ea102d807
  • Loading branch information
birunts committed Aug 14, 2024
1 parent 5e97af8 commit eba1d4c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/build.bp
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@ bob_alias {
"bob_test_version_script",
"bob_test_system_includes",
"bob_test_strict_bins",
"bob_test_toolchain_flags",
],
}
12 changes: 11 additions & 1 deletion tests/toolchain_flags/build.bp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,18 @@ bob_library {
target: {
install_group: "IG_libs",
},

copts: [
"-fPIC",
],
host_supported: true,
target_supported: true,
build_by_default: true,
}

bob_alias {
name: "bob_test_toolchain_flags",
srcs: [
"foo:host",
"foo:target",
],
}

0 comments on commit eba1d4c

Please sign in to comment.