Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 1 | # Copyright (C) 2015 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | LOCAL_PATH := $(call my-dir) |
| 16 | |
| 17 | metrics_cpp_extension := .cc |
| 18 | libmetrics_sources := \ |
| 19 | c_metrics_library.cc \ |
| 20 | metrics_library.cc \ |
Samuel Tan | 1c4d8f1 | 2015-09-15 11:40:47 -0700 | [diff] [blame] | 21 | timer.cc |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 22 | |
| 23 | metrics_client_sources := \ |
| 24 | metrics_client.cc |
| 25 | |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 26 | metrics_collector_common := \ |
Bertrand SIMONNET | 7a96405 | 2015-09-29 11:07:24 -0700 | [diff] [blame] | 27 | collectors/averaged_statistics_collector.cc \ |
Bertrand SIMONNET | 0ada2ca | 2015-11-02 14:08:44 -0800 | [diff] [blame] | 28 | collectors/cpu_usage_collector.cc \ |
Bertrand SIMONNET | 5658dc5 | 2015-09-18 13:38:10 -0700 | [diff] [blame] | 29 | collectors/disk_usage_collector.cc \ |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 30 | metrics_collector.cc \ |
Todd Poynor | 4b50bf3 | 2016-01-05 17:27:36 -0800 | [diff] [blame] | 31 | metrics_collector_service_impl.cc \ |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 32 | persistent_integer.cc |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 33 | |
| 34 | metricsd_common := \ |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 35 | persistent_integer.cc \ |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 36 | uploader/bn_metricsd_impl.cc \ |
| 37 | uploader/crash_counters.cc \ |
Bertrand SIMONNET | 1253186 | 2015-08-31 11:11:57 -0700 | [diff] [blame] | 38 | uploader/metrics_hashes.cc \ |
Bertrand SIMONNET | 1253186 | 2015-08-31 11:11:57 -0700 | [diff] [blame] | 39 | uploader/metrics_log_base.cc \ |
Bertrand SIMONNET | 1253186 | 2015-08-31 11:11:57 -0700 | [diff] [blame] | 40 | uploader/metrics_log.cc \ |
Bertrand SIMONNET | b6c77af | 2015-12-08 17:46:00 -0800 | [diff] [blame] | 41 | uploader/metricsd_service_runner.cc \ |
Bertrand SIMONNET | 1253186 | 2015-08-31 11:11:57 -0700 | [diff] [blame] | 42 | uploader/sender_http.cc \ |
| 43 | uploader/system_profile_cache.cc \ |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 44 | uploader/upload_service.cc |
Bertrand SIMONNET | 59890e2 | 2015-10-02 16:45:18 -0700 | [diff] [blame] | 45 | |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 46 | metrics_collector_tests_sources := \ |
Bertrand SIMONNET | 59890e2 | 2015-10-02 16:45:18 -0700 | [diff] [blame] | 47 | collectors/averaged_statistics_collector_test.cc \ |
Bertrand SIMONNET | 0ada2ca | 2015-11-02 14:08:44 -0800 | [diff] [blame] | 48 | collectors/cpu_usage_collector_test.cc \ |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 49 | metrics_collector_test.cc \ |
Bertrand SIMONNET | 59890e2 | 2015-10-02 16:45:18 -0700 | [diff] [blame] | 50 | metrics_library_test.cc \ |
| 51 | persistent_integer_test.cc \ |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 52 | timer_test.cc |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 53 | |
| 54 | metricsd_tests_sources := \ |
Bertrand SIMONNET | 59890e2 | 2015-10-02 16:45:18 -0700 | [diff] [blame] | 55 | uploader/metrics_hashes_unittest.cc \ |
| 56 | uploader/metrics_log_base_unittest.cc \ |
| 57 | uploader/mock/sender_mock.cc \ |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 58 | uploader/upload_service_test.cc |
Bertrand SIMONNET | 1253186 | 2015-08-31 11:11:57 -0700 | [diff] [blame] | 59 | |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 60 | metrics_CFLAGS := -Wall \ |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 61 | -Wno-char-subscripts \ |
| 62 | -Wno-missing-field-initializers \ |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 63 | -Wno-unused-parameter \ |
| 64 | -Werror \ |
| 65 | -fvisibility=default |
| 66 | metrics_CPPFLAGS := -Wno-non-virtual-dtor \ |
| 67 | -Wno-sign-promo \ |
| 68 | -Wno-strict-aliasing \ |
| 69 | -fvisibility=default |
| 70 | metrics_includes := external/gtest/include \ |
| 71 | $(LOCAL_PATH)/include |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 72 | libmetrics_shared_libraries := libchrome libbinder libbrillo libutils |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 73 | metrics_collector_shared_libraries := $(libmetrics_shared_libraries) \ |
Todd Poynor | 694553d | 2015-12-03 11:05:45 -0800 | [diff] [blame] | 74 | libbrillo-binder \ |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 75 | libbrillo-http \ |
Bertrand SIMONNET | 59890e2 | 2015-10-02 16:45:18 -0700 | [diff] [blame] | 76 | libmetrics \ |
Bertrand SIMONNET | 59890e2 | 2015-10-02 16:45:18 -0700 | [diff] [blame] | 77 | librootdev \ |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 78 | libweaved |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 79 | |
Todd Poynor | 694553d | 2015-12-03 11:05:45 -0800 | [diff] [blame] | 80 | metrics_collector_static_libraries := libmetricscollectorservice |
| 81 | |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 82 | metricsd_shared_libraries := \ |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 83 | libbinder \ |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 84 | libbrillo \ |
Bertrand SIMONNET | b6c77af | 2015-12-08 17:46:00 -0800 | [diff] [blame] | 85 | libbrillo-binder \ |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 86 | libbrillo-http \ |
| 87 | libchrome \ |
| 88 | libprotobuf-cpp-lite \ |
| 89 | libupdate_engine_client \ |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 90 | libutils |
| 91 | |
Todd Poynor | 694553d | 2015-12-03 11:05:45 -0800 | [diff] [blame] | 92 | # Static proxy library for the metricsd binder interface. |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 93 | # ======================================================== |
| 94 | include $(CLEAR_VARS) |
| 95 | LOCAL_MODULE := metricsd_binder_proxy |
| 96 | LOCAL_SHARED_LIBRARIES := libbinder libutils |
| 97 | LOCAL_SRC_FILES := aidl/android/brillo/metrics/IMetricsd.aidl |
| 98 | include $(BUILD_STATIC_LIBRARY) |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 99 | |
Todd Poynor | 694553d | 2015-12-03 11:05:45 -0800 | [diff] [blame] | 100 | # Static library for the metrics_collector binder interface. |
| 101 | # ========================================================== |
| 102 | include $(CLEAR_VARS) |
| 103 | LOCAL_MODULE := libmetricscollectorservice |
Todd Poynor | b77ae45 | 2016-01-04 14:11:25 -0800 | [diff] [blame] | 104 | LOCAL_CLANG := true |
Todd Poynor | 694553d | 2015-12-03 11:05:45 -0800 | [diff] [blame] | 105 | LOCAL_SHARED_LIBRARIES := libbinder libbrillo-binder libchrome libutils |
| 106 | LOCAL_CPP_EXTENSION := $(metrics_cpp_extension) |
| 107 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include |
| 108 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include |
| 109 | LOCAL_SRC_FILES := \ |
| 110 | aidl/android/brillo/metrics/IMetricsCollectorService.aidl \ |
Todd Poynor | 694553d | 2015-12-03 11:05:45 -0800 | [diff] [blame] | 111 | metrics_collector_service_client.cc |
Todd Poynor | 694553d | 2015-12-03 11:05:45 -0800 | [diff] [blame] | 112 | include $(BUILD_STATIC_LIBRARY) |
| 113 | |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 114 | # Shared library for metrics. |
| 115 | # ======================================================== |
| 116 | include $(CLEAR_VARS) |
| 117 | LOCAL_MODULE := libmetrics |
| 118 | LOCAL_C_INCLUDES := $(metrics_includes) |
| 119 | LOCAL_CFLAGS := $(metrics_CFLAGS) |
Bertrand SIMONNET | ebbe35c | 2015-09-08 10:13:35 -0700 | [diff] [blame] | 120 | LOCAL_CLANG := true |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 121 | LOCAL_CPP_EXTENSION := $(metrics_cpp_extension) |
| 122 | LOCAL_CPPFLAGS := $(metrics_CPPFLAGS) |
| 123 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include |
Bertrand SIMONNET | 59890e2 | 2015-10-02 16:45:18 -0700 | [diff] [blame] | 124 | LOCAL_SHARED_LIBRARIES := $(libmetrics_shared_libraries) |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 125 | LOCAL_SRC_FILES := $(libmetrics_sources) |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 126 | LOCAL_STATIC_LIBRARIES := metricsd_binder_proxy |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 127 | include $(BUILD_SHARED_LIBRARY) |
| 128 | |
| 129 | # CLI client for metrics. |
| 130 | # ======================================================== |
| 131 | include $(CLEAR_VARS) |
| 132 | LOCAL_MODULE := metrics_client |
| 133 | LOCAL_C_INCLUDES := $(metrics_includes) |
| 134 | LOCAL_CFLAGS := $(metrics_CFLAGS) |
Bertrand SIMONNET | ebbe35c | 2015-09-08 10:13:35 -0700 | [diff] [blame] | 135 | LOCAL_CLANG := true |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 136 | LOCAL_CPP_EXTENSION := $(metrics_cpp_extension) |
| 137 | LOCAL_CPPFLAGS := $(metrics_CPPFLAGS) |
Bertrand SIMONNET | 59890e2 | 2015-10-02 16:45:18 -0700 | [diff] [blame] | 138 | LOCAL_SHARED_LIBRARIES := $(libmetrics_shared_libraries) \ |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 139 | libmetrics |
| 140 | LOCAL_SRC_FILES := $(metrics_client_sources) |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 141 | LOCAL_STATIC_LIBRARIES := metricsd_binder_proxy |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 142 | include $(BUILD_EXECUTABLE) |
| 143 | |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 144 | # Protobuf library for metricsd. |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 145 | # ======================================================== |
| 146 | include $(CLEAR_VARS) |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 147 | LOCAL_MODULE := metricsd_protos |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 148 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| 149 | generated_sources_dir := $(call local-generated-sources-dir) |
| 150 | LOCAL_EXPORT_C_INCLUDE_DIRS += \ |
| 151 | $(generated_sources_dir)/proto/system/core/metricsd |
| 152 | LOCAL_SRC_FILES := $(call all-proto-files-under,uploader/proto) |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 153 | include $(BUILD_STATIC_LIBRARY) |
| 154 | |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 155 | # metrics_collector daemon. |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 156 | # ======================================================== |
| 157 | include $(CLEAR_VARS) |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 158 | LOCAL_MODULE := metrics_collector |
Alex Vakulenko | 26aef37 | 2015-10-27 11:46:37 -0700 | [diff] [blame] | 159 | LOCAL_C_INCLUDES := $(metrics_includes) |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 160 | LOCAL_CFLAGS := $(metrics_CFLAGS) |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 161 | LOCAL_CLANG := true |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 162 | LOCAL_CPP_EXTENSION := $(metrics_cpp_extension) |
| 163 | LOCAL_CPPFLAGS := $(metrics_CPPFLAGS) |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 164 | LOCAL_INIT_RC := metrics_collector.rc |
Alex Vakulenko | 9fc597b | 2015-12-09 12:34:18 -0800 | [diff] [blame] | 165 | LOCAL_REQUIRED_MODULES := metrics.json |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 166 | LOCAL_SHARED_LIBRARIES := $(metrics_collector_shared_libraries) |
| 167 | LOCAL_SRC_FILES := $(metrics_collector_common) \ |
Todd Poynor | 4b50bf3 | 2016-01-05 17:27:36 -0800 | [diff] [blame] | 168 | metrics_collector_main.cc |
Todd Poynor | 694553d | 2015-12-03 11:05:45 -0800 | [diff] [blame] | 169 | LOCAL_STATIC_LIBRARIES := metricsd_binder_proxy \ |
| 170 | $(metrics_collector_static_libraries) |
Bertrand SIMONNET | ed6ca6f | 2015-07-28 15:46:36 -0700 | [diff] [blame] | 171 | include $(BUILD_EXECUTABLE) |
Bertrand SIMONNET | 0a94a3b | 2015-08-11 11:45:05 -0700 | [diff] [blame] | 172 | |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 173 | # metricsd daemon. |
Bertrand SIMONNET | 1253186 | 2015-08-31 11:11:57 -0700 | [diff] [blame] | 174 | # ======================================================== |
| 175 | include $(CLEAR_VARS) |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 176 | LOCAL_MODULE := metricsd |
| 177 | LOCAL_C_INCLUDES := $(metrics_includes) |
Bertrand SIMONNET | 1253186 | 2015-08-31 11:11:57 -0700 | [diff] [blame] | 178 | LOCAL_CFLAGS := $(metrics_CFLAGS) |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 179 | LOCAL_CLANG := true |
| 180 | LOCAL_CPP_EXTENSION := $(metrics_cpp_extension) |
| 181 | LOCAL_CPPFLAGS := $(metrics_CPPFLAGS) |
| 182 | LOCAL_INIT_RC := metricsd.rc |
| 183 | LOCAL_REQUIRED_MODULES := \ |
| 184 | metrics_collector |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 185 | LOCAL_SHARED_LIBRARIES := $(metricsd_shared_libraries) |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 186 | LOCAL_STATIC_LIBRARIES := metricsd_protos metricsd_binder_proxy |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 187 | LOCAL_SRC_FILES := $(metricsd_common) \ |
| 188 | metricsd_main.cc |
| 189 | include $(BUILD_EXECUTABLE) |
| 190 | |
| 191 | # Unit tests for metricsd. |
| 192 | # ======================================================== |
| 193 | include $(CLEAR_VARS) |
| 194 | LOCAL_MODULE := metricsd_tests |
| 195 | LOCAL_CFLAGS := $(metrics_CFLAGS) |
| 196 | LOCAL_CLANG := true |
Bertrand SIMONNET | 1253186 | 2015-08-31 11:11:57 -0700 | [diff] [blame] | 197 | LOCAL_CPP_EXTENSION := $(metrics_cpp_extension) |
| 198 | LOCAL_CPPFLAGS := $(metrics_CPPFLAGS) -Wno-sign-compare |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 199 | LOCAL_SHARED_LIBRARIES := $(metricsd_shared_libraries) |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 200 | LOCAL_SRC_FILES := $(metricsd_tests_sources) $(metricsd_common) |
Bertrand SIMONNET | 6b8629a | 2015-11-18 13:46:33 -0800 | [diff] [blame] | 201 | LOCAL_STATIC_LIBRARIES := libBionicGtestMain libgmock metricsd_protos metricsd_binder_proxy |
Bertrand SIMONNET | 30c174b | 2016-01-19 17:58:40 -0800 | [diff] [blame] | 202 | ifdef BRILLO |
Jorge Lucangeli Obes | 1e7592c | 2016-02-04 14:17:46 -0800 | [diff] [blame] | 203 | LOCAL_MODULE_TAGS := eng |
Bertrand SIMONNET | 30c174b | 2016-01-19 17:58:40 -0800 | [diff] [blame] | 204 | endif |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 205 | include $(BUILD_NATIVE_TEST) |
Bertrand SIMONNET | 1253186 | 2015-08-31 11:11:57 -0700 | [diff] [blame] | 206 | |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 207 | # Unit tests for metrics_collector. |
| 208 | # ======================================================== |
| 209 | include $(CLEAR_VARS) |
| 210 | LOCAL_MODULE := metrics_collector_tests |
| 211 | LOCAL_CFLAGS := $(metrics_CFLAGS) |
| 212 | LOCAL_CLANG := true |
| 213 | LOCAL_CPP_EXTENSION := $(metrics_cpp_extension) |
| 214 | LOCAL_CPPFLAGS := $(metrics_CPPFLAGS) -Wno-sign-compare |
Bertrand SIMONNET | 608e428 | 2015-11-12 17:52:17 -0800 | [diff] [blame] | 215 | LOCAL_SHARED_LIBRARIES := $(metrics_collector_shared_libraries) |
| 216 | LOCAL_SRC_FILES := $(metrics_collector_tests_sources) \ |
| 217 | $(metrics_collector_common) |
Todd Poynor | 694553d | 2015-12-03 11:05:45 -0800 | [diff] [blame] | 218 | LOCAL_STATIC_LIBRARIES := libBionicGtestMain libgmock metricsd_binder_proxy \ |
| 219 | $(metrics_collector_static_libraries) |
Bertrand SIMONNET | 30c174b | 2016-01-19 17:58:40 -0800 | [diff] [blame] | 220 | ifdef BRILLO |
Jorge Lucangeli Obes | 1e7592c | 2016-02-04 14:17:46 -0800 | [diff] [blame] | 221 | LOCAL_MODULE_TAGS := eng |
Bertrand SIMONNET | 30c174b | 2016-01-19 17:58:40 -0800 | [diff] [blame] | 222 | endif |
Bertrand SIMONNET | 1253186 | 2015-08-31 11:11:57 -0700 | [diff] [blame] | 223 | include $(BUILD_NATIVE_TEST) |
Bertrand SIMONNET | 59890e2 | 2015-10-02 16:45:18 -0700 | [diff] [blame] | 224 | |
| 225 | # Weave schema files |
| 226 | # ======================================================== |
| 227 | include $(CLEAR_VARS) |
| 228 | LOCAL_MODULE := metrics.json |
| 229 | LOCAL_MODULE_CLASS := ETC |
Alex Vakulenko | 9fc597b | 2015-12-09 12:34:18 -0800 | [diff] [blame] | 230 | LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/weaved/traits |
| 231 | LOCAL_SRC_FILES := etc/weaved/traits/$(LOCAL_MODULE) |
Bertrand SIMONNET | 59890e2 | 2015-10-02 16:45:18 -0700 | [diff] [blame] | 232 | include $(BUILD_PREBUILT) |