| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
| 6 if (is_android) { |
| 7 import("//build/config/android/rules.gni") |
| 8 } |
| 6 | 9 |
| 7 proto_library("proto") { | 10 proto_library("proto") { |
| 8 sources = [ | 11 sources = [ |
| 9 "server.proto", | 12 "revocation.proto", |
| 10 ] | 13 ] |
| 11 } | 14 } |
| 15 |
| 16 if (is_android) { |
| 17 proto_java_library("proto_java") { |
| 18 proto_path = "//components/cast_certificate/proto" |
| 19 |
| 20 sources = [ |
| 21 "revocation.proto", |
| 22 ] |
| 23 } |
| 24 } |
| OLD | NEW |