| # Copyright 2024 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//mojo/public/tools/bindings/mojom.gni") |
| import("//third_party/protobuf/proto_library.gni") |
| |
| proto_library("protocol") { |
| proto_in_dir = "//" |
| |
| sources = [ |
| "data_sharing_sdk.proto", |
| "group_data.proto", |
| ] |
| deps = [ "//components/sync/protocol" ] |
| } |
| |
| if (is_android) { |
| import("//build/config/android/rules.gni") |
| |
| proto_java_library("proto_java") { |
| proto_path = "//" |
| sources = [ |
| "data_sharing_sdk.proto", |
| "group_data.proto", |
| ] |
| deps = [ "//components/sync/protocol:protocol_java" ] |
| } |
| } |
| |
| mojom("mojo_bindings") { |
| sources = [ "group_data.mojom" ] |
| deps = [ "//url/mojom:url_mojom_gurl" ] |
| public_deps = [ "//mojo/public/mojom/base" ] |
| webui_module_path = "" |
| } |