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

Side by Side Diff: third_party/android_protobuf/BUILD.gn

Issue 1582413008: GN(android) Fix build all with is_asan (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments & visibility Created 4 years, 10 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/sanitizers/BUILD.gn ('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
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",
11 "-Wno-unused-local-typedef", 11 "-Wno-unused-local-typedef",
12 ] 12 ]
13 } 13 }
14 14
15 # GYP: //third_party/android_protobuf/android_protobuf.gyp:android_protoc 15 # GYP: //third_party/android_protobuf/android_protobuf.gyp:android_protoc
16 executable("android_protoc") { 16 executable("android_protoc") {
17 configs -= [ "//build/config/compiler:chromium_code" ] 17 configs -= [
18 "//build/config/compiler:chromium_code",
19
20 # Does not compile with sanitizers.
21 "//build/config/sanitizers:default_sanitizer_flags",
22 "//build/config/sanitizers:default_sanitizer_coverage_flags",
23 ]
24
18 configs += [ 25 configs += [
19 "//build/config/compiler:no_chromium_code", 26 "//build/config/compiler:no_chromium_code",
20 27
21 # Must be after no_chromium_code so warning flags are ordered correctly. 28 # Must be after no_chromium_code so warning flags are ordered correctly.
22 ":android_protoc_warnings", 29 ":android_protoc_warnings",
23 ] 30 ]
24 31
25 deps = [ 32 deps = [
26 "//build/config/sanitizers:deps", 33 "//build/config/sanitizers:deps",
27 "//third_party/zlib", 34 "//third_party/zlib",
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 "src/java/src/main/java/com/google/protobuf/nano/FieldData.java", 158 "src/java/src/main/java/com/google/protobuf/nano/FieldData.java",
152 "src/java/src/main/java/com/google/protobuf/nano/InternalNano.java", 159 "src/java/src/main/java/com/google/protobuf/nano/InternalNano.java",
153 "src/java/src/main/java/com/google/protobuf/nano/InvalidProtocolBufferNano Exception.java", 160 "src/java/src/main/java/com/google/protobuf/nano/InvalidProtocolBufferNano Exception.java",
154 "src/java/src/main/java/com/google/protobuf/nano/MessageNano.java", 161 "src/java/src/main/java/com/google/protobuf/nano/MessageNano.java",
155 "src/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java", 162 "src/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java",
156 "src/java/src/main/java/com/google/protobuf/nano/UnknownFieldData.java", 163 "src/java/src/main/java/com/google/protobuf/nano/UnknownFieldData.java",
157 "src/java/src/main/java/com/google/protobuf/nano/WireFormatNano.java", 164 "src/java/src/main/java/com/google/protobuf/nano/WireFormatNano.java",
158 ] 165 ]
159 } 166 }
160 } 167 }
OLDNEW
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698