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

Side by Side Diff: third_party/android_protobuf/android_protobuf.gyp

Issue 511283003: Add support for Java nano protocol buffers for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments from darin Created 6 years, 3 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 | « third_party/android_protobuf/README.chromium ('k') | 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
(Empty)
1 # Copyright 2014 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 {
6 'conditions': [
7 ['OS=="android"', {
8 'targets': [
9 {
10 'target_name': 'protobuf_nano_javalib',
11 'type' : 'none',
12 'variables': {
13 # Using empty dir and additionalk_src_dirs since the nano package
14 # does not have a src/ subfolder.
15 'java_in_dir': '../../build/android/empty',
16 'additional_src_dirs': [ 'src/java/src/main/java/com/google/protobuf /nano' ],
17 },
18 'includes': [ '../../build/java.gypi' ],
19 },
20 {
21 # This proto compiler supports the nano profile, but should only be us ed for Android.
22 'target_name': 'android_protoc',
23 'type': 'executable',
24 'variables': {
25 'chromium_code': 0,
26 },
27 'toolsets': [ 'host' ],
28 'sources': [
29 'src/src/google/protobuf/descriptor.cc',
30 'src/src/google/protobuf/descriptor.pb.cc',
31 'src/src/google/protobuf/descriptor_database.cc',
32 'src/src/google/protobuf/dynamic_message.cc',
33 'src/src/google/protobuf/extension_set.cc',
34 'src/src/google/protobuf/extension_set_heavy.cc',
35 'src/src/google/protobuf/generated_message_reflection.cc',
36 'src/src/google/protobuf/generated_message_util.cc',
37 'src/src/google/protobuf/message.cc',
38 'src/src/google/protobuf/message_lite.cc',
39 'src/src/google/protobuf/reflection_ops.cc',
40 'src/src/google/protobuf/repeated_field.cc',
41 'src/src/google/protobuf/service.cc',
42 'src/src/google/protobuf/text_format.cc',
43 'src/src/google/protobuf/unknown_field_set.cc',
44 'src/src/google/protobuf/wire_format.cc',
45 'src/src/google/protobuf/wire_format_lite.cc',
46 'src/src/google/protobuf/compiler/code_generator.cc',
47 'src/src/google/protobuf/compiler/command_line_interface.cc',
48 'src/src/google/protobuf/compiler/importer.cc',
49 'src/src/google/protobuf/compiler/main.cc',
50 'src/src/google/protobuf/compiler/parser.cc',
51 'src/src/google/protobuf/compiler/plugin.cc',
52 'src/src/google/protobuf/compiler/plugin.pb.cc',
53 'src/src/google/protobuf/compiler/subprocess.cc',
54 'src/src/google/protobuf/compiler/zip_writer.cc',
55 'src/src/google/protobuf/compiler/cpp/cpp_enum.cc',
56 'src/src/google/protobuf/compiler/cpp/cpp_enum_field.cc',
57 'src/src/google/protobuf/compiler/cpp/cpp_extension.cc',
58 'src/src/google/protobuf/compiler/cpp/cpp_field.cc',
59 'src/src/google/protobuf/compiler/cpp/cpp_file.cc',
60 'src/src/google/protobuf/compiler/cpp/cpp_generator.cc',
61 'src/src/google/protobuf/compiler/cpp/cpp_helpers.cc',
62 'src/src/google/protobuf/compiler/cpp/cpp_message.cc',
63 'src/src/google/protobuf/compiler/cpp/cpp_message_field.cc',
64 'src/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc',
65 'src/src/google/protobuf/compiler/cpp/cpp_service.cc',
66 'src/src/google/protobuf/compiler/cpp/cpp_string_field.cc',
67 'src/src/google/protobuf/compiler/java/java_enum.cc',
68 'src/src/google/protobuf/compiler/java/java_enum_field.cc',
69 'src/src/google/protobuf/compiler/java/java_extension.cc',
70 'src/src/google/protobuf/compiler/java/java_field.cc',
71 'src/src/google/protobuf/compiler/java/java_file.cc',
72 'src/src/google/protobuf/compiler/java/java_generator.cc',
73 'src/src/google/protobuf/compiler/java/java_helpers.cc',
74 'src/src/google/protobuf/compiler/java/java_message.cc',
75 'src/src/google/protobuf/compiler/java/java_message_field.cc',
76 'src/src/google/protobuf/compiler/java/java_primitive_field.cc',
77 'src/src/google/protobuf/compiler/java/java_service.cc',
78 'src/src/google/protobuf/compiler/javamicro/javamicro_enum.cc',
79 'src/src/google/protobuf/compiler/javamicro/javamicro_enum_field.cc' ,
80 'src/src/google/protobuf/compiler/javamicro/javamicro_field.cc',
81 'src/src/google/protobuf/compiler/javamicro/javamicro_file.cc',
82 'src/src/google/protobuf/compiler/javamicro/javamicro_generator.cc',
83 'src/src/google/protobuf/compiler/javamicro/javamicro_helpers.cc',
84 'src/src/google/protobuf/compiler/javamicro/javamicro_message.cc',
85 'src/src/google/protobuf/compiler/javamicro/javamicro_message_field. cc',
86 'src/src/google/protobuf/compiler/javamicro/javamicro_primitive_fiel d.cc',
87 'src/src/google/protobuf/compiler/javanano/javanano_enum.cc',
88 'src/src/google/protobuf/compiler/javanano/javanano_enum_field.cc',
89 'src/src/google/protobuf/compiler/javanano/javanano_extension.cc',
90 'src/src/google/protobuf/compiler/javanano/javanano_field.cc',
91 'src/src/google/protobuf/compiler/javanano/javanano_file.cc',
92 'src/src/google/protobuf/compiler/javanano/javanano_generator.cc',
93 'src/src/google/protobuf/compiler/javanano/javanano_helpers.cc',
94 'src/src/google/protobuf/compiler/javanano/javanano_message.cc',
95 'src/src/google/protobuf/compiler/javanano/javanano_message_field.cc ',
96 'src/src/google/protobuf/compiler/javanano/javanano_primitive_field. cc',
97 'src/src/google/protobuf/compiler/python/python_generator.cc',
98 'src/src/google/protobuf/io/coded_stream.cc',
99 'src/src/google/protobuf/io/gzip_stream.cc',
100 'src/src/google/protobuf/io/printer.cc',
101 'src/src/google/protobuf/io/tokenizer.cc',
102 'src/src/google/protobuf/io/zero_copy_stream.cc',
103 'src/src/google/protobuf/io/zero_copy_stream_impl.cc',
104 'src/src/google/protobuf/io/zero_copy_stream_impl_lite.cc',
105 'src/src/google/protobuf/stubs/common.cc',
106 'src/src/google/protobuf/stubs/hash.cc',
107 'src/src/google/protobuf/stubs/once.cc',
108 'src/src/google/protobuf/stubs/structurally_valid.cc',
109 'src/src/google/protobuf/stubs/strutil.cc',
110 'src/src/google/protobuf/stubs/substitute.cc',
111 ],
112 'include_dirs': [
113 'src/android',
114 'src/src',
115 ],
116 'conditions': [
117 ['clang==1', {
118 'cflags': [
119 '-Wno-null-conversion',
120 '-Wno-tautological-undefined-compare',
121 ],
122 }],
123 ],
124 'defines': [
125 # This macro must be defined to suppress the use
126 # of dynamic_cast<>, which requires RTTI.
127 'GOOGLE_PROTOBUF_NO_RTTI',
128 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER',
129 ],
130 'dependencies': [
131 '../zlib/zlib.gyp:zlib',
132 ],
133 },
134 ],
135 }],
136 ],
137 }
OLDNEW
« no previous file with comments | « third_party/android_protobuf/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698