Nina Satragno | 289dd4e | 2024-02-27 00:06:43 | [diff] [blame] | 1 | // Copyright 2024 The Chromium Authors |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CRYPTO_FEATURES_H_ |
| 6 | #define CRYPTO_FEATURES_H_ |
| 7 | |
| 8 | #include "base/feature_list.h" |
| 9 | #include "build/build_config.h" |
| 10 | #include "crypto/crypto_export.h" |
| 11 | |
| 12 | namespace crypto { |
| 13 | |
| 14 | #if BUILDFLAG(IS_MAC) |
| 15 | // Enable the macOS implementation of unexportable keys. |
| 16 | CRYPTO_EXPORT BASE_DECLARE_FEATURE(kEnableMacUnexportableKeys); |
| 17 | #endif // BUILDFLAG(IS_MAC) |
| 18 | |
| 19 | } // namespace crypto |
| 20 | |
| 21 | #endif // CRYPTO_FEATURES_H_ |