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

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
« no previous file with comments | « runtime/tools/gyp/runtime-configurations.gypi ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': [
12 '-Wno-abi',
13 '-Wall',
14 '-W',
15 '-Wno-unused-parameter',
16 '-Wnon-virtual-dtor',
17 '-fno-rtti',
18 '-fno-exceptions',
19 ],
20 'target_conditions': [
21 ['_toolset=="target"', {
22 'cflags!': [
23 '-pthread', # Not supported by Android toolchain.
24 ],
25 'cflags': [
26 '-U__linux__', # Don't allow toolchain to claim -D__linux__
27 '-ffunction-sections',
28 '-funwind-tables',
29 '-fstack-protector',
30 '-fno-short-enums',
31 '-finline-limit=64',
32 '-Wa,--noexecstack',
33 ],
34 'defines': [
35 'ANDROID',
36 'USE_STLPORT=1',
37 '_STLP_USE_PTR_SPECIALIZATIONS=1',
38 '_STLP_NO_CSTD_FUNCTION_IMPORTS=1',
39 'HAVE_OFF64_T',
40 'HAVE_SYS_UIO_H',
41 ],
42 'ldflags!': [
43 '-pthread', # Not supported by Android toolchain.
44 ],
45 'ldflags': [
46 '-nostdlib',
47 '-Wl,--no-undefined',
48 # Don't export symbols from statically linked libraries.
49 '-Wl,--exclude-libs=ALL',
50 ],
51 }], # _toolset=="target"
52 ], # target_conditions
53 }, # target_defaults
54 }
OLDNEW
« no previous file with comments | « runtime/tools/gyp/runtime-configurations.gypi ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698