grpc: fix cross-compilation of grpc applications
grpc: fix cross-compilation of grpc applications

When we build an application that uses grpc for the target, following
error occurs

CMake Error at <application work dir>/recipe-sysroot/usr/lib/cmake/grpc/gRPCTargets.cmake:179 (message):
|   The imported target "gRPC::grpc_cpp_plugin" references the file
|
|      "<application work dir>/recipe-sysroot/usr/bin/grpc_cpp_plugin"
|
|   but this file does not exist.  Possible reasons include:
|
|   * The file was deleted, renamed, or moved to another location.
|
|   * An install or uninstall procedure did not complete successfully.
|
|   * The installation package was faulty and contained
|
|      "<application work dir>/recipe-sysroot/usr/lib/cmake/grpc/gRPCTargets.cmake"
|
|   but not all the files it references.
|
| Call Stack (most recent call first):
|   <application work dir>/recipe-sysroot/usr/lib/cmake/grpc/gRPCConfig.cmake:25 (include)
|   	CMakeLists.txt:4 (find_package)

That's because target grpc was built with CPP plugin support and
referenes it from CMake config file. This commit disables CPP plugin
build for the target, and sets dependency on compiler for native and SDK
builds

Signed-off-by: Vyacheslav Yurkov <8eaf04ce5753f91ad2c4b34a782af05a6fbd24bc@gmail.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>

schnitzeltony/meta-openembedded,rehsack/meta-openembedded,openembedded/meta-openembedded,schnitzeltony/meta-openembedded,moto-timo/meta-openembedded,moto-timo/meta-openembedded,rehsack/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,schnitzeltony/meta-openembedded,openembedded/meta-openembedded,schnitzeltony/meta-openembedded,schnitzeltony/meta-openembedded,openembedded/meta-openembedded,moto-timo/meta-openembedded,moto-timo/meta-openembedded,rehsack/meta-openembedded,rehsack/meta-openembedded,schnitzeltony/meta-openembedded,rehsack/meta-openembedded,moto-timo/meta-openembedded,rehsack/meta-openembedded,rehsack/meta-openembedded,openembedded/meta-openembedded,schnitzeltony/meta-openembedded