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

Side by Side Diff: runtime/tools/gyp/runtime_configurations_android.gypi

Issue 15023007: Fix Clank+Dart compilation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 7 years, 7 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
OLDNEW
(Empty)
1 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
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.
4
5 # Definitions for building Chrome with Dart on Android.
6 # This is mostly excerpted from:
7 # http://src.chromium.org/viewvc/chrome/trunk/src/build/common.gypi
8
9 {
10 'target_defaults': {
11 'cflags': [ '-Wno-abi', '-Wall', '-W', '-Wno-unused-parameter',
Ivan Posva 2013/05/08 09:27:35 One per line.
podivilov 2013/05/13 09:47:20 Done.
12 '-Wnon-virtual-dtor', '-fno-rtti', '-fno-exceptions', ],
13 'target_conditions': [
14 ['_toolset=="target"', {
15 'cflags!': [
16 '-pthread', # Not supported by Android toolchain.
17 ],
18 'cflags': [
19 '-U__linux__', # Don't allow toolchain to claim -D__linux__
20 '-ffunction-sections',
21 '-funwind-tables',
22 '-fstack-protector',
23 '-fno-short-enums',
24 '-finline-limit=64',
25 '-Wa,--noexecstack',
26 ],
27 'defines': [
28 'ANDROID',
29 'USE_STLPORT=1',
30 '_STLP_USE_PTR_SPECIALIZATIONS=1',
31 '_STLP_NO_CSTD_FUNCTION_IMPORTS=1',
32 'HAVE_OFF64_T',
33 'HAVE_SYS_UIO_H',
34 ],
35 'ldflags!': [
36 '-pthread', # Not supported by Android toolchain.
37 ],
38 'ldflags': [
39 '-nostdlib',
40 '-Wl,--no-undefined',
41 # Don't export symbols from statically linked libraries.
42 '-Wl,--exclude-libs=ALL',
43 ],
44 }], # _toolset=="target"
45 ], # target_conditions
46 }, # target_defaults
47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698