| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//third_party/protobuf/proto_library.gni") | |
| 6 if (is_android) { | |
| 7 import("//build/config/android/rules.gni") | |
| 8 } | |
| 9 | |
| 10 proto_library("proto") { | |
| 11 sources = [ | |
| 12 "revocation.proto", | |
| 13 ] | |
| 14 } | |
| 15 | |
| 16 proto_library("unittest_proto") { | |
| 17 sources = [ | |
| 18 "test_suite.proto", | |
| 19 ] | |
| 20 } | |
| 21 | |
| 22 if (is_android) { | |
| 23 proto_java_library("proto_java") { | |
| 24 proto_path = "//components/cast_certificate/proto" | |
| 25 | |
| 26 sources = [ | |
| 27 "revocation.proto", | |
| 28 ] | |
| 29 } | |
| 30 proto_java_library("unittest_proto_java") { | |
| 31 proto_path = "//components/cast_certificate/proto" | |
| 32 | |
| 33 sources = [ | |
| 34 "test_suite.proto", | |
| 35 ] | |
| 36 } | |
| 37 } | |
| OLD | NEW |