Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: build/protoc_java.gypi

Issue 580343002: Add proto_java_library to gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: = Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/android/rules.gni ('k') | build/protoc_java.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # This file is meant to be included into a target to provide a rule 5 # This file is meant to be included into a target to provide a rule
6 # to invoke protoc in a consistent manner. This is only to be included 6 # to invoke protoc in a consistent manner. This is only to be included
7 # for Java targets. When including this file, a .jar-file will be generated. 7 # for Java targets. When including this file, a .jar-file will be generated.
8 # For other targets, see protoc.gypi. 8 # For other targets, see protoc.gypi.
9 # 9 #
10 # To use this, create a gyp target with the following form: 10 # To use this, create a gyp target with the following form:
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 '<(script)', 58 '<(script)',
59 '<(protoc)', 59 '<(protoc)',
60 '<@(_sources)', 60 '<@(_sources)',
61 ], 61 ],
62 # We do not know the names of the generated files, so we use a stamp. 62 # We do not know the names of the generated files, so we use a stamp.
63 'outputs': [ 63 'outputs': [
64 '<(stamp_file)', 64 '<(stamp_file)',
65 ], 65 ],
66 'action': [ 66 'action': [
67 '<(script)', 67 '<(script)',
68 '<(protoc)', 68 '--protoc=<(protoc)',
69 '<(proto_in_dir)', 69 '--proto-path=<(proto_in_dir)',
70 '<(java_out_dir)', 70 '--java-out-dir=<(java_out_dir)',
71 '<(stamp_file)', 71 '--stamp=<(stamp_file)',
72 '<@(_sources)', 72 '<@(_sources)',
73 ], 73 ],
74 'message': 'Generating Java code from protobuf files in <(proto_in_dir)', 74 'message': 'Generating Java code from protobuf files in <(proto_in_dir)',
75 }, 75 },
76 ], 76 ],
77 'dependencies': [ 77 'dependencies': [
78 '<(DEPTH)/third_party/android_protobuf/android_protobuf.gyp:android_protoc#h ost', 78 '<(DEPTH)/third_party/android_protobuf/android_protobuf.gyp:android_protoc#h ost',
79 '<(DEPTH)/third_party/android_protobuf/android_protobuf.gyp:protobuf_nano_ja valib', 79 '<(DEPTH)/third_party/android_protobuf/android_protobuf.gyp:protobuf_nano_ja valib',
80 ], 80 ],
81 'includes': [ 'java.gypi' ], 81 'includes': [ 'java.gypi' ],
82 } 82 }
OLDNEW
« no previous file with comments | « build/config/android/rules.gni ('k') | build/protoc_java.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698