Will Drewry | d4ae528 | 2017-01-03 22:06:26 -0600 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2017 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 | cc_library { |
| 18 | name: "libese-teq1", |
Will Drewry | b6635bf | 2017-03-30 08:02:36 -0500 | [diff] [blame] | 19 | defaults: ["libese-api-defaults"], |
Will Drewry | d4ae528 | 2017-01-03 22:06:26 -0600 | [diff] [blame] | 20 | host_supported: true, |
Will Drewry | d4ae528 | 2017-01-03 22:06:26 -0600 | [diff] [blame] | 21 | srcs: ["teq1.c"], |
Chih-Hung Hsieh | c5b766a | 2017-09-28 14:01:29 -0700 | [diff] [blame] | 22 | cflags: ["-Wall", "-Werror"], |
Will Drewry | de2cad7 | 2017-03-10 15:53:34 -0600 | [diff] [blame] | 23 | shared_libs: ["liblog", "libese", "libese-sysdeps"], |
Will Drewry | d4ae528 | 2017-01-03 22:06:26 -0600 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | cc_library { |
Will Drewry | de2cad7 | 2017-03-10 15:53:34 -0600 | [diff] [blame] | 27 | name: "libese-teq1-private", |
Will Drewry | b6635bf | 2017-03-30 08:02:36 -0500 | [diff] [blame] | 28 | // Used by tests to access hidden symbols. |
| 29 | defaults: ["libese-defaults"], |
Will Drewry | de2cad7 | 2017-03-10 15:53:34 -0600 | [diff] [blame] | 30 | host_supported: true, |
Will Drewry | d4ae528 | 2017-01-03 22:06:26 -0600 | [diff] [blame] | 31 | |
Will Drewry | de2cad7 | 2017-03-10 15:53:34 -0600 | [diff] [blame] | 32 | srcs: ["teq1.c"], |
Chih-Hung Hsieh | c5b766a | 2017-09-28 14:01:29 -0700 | [diff] [blame] | 33 | cflags: ["-Wall", "-Werror"], |
Will Drewry | d4ae528 | 2017-01-03 22:06:26 -0600 | [diff] [blame] | 34 | |
Will Drewry | de2cad7 | 2017-03-10 15:53:34 -0600 | [diff] [blame] | 35 | // Ensure that only explicitly exported symbols are visible. |
| 36 | shared_libs: ["liblog", "libese", "libese-sysdeps"], |
Will Drewry | b6635bf | 2017-03-30 08:02:36 -0500 | [diff] [blame] | 37 | export_include_dirs: [".", "include"], |
Will Drewry | d4ae528 | 2017-01-03 22:06:26 -0600 | [diff] [blame] | 38 | } |
| 39 | |
| 40 | subdirs = ["tests"] |