diff options
| author | Steven Moreland <smoreland@google.com> | 2017-11-02 14:16:29 -0700 |
|---|---|---|
| committer | Steven Moreland <smoreland@google.com> | 2017-11-03 16:30:28 +0000 |
| commit | 90e3a50f03102f24e035f8da1ab03946b8a991c1 (patch) | |
| tree | 4e5eb28969f8862bd9a74bedc6f5d0fe5314505f /gnss/1.0 | |
| parent | 9d4c21f9afb122c64255d0d4bdfa935d2b0bc834 (diff) | |
| download | android_hardware_interfaces-90e3a50f03102f24e035f8da1ab03946b8a991c1.tar.gz android_hardware_interfaces-90e3a50f03102f24e035f8da1ab03946b8a991c1.tar.bz2 android_hardware_interfaces-90e3a50f03102f24e035f8da1ab03946b8a991c1.zip | |
Automatic mk -> bp.
Automatic mk -> bp conversion for all modules here
which can be converted and built automatically.
Test: Soong resolves all dependencies
Bug: 37512442
Change-Id: Ib789212cb88d55731397c600d132e7c672c0d8be
Diffstat (limited to 'gnss/1.0')
| -rw-r--r-- | gnss/1.0/default/Android.bp | 54 | ||||
| -rw-r--r-- | gnss/1.0/default/Android.mk | 56 |
2 files changed, 54 insertions, 56 deletions
diff --git a/gnss/1.0/default/Android.bp b/gnss/1.0/default/Android.bp new file mode 100644 index 000000000..007ed975a --- /dev/null +++ b/gnss/1.0/default/Android.bp @@ -0,0 +1,54 @@ +cc_library_shared { + name: "android.hardware.gnss@1.0-impl", + vendor: true, + relative_install_path: "hw", + srcs: [ + "ThreadCreationWrapper.cpp", + "AGnss.cpp", + "AGnssRil.cpp", + "Gnss.cpp", + "GnssBatching.cpp", + "GnssDebug.cpp", + "GnssGeofencing.cpp", + "GnssMeasurement.cpp", + "GnssNavigationMessage.cpp", + "GnssNi.cpp", + "GnssXtra.cpp", + "GnssConfiguration.cpp", + "GnssUtils.cpp", + ], + + shared_libs: [ + "liblog", + "libhidlbase", + "libhidltransport", + "libutils", + "android.hardware.gnss@1.0", + "libhardware", + ], + + cflags: ["-Werror"], + +} + +cc_binary { + relative_install_path: "hw", + vendor: true, + name: "android.hardware.gnss@1.0-service", + init_rc: ["android.hardware.gnss@1.0-service.rc"], + srcs: ["service.cpp"], + + shared_libs: [ + "liblog", + "libcutils", + "libdl", + "libbase", + "libutils", + "libhardware", + "libbinder", + "libhidlbase", + "libhidltransport", + "android.hardware.gnss@1.0", + ], + +} diff --git a/gnss/1.0/default/Android.mk b/gnss/1.0/default/Android.mk deleted file mode 100644 index 34da64e25..000000000 --- a/gnss/1.0/default/Android.mk +++ /dev/null @@ -1,56 +0,0 @@ -LOCAL_PATH := $(call my-dir) - -include $(CLEAR_VARS) -LOCAL_MODULE := android.hardware.gnss@1.0-impl -LOCAL_PROPRIETARY_MODULE := true -LOCAL_MODULE_RELATIVE_PATH := hw -LOCAL_SRC_FILES := \ - ThreadCreationWrapper.cpp \ - AGnss.cpp \ - AGnssRil.cpp \ - Gnss.cpp \ - GnssBatching.cpp \ - GnssDebug.cpp \ - GnssGeofencing.cpp \ - GnssMeasurement.cpp \ - GnssNavigationMessage.cpp \ - GnssNi.cpp \ - GnssXtra.cpp \ - GnssConfiguration.cpp \ - GnssUtils.cpp - -LOCAL_SHARED_LIBRARIES := \ - liblog \ - libhidlbase \ - libhidltransport \ - libutils \ - android.hardware.gnss@1.0 \ - libhardware - -LOCAL_CFLAGS += -Werror - -include $(BUILD_SHARED_LIBRARY) - -include $(CLEAR_VARS) -LOCAL_MODULE_RELATIVE_PATH := hw -LOCAL_PROPRIETARY_MODULE := true -LOCAL_MODULE := android.hardware.gnss@1.0-service -LOCAL_INIT_RC := android.hardware.gnss@1.0-service.rc -LOCAL_SRC_FILES := \ - service.cpp \ - -LOCAL_SHARED_LIBRARIES := \ - liblog \ - libcutils \ - libdl \ - libbase \ - libutils \ - libhardware \ - libbinder \ - -LOCAL_SHARED_LIBRARIES += \ - libhidlbase \ - libhidltransport \ - android.hardware.gnss@1.0 \ - -include $(BUILD_EXECUTABLE) |
