| Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 1 | // | 
|  | 2 | // Copyright (C) 2014 The Android Open Source Project | 
|  | 3 | // | 
|  | 4 | // Licensed under the Apache License, Version 2.0 (the "License"); | 
|  | 5 | // you may not use this file except in compliance with the License. | 
|  | 6 | // You may obtain a copy of the License at | 
|  | 7 | // | 
|  | 8 | //      http://www.apache.org/licenses/LICENSE-2.0 | 
|  | 9 | // | 
|  | 10 | // Unless required by applicable law or agreed to in writing, software | 
|  | 11 | // distributed under the License is distributed on an "AS IS" BASIS, | 
|  | 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
|  | 13 | // See the License for the specific language governing permissions and | 
|  | 14 | // limitations under the License. | 
|  | 15 | // | 
|  | 16 |  | 
|  | 17 | // Build the unit tests. | 
|  | 18 |  | 
|  | 19 | cc_test { | 
|  | 20 | name: "libutils_tests", | 
|  | 21 |  | 
|  | 22 | srcs: [ | 
|  | 23 | "BlobCache_test.cpp", | 
|  | 24 | "BitSet_test.cpp", | 
|  | 25 | "Looper_test.cpp", | 
|  | 26 | "LruCache_test.cpp", | 
| Hans Boehm | 4a8276c | 2016-06-01 15:29:55 -0700 | [diff] [blame] | 27 | "RefBase_test.cpp", | 
| Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 28 | "String8_test.cpp", | 
|  | 29 | "StrongPointer_test.cpp", | 
|  | 30 | "SystemClock_test.cpp", | 
|  | 31 | "Unicode_test.cpp", | 
|  | 32 | "Vector_test.cpp", | 
|  | 33 | ], | 
|  | 34 |  | 
|  | 35 | shared_libs: [ | 
|  | 36 | "libz", | 
|  | 37 | "liblog", | 
|  | 38 | "libcutils", | 
|  | 39 | "libutils", | 
|  | 40 | ], | 
|  | 41 | } | 
|  | 42 |  | 
|  | 43 | cc_test_host { | 
|  | 44 | name: "libutils_tests_host", | 
|  | 45 | srcs: ["Vector_test.cpp"], | 
|  | 46 | static_libs: [ | 
|  | 47 | "libutils", | 
|  | 48 | "liblog", | 
|  | 49 | ], | 
|  | 50 | } |