summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 38a78e1)
raw | patch | inline | side by side (from parent 1: 38a78e1)
author | Steven Moreland <smoreland@google.com> | |
Thu, 12 Oct 2017 23:20:53 +0000 (16:20 -0700) | ||
committer | Steven Moreland <smoreland@google.com> | |
Fri, 13 Oct 2017 00:04:22 +0000 (17:04 -0700) |
Also statically include it in the service binary.
Test: fmq_test
Bug: 67500459
Change-Id: Ia8728308dbce9acbdeafa8b2a56fd007be8c0832
Test: fmq_test
Bug: 67500459
Change-Id: Ia8728308dbce9acbdeafa8b2a56fd007be8c0832
tests/msgq/1.0/default/Android.bp | patch | blob | history |
index be4fe945433aedbe4a56d88419413e79ebc4d728..6bbca245995676770f862437bb3926220eb0de44 100644 (file)
// See the License for the specific language governing permissions and
// limitations under the License.
-cc_library_shared {
+cc_library {
name: "android.hardware.tests.msgq@1.0-impl",
defaults: ["hidl_defaults"],
relative_install_path: "hw",
"libfmq",
"libhidlbase",
"libhidltransport",
+ "libhwbinder",
"liblog",
"libutils",
- "android.hardware.tests.msgq@1.0",
],
+
+ // These are static libs only for testing purposes and portability. Shared
+ // libs should be used on device.
+ static_libs: [
+ "android.hardware.tests.msgq@1.0",
+ ]
}
cc_test {
shared_libs: [
"libbase",
"libcutils",
+ "libfmq",
"libhidlbase",
"libhidltransport",
+ "libhwbinder",
"liblog",
"libutils",
- "android.hardware.tests.msgq@1.0"
],
+
+ // Allow dlsym'ing self for statically linked passthrough implementations
+ ldflags: ["-rdynamic"],
+
+ // These are static libs only for testing purposes and portability. Shared
+ // libs should be used on device.
+ static_libs: ["android.hardware.tests.msgq@1.0"],
+ whole_static_libs: ["android.hardware.tests.msgq@1.0-impl"],
}