[ios] Compile Intents.intentdefinition as part of the build
Previously the source file were manually generated by a developer
in a separate blank Xcode project. This make editing the file more
inconvenient (risk of forgetting to copy the generated source file,
need to have a separate project, ...).
Instead, use the new template from build/ios/intent_definition.gni
to integrate the compilation of .intentdefinition as part of the
build with gn/ninja.
The file ios/chrome/app/intents/Intents.intentdefinition had to
be changed to fix compilation errors when using Xcode 11+ to do
The errors fixed are:
Intents.intentdefinition: error: OpenInChrome.url: Parameter
voice-only prompt dialog can’t be empty. Alternately, this
parameter can be marked as unresolvable.
Intents.intentdefinition: warning: SearchInChrome: The shortcut
suggestion with ‘(No Parameters)’ parameter combination must
have a summary.
Commit-Queue: Sylvain Defresne <firstname.lastname@example.org>
Reviewed-by: Olivier Robin <email@example.com>
6 files changed