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 if (current_toolchain == host_toolchain) { | 5 if (current_toolchain == host_toolchain) { |
6 config("android_protoc_warnings") { | 6 config("android_protoc_warnings") { |
7 cflags = [ | 7 cflags = [ |
8 "-Wno-null-conversion", | 8 "-Wno-null-conversion", |
9 "-Wno-tautological-undefined-compare", | 9 "-Wno-tautological-undefined-compare", |
10 "-Wno-unused-function", | 10 "-Wno-unused-function", |
(...skipping 10 matching lines...) Expand all Loading... |
21 ] | 21 ] |
22 | 22 |
23 configs += [ | 23 configs += [ |
24 "//build/config/compiler:no_chromium_code", | 24 "//build/config/compiler:no_chromium_code", |
25 | 25 |
26 # Must be after no_chromium_code so warning flags are ordered correctly. | 26 # Must be after no_chromium_code so warning flags are ordered correctly. |
27 ":android_protoc_warnings", | 27 ":android_protoc_warnings", |
28 ] | 28 ] |
29 | 29 |
30 deps = [ | 30 deps = [ |
31 "//build/config/sanitizers:deps", | 31 "//build/config:exe_and_shlib_deps", |
32 "//third_party/zlib", | 32 "//third_party/zlib", |
33 ] | 33 ] |
34 | 34 |
35 sources = [ | 35 sources = [ |
36 "src/src/google/protobuf/compiler/code_generator.cc", | 36 "src/src/google/protobuf/compiler/code_generator.cc", |
37 "src/src/google/protobuf/compiler/command_line_interface.cc", | 37 "src/src/google/protobuf/compiler/command_line_interface.cc", |
38 "src/src/google/protobuf/compiler/cpp/cpp_enum.cc", | 38 "src/src/google/protobuf/compiler/cpp/cpp_enum.cc", |
39 "src/src/google/protobuf/compiler/cpp/cpp_enum_field.cc", | 39 "src/src/google/protobuf/compiler/cpp/cpp_enum_field.cc", |
40 "src/src/google/protobuf/compiler/cpp/cpp_extension.cc", | 40 "src/src/google/protobuf/compiler/cpp/cpp_extension.cc", |
41 "src/src/google/protobuf/compiler/cpp/cpp_field.cc", | 41 "src/src/google/protobuf/compiler/cpp/cpp_field.cc", |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 "src/java/src/main/java/com/google/protobuf/nano/FieldData.java", | 159 "src/java/src/main/java/com/google/protobuf/nano/FieldData.java", |
160 "src/java/src/main/java/com/google/protobuf/nano/InternalNano.java", | 160 "src/java/src/main/java/com/google/protobuf/nano/InternalNano.java", |
161 "src/java/src/main/java/com/google/protobuf/nano/InvalidProtocolBufferNano
Exception.java", | 161 "src/java/src/main/java/com/google/protobuf/nano/InvalidProtocolBufferNano
Exception.java", |
162 "src/java/src/main/java/com/google/protobuf/nano/MessageNano.java", | 162 "src/java/src/main/java/com/google/protobuf/nano/MessageNano.java", |
163 "src/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java", | 163 "src/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java", |
164 "src/java/src/main/java/com/google/protobuf/nano/UnknownFieldData.java", | 164 "src/java/src/main/java/com/google/protobuf/nano/UnknownFieldData.java", |
165 "src/java/src/main/java/com/google/protobuf/nano/WireFormatNano.java", | 165 "src/java/src/main/java/com/google/protobuf/nano/WireFormatNano.java", |
166 ] | 166 ] |
167 } | 167 } |
168 } | 168 } |
OLD | NEW |