OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 ['OS=="android"', { | 7 ['OS=="android"', { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'protobuf_nano_javalib', | 10 'target_name': 'protobuf_nano_javalib', |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 'src/src/google/protobuf/stubs/strutil.cc', | 121 'src/src/google/protobuf/stubs/strutil.cc', |
122 'src/src/google/protobuf/stubs/substitute.cc', | 122 'src/src/google/protobuf/stubs/substitute.cc', |
123 ], | 123 ], |
124 'include_dirs': [ | 124 'include_dirs': [ |
125 'src/android', | 125 'src/android', |
126 'src/src', | 126 'src/src', |
127 ], | 127 ], |
128 'cflags': [ | 128 'cflags': [ |
129 '-Wno-null-conversion', | 129 '-Wno-null-conversion', |
130 '-Wno-tautological-undefined-compare', | 130 '-Wno-tautological-undefined-compare', |
| 131 '-Wno-unused-function', |
| 132 '-Wno-unused-local-typedef', |
131 ], | 133 ], |
132 'defines': [ | 134 'defines': [ |
133 # This macro must be defined to suppress the use | 135 # This macro must be defined to suppress the use |
134 # of dynamic_cast<>, which requires RTTI. | 136 # of dynamic_cast<>, which requires RTTI. |
135 'GOOGLE_PROTOBUF_NO_RTTI', | 137 'GOOGLE_PROTOBUF_NO_RTTI', |
136 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER', | 138 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER', |
137 ], | 139 ], |
138 'dependencies': [ | 140 'dependencies': [ |
139 '../zlib/zlib.gyp:zlib', | 141 '../zlib/zlib.gyp:zlib', |
140 ], | 142 ], |
141 }, | 143 }, |
142 ], | 144 ], |
143 }], | 145 }], |
144 ], | 146 ], |
145 } | 147 } |
OLD | NEW |