You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fidl-dev
You can stop reading if you don’t use FIDL HLCPP bindings in the Fuchsia GN build.
In the past, depending on a FIDL target gave you HLCPP bindings by default. Soon, you will be required to explicitly choose the bindings flavor using the “_hlcpp” or “_cpp” suffix. For example:
This is tracked by fxbug.dev/108354, and enforcement starts with an allowlist in fxrev.dev/718410. I will migrate all existing build targets in the coming days. After the migration, if you try using the old way, you’ll get a GN error like this:
ERROR at //build/config/BUILDCONFIG.gn:2006:3: Dependency not allowed.
target(target_type, target_name){
^---------------------------------
The item //examples/fidl/hlcpp/unittests:example-cpp-host-test_executable
can not depend on //examples/fidl/fuchsia.examples:fuchsia.examples
because it isnotin//examples/fidl/fuchsia.examples:fuchsia.examples's visibility list: [