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

Side by Side Diff: tools/gyp/configurations_android.gypi

Issue 10968027: Fix Android build breaks (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove unused #include. Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « runtime/platform/assert.cc ('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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 # Definitions for building standalone Dart binaries to run on Android. 5 # Definitions for building standalone Dart binaries to run on Android.
6 # This is mostly excerpted from: 6 # This is mostly excerpted from:
7 # http://src.chromium.org/viewvc/chrome/trunk/src/build/common.gypi 7 # http://src.chromium.org/viewvc/chrome/trunk/src/build/common.gypi
8 8
9 { 9 {
10 'variables': { 10 'variables': {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 '-finline-limit=64', 69 '-finline-limit=64',
70 '-Wa,--noexecstack', 70 '-Wa,--noexecstack',
71 # Note: This include is in cflags to ensure that it comes after 71 # Note: This include is in cflags to ensure that it comes after
72 # all of the includes. 72 # all of the includes.
73 '-I<(android_ndk_include)', 73 '-I<(android_ndk_include)',
74 ], 74 ],
75 'defines': [ 75 'defines': [
76 'ANDROID', 76 'ANDROID',
77 'USE_STLPORT=1', 77 'USE_STLPORT=1',
78 '_STLP_USE_PTR_SPECIALIZATIONS=1', 78 '_STLP_USE_PTR_SPECIALIZATIONS=1',
79 '_STLP_NO_CSTD_FUNCTION_IMPORTS=1',
79 'HAVE_OFF64_T', 80 'HAVE_OFF64_T',
80 'HAVE_SYS_UIO_H', 81 'HAVE_SYS_UIO_H',
81 ], 82 ],
82 'ldflags!': [ 83 'ldflags!': [
83 '-pthread', # Not supported by Android toolchain. 84 '-pthread', # Not supported by Android toolchain.
84 ], 85 ],
85 'ldflags': [ 86 'ldflags': [
86 '-nostdlib', 87 '-nostdlib',
87 '-Wl,--no-undefined', 88 '-Wl,--no-undefined',
88 # Don't export symbols from statically linked libraries. 89 # Don't export symbols from statically linked libraries.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 'ldflags!': [ 195 'ldflags!': [
195 '-Wl,-z,noexecstack', 196 '-Wl,-z,noexecstack',
196 '-Wl,--gc-sections', 197 '-Wl,--gc-sections',
197 '-Wl,-O1', 198 '-Wl,-O1',
198 '-Wl,--as-needed', 199 '-Wl,--as-needed',
199 ], 200 ],
200 }], 201 }],
201 ], # target_conditions 202 ], # target_conditions
202 }, # target_defaults 203 }, # target_defaults
203 } 204 }
OLDNEW
« no previous file with comments | « runtime/platform/assert.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698