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

Side by Side Diff: build/protoc_java.gypi

Issue 11413091: Fix protoc_java.gypi action dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 29 matching lines...) Expand all
40 'variables': { 40 'variables': {
41 'protoc': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', 41 'protoc': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)',
42 'java_out_dir': '<(PRODUCT_DIR)/java_proto/<(_target_name)/src', 42 'java_out_dir': '<(PRODUCT_DIR)/java_proto/<(_target_name)/src',
43 'proto_in_dir%': '.', 43 'proto_in_dir%': '.',
44 'stamp_file': '<(java_out_dir).stamp', 44 'stamp_file': '<(java_out_dir).stamp',
45 # Variables needed by java.gypi below. 45 # Variables needed by java.gypi below.
46 'package_name': '<(_target_name)', 46 'package_name': '<(_target_name)',
47 'java_in_dir': '<(DEPTH)/build/android/empty', 47 'java_in_dir': '<(DEPTH)/build/android/empty',
48 'script': '<(DEPTH)/build/protoc_java.py', 48 'script': '<(DEPTH)/build/protoc_java.py',
49 'generated_src_dirs': ['<(java_out_dir)'], 49 'generated_src_dirs': ['<(java_out_dir)'],
50 'additional_input_paths': ['<(stamp_file)'],
Yaron 2012/11/20 17:33:54 This is unused? Shouldn't it be in the "inputs" li
nyquist 2012/11/20 17:47:03 This adds a dependency on genproto_java for the ja
50 }, 51 },
51 'actions': [ 52 'actions': [
52 { 53 {
53 'action_name': 'genproto_java', 54 'action_name': 'genproto_java',
54 'inputs': [ 55 'inputs': [
55 '<(script)', 56 '<(script)',
56 '<(protoc)', 57 '<(protoc)',
57 '<@(_sources)', 58 '<@(_sources)',
58 ], 59 ],
59 # We do not know the names of the generated files, so we use a stamp. 60 # We do not know the names of the generated files, so we use a stamp.
(...skipping 10 matching lines...) Expand all
70 ], 71 ],
71 'message': 'Generating Java code from <(proto_in_dir)', 72 'message': 'Generating Java code from <(proto_in_dir)',
72 }, 73 },
73 ], 74 ],
74 'dependencies': [ 75 'dependencies': [
75 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protoc#host', 76 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protoc#host',
76 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite_javalib', 77 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite_javalib',
77 ], 78 ],
78 'includes': [ 'java.gypi' ], 79 'includes': [ 'java.gypi' ],
79 } 80 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698