| Jiyong Park | d1006fe | 2017-11-08 18:44:09 +0900 | [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: "libfoo.oem1", | 
 | 19 |     srcs: ["test.cpp"], | 
| Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 20 |     cflags: ["-DLIBNAME=\"libfoo.oem1.so\""], | 
| Jiyong Park | d1006fe | 2017-11-08 18:44:09 +0900 | [diff] [blame] | 21 |     shared_libs: [ | 
 | 22 |         "libbase", | 
 | 23 |     ], | 
 | 24 | } | 
| Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 25 |  | 
| Jiyong Park | d1006fe | 2017-11-08 18:44:09 +0900 | [diff] [blame] | 26 | cc_library { | 
 | 27 |     name: "libbar.oem1", | 
 | 28 |     srcs: ["test.cpp"], | 
| Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 29 |     cflags: ["-DLIBNAME=\"libbar.oem1.so\""], | 
| Jiyong Park | d1006fe | 2017-11-08 18:44:09 +0900 | [diff] [blame] | 30 |     shared_libs: [ | 
 | 31 |         "libbase", | 
 | 32 |     ], | 
 | 33 | } | 
| Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 34 |  | 
| Jiyong Park | d1006fe | 2017-11-08 18:44:09 +0900 | [diff] [blame] | 35 | cc_library { | 
 | 36 |     name: "libfoo.oem2", | 
 | 37 |     srcs: ["test.cpp"], | 
| Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 38 |     cflags: ["-DLIBNAME=\"libfoo.oem2.so\""], | 
| Jiyong Park | d1006fe | 2017-11-08 18:44:09 +0900 | [diff] [blame] | 39 |     shared_libs: [ | 
 | 40 |         "libbase", | 
 | 41 |     ], | 
 | 42 | } | 
| Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 43 |  | 
| Jiyong Park | d1006fe | 2017-11-08 18:44:09 +0900 | [diff] [blame] | 44 | cc_library { | 
 | 45 |     name: "libbar.oem2", | 
 | 46 |     srcs: ["test.cpp"], | 
| Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 47 |     cflags: ["-DLIBNAME=\"libbar.oem2.so\""], | 
| Jiyong Park | d1006fe | 2017-11-08 18:44:09 +0900 | [diff] [blame] | 48 |     shared_libs: [ | 
 | 49 |         "libbase", | 
 | 50 |     ], | 
 | 51 | } |