Commit 5c488598 authored by Mohamed Heikal's avatar Mohamed Heikal Committed by Commit Bot

Add protoc javalite plugin to third_party/

New versions of protoc require a java lite plugin to generate lite
protos. That will be added to the checkout inside
third_party/protoc_javalite using cipd.

Bug: 782237
Change-Id: I808b0acc14832c80e5efc4baacffb3323bc98653
Reviewed-on: https://chromium-review.googlesource.com/c/1338207
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
Reviewed-by: default avatarGrace Kloba <klobag@chromium.org>
Reviewed-by: default avatarPeter Wen <wnwen@chromium.org>
Reviewed-by: default avatarOliver Chang <ochang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610975}
parent 97437111
......@@ -1026,6 +1026,17 @@ deps = {
'dep_type': 'cipd',
},
'src/third_party/protoc_javalite': {
'packages': [
{
'package': 'chromium/third_party/protoc_javalite',
'version': 'version:3.0.0-cr1',
},
],
'condition': 'checkout_android',
'dep_type': 'cipd',
},
# Dependency of chromite.git and skia.
'src/third_party/pyelftools': {
'url': Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + '19b3e610c86fcadb837d252c794cb5e8008826ae',
......
......@@ -173,6 +173,7 @@
/perl
/ppapi
/proguard/lib/
/protoc_javalite/protoc-gen-javalite
/psyco_win32
/pthreads-win32
/py_trace_event/src
......
mheikal@chromium.org
jkrcal@chromium.org
Name: protoc Java Lite Runtime plugin
Short Name: protoc-gen-javalite
URL: https://repo1.maven.org/maven2/com/google/protobuf/protoc-gen-javalite/${Version}/protoc-gen-javalite-${Version}-linux-x86_32.exe
Version: 3.0.0
License: BSD
License File: NOT_SHIPPED
Security Critical: No
Description:
This is the protoc plugin for java lite runtime. This is required to compile
lite java protos to be used on Android. This is distributed using maven however
it is a compiled executable that needs to be manually downloaded and renamed.
Local Modifications:
No modifications except the name of the executable has to be
"protoc-gen-javalite".
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# To create CIPD package run the following command.
# cipd create --pkg-def cipd.yaml -tag version:3.0.0-cr1
# (note: -cr1 is only because -cr0 had a bad directory structure; no actual
# modifications performed.)
package: chromium/third_party/protoc_javalite
description: protoc plugin for java lite runtime
data:
- file: protoc-gen-javalite
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment