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

Side by Side Diff: build/config/android/BUILD.gn

Issue 1617213003: Fix GN configuration for inclusion of unwinding tables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « 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 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/sysroot.gni") 7 import("//build/config/sysroot.gni")
8 8
9 assert(is_android) 9 assert(is_android)
10 10
11 # This is included by reference in the //build/config/compiler config that 11 # This is included by reference in the //build/config/compiler config that
12 # is applied to all targets. It is here to separate out the logic that is 12 # is applied to all targets. It is here to separate out the logic that is
13 # Android-only. 13 # Android-only.
14 config("compiler") { 14 config("compiler") {
15 cflags = [ 15 cflags = [
16 "-ffunction-sections", 16 "-ffunction-sections",
17 "-funwind-tables",
18 "-fno-short-enums", 17 "-fno-short-enums",
19 ] 18 ]
20 defines = [ 19 defines = [
21 "ANDROID", 20 "ANDROID",
22 21
23 # The NDK has these things, but doesn't define the constants to say that it 22 # The NDK has these things, but doesn't define the constants to say that it
24 # does. Define them here instead. 23 # does. Define them here instead.
25 "HAVE_SYS_UIO_H", 24 "HAVE_SYS_UIO_H",
26 ] 25 ]
27 ldflags = [] 26 ldflags = []
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 219
221 # Avoid errors with current NDK: 220 # Avoid errors with current NDK:
222 # "third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/preb uilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h:34 26:3: error: argument must be a constant" 221 # "third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/preb uilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h:34 26:3: error: argument must be a constant"
223 "-finstrument-functions-exclude-file-list=arm_neon.h", 222 "-finstrument-functions-exclude-file-list=arm_neon.h",
224 ] 223 ]
225 } 224 }
226 } 225 }
227 226
228 config("no_cygprofile_instrumentation") { 227 config("no_cygprofile_instrumentation") {
229 } 228 }
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