| # Copyright 2022 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| name = "platform_features" |
| authors = ["David Koloski <dkoloski@google.com>"] |
| a = { version = "1.0", path = "a" } |
| [target."cfg(not(target_os = \"fuchsia\"))".dependencies] |
| b = { version = "1.0", path = "b" } |
| # Manually enable the 'b' feature on a and add a dependency on it |
| [gn.package.a."1.0.0".platform."cfg(not(target_os = \"fuchsia\"))"] |
| rustflags = ["--cfg=feature=\\\"b\\\""] |