Ryan Prichard | 3ae062d | 2024-05-20 15:34:32 -0700 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2024 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 | # Some connectivity tests run on older OS versions, and for those tests, many |
| 18 | # library dependencies (such as libbase and libc++) need to be linked |
| 19 | # statically. The tests also need to be linked with a version script to ensure |
| 20 | # that the statically-linked library isn't exported from the executable, where |
| 21 | # it would override the shared libraries that the OS itself uses. See |
| 22 | # b/333438055 for an example of what goes wrong when libc++ is partially |
| 23 | # exported from an executable. |
| 24 | { |
| 25 | local: |
| 26 | *; |
| 27 | }; |