diff options
author | Francois Gaffie <francois.gaffie@renault.com> | 2019-02-06 08:10:16 +0100 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2019-04-26 10:59:32 -0700 |
commit | 9cb3385e519fe80129b71404c0200dac184b03a4 (patch) | |
tree | 18c83b6cf7aa1f8ffd65b04489a355c64783c66d | |
parent | 31b2487e9d63e508d4b0b749a724d0814ef670c6 (diff) | |
download | parameter-framework-9cb3385e519fe80129b71404c0200dac184b03a4.tar.gz |
Provides Networking targets to enable debug through unix socket
This CL adds *-networking targets component in order to allow
using the parameter-framework debug tools.
Bug: 130284799
Test: make
Change-Id: Idc5f94e28cfbab6550c5d0294704168a140ce313
Signed-off-by: Francois Gaffie <francois.gaffie@renault.com>
-rw-r--r-- | Android.bp | 51 |
1 files changed, 43 insertions, 8 deletions
@@ -55,12 +55,11 @@ cc_library_static { ], } -cc_library_shared { - name: "libremote-processor", +cc_defaults { + name: "libremote-processor-defaults", defaults: ["pfw_defaults"], cflags: ["-Wno-implicit-fallthrough"], - local_include_dirs: ["upstream/asio/stub"], export_include_dirs: [ "upstream/remote-processor", "support/android/remote-processor", @@ -77,7 +76,18 @@ cc_library_shared { } cc_library_shared { - name: "libparameter", + name: "libremote-processor", + defaults: ["libremote-processor-defaults"], + + local_include_dirs: [ + "asio/include", + "support/android/asio", + ], + cflags: ["-Wno-unused-local-typedef"], +} + +cc_defaults { + name: "libparameter-defaults", defaults: ["pfw_defaults"], cppflags: [ @@ -93,7 +103,6 @@ cc_library_shared { "support/android/parameter", ], shared_libs: [ - "libremote-processor", "libandroidicu", ], static_libs: [ @@ -185,20 +194,32 @@ cc_library_shared { ], } +cc_library_shared { + name: "libparameter", + defaults: ["libparameter-defaults"], + shared_libs: [ + "libremote-processor", + ], +} + +// Userdebug only, should not be used in a user build device image. cc_binary { name: "test-platform", defaults: ["pfw_defaults"], - cflags: ["-Wno-implicit-fallthrough"], local_include_dirs: [ "upstream/test/test-platform", - "upstream/asio/stub", + "support/android/asio", + "asio/include", ], - srcs: [ "upstream/test/test-platform/main.cpp", "upstream/test/test-platform/TestPlatform.cpp", ], + cflags: [ + "-Wno-unused-local-typedef", + "-Wno-implicit-fallthrough" + ], static_libs: ["libpfw_utility"], shared_libs: [ "libparameter", @@ -457,3 +478,17 @@ cc_prebuilt_binary { } ////////////////////////////////////////////////// + +cc_binary { + name: "remote-process", + defaults: ["pfw_defaults"], + + srcs: ["upstream/remote-process/main.cpp"], + local_include_dirs: [ + "upstream/utility", + "support/android/asio", + "asio/include", + ], + cflags: ["-Wno-unused-local-typedef"], + shared_libs: ["libremote-processor"], +} |