Revert "Upgrade NodeJS binary to v16.13.0"
[platform/framework/web/chromium-efl.git] / third_party / grpc-java / BUILD.gn
1 # Copyright 2022 Google Inc. All Rights Reserved.
2 # Use of this source code is governed by a BSD - style license that can be
3 # found in the LICENSE file.
4
5 if (is_android) {
6   import("//build/config/android/rules.gni")
7   java_group("grpc_runtime_java") {
8     deps = [
9       "//third_party/android_deps:com_google_guava_listenablefuture_java",
10       "//third_party/android_deps:io_grpc_grpc_api_java",
11       "//third_party/android_deps:io_grpc_grpc_protobuf_lite_java",
12       "//third_party/android_deps:io_grpc_grpc_stub_java",
13       "//third_party/android_deps:javax_annotation_javax_annotation_api_java",
14     ]
15   }
16 }
17
18 # Only compile the plugin for the host architecture.
19 if (current_toolchain == host_toolchain) {
20   config("grpc_java_plugin_internal_config") {
21     cflags = [ "-Wno-implicit-fallthrough" ]
22   }
23   executable("grpc_java_plugin") {
24     sources = [
25       "compiler_plugin/java_generator.cpp",
26       "compiler_plugin/java_generator.h",
27       "compiler_plugin/java_plugin.cpp",
28     ]
29     deps = [ "//third_party/protobuf:protoc_lib" ]
30     configs += [
31       "//third_party/protobuf:protobuf_config",
32       ":grpc_java_plugin_internal_config",
33     ]
34   }
35 }