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

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

Issue 11419237: Shared library for embedding VM in Android apps. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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 | « samples/android_embedder/support_android.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 22 matching lines...) Expand all
33 'android_build_type%': '<(android_build_type)', 33 'android_build_type%': '<(android_build_type)',
34 34
35 'OS': 'android', 35 'OS': 'android',
36 'android_target_arch' : 'x86', 36 'android_target_arch' : 'x86',
37 }, # variables 37 }, # variables
38 'target_defaults': { 38 'target_defaults': {
39 'defines': [ 39 'defines': [
40 'ANDROID', 40 'ANDROID',
41 ], 41 ],
42 'configurations': { 42 'configurations': {
43 'Release': { 43 'Dart_Debug': {
44 'defines': [
45 'DEBUG',
46 ],
47 },
48 'Dart_Release': {
49 'defines': [
50 'NDEBUG',
51 ],
44 'cflags!': [ 52 'cflags!': [
45 '-O2', 53 '-O2',
46 '-Os', 54 '-Os',
47 ], 55 ],
48 'cflags': [ 56 'cflags': [
49 '-fdata-sections', 57 '-fdata-sections',
50 '-ffunction-sections', 58 '-ffunction-sections',
51 '-fomit-frame-pointer', 59 '-fomit-frame-pointer',
52 '-O3', 60 '-O3',
53 ], 61 ],
54 }, # Release 62 },
55 }, # configurations 63 }, # configurations
56 'cflags': [ '-Wno-abi', '-Wall', '-W', '-Wno-unused-parameter', 64 'cflags': [ '-Wno-abi', '-Wall', '-W', '-Wno-unused-parameter',
57 '-Wnon-virtual-dtor', '-fno-rtti', '-fno-exceptions', ], 65 '-Wnon-virtual-dtor', '-fno-rtti', '-fno-exceptions', ],
58 'target_conditions': [ 66 'target_conditions': [
59 ['_toolset=="target"', { 67 ['_toolset=="target"', {
60 'cflags!': [ 68 'cflags!': [
61 '-pthread', # Not supported by Android toolchain. 69 '-pthread', # Not supported by Android toolchain.
62 ], 70 ],
63 'cflags': [ 71 'cflags': [
64 '-U__linux__', # Don't allow toolchain to claim -D__linux__ 72 '-U__linux__', # Don't allow toolchain to claim -D__linux__
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 'ldflags!': [ 203 'ldflags!': [
196 '-Wl,-z,noexecstack', 204 '-Wl,-z,noexecstack',
197 '-Wl,--gc-sections', 205 '-Wl,--gc-sections',
198 '-Wl,-O1', 206 '-Wl,-O1',
199 '-Wl,--as-needed', 207 '-Wl,--as-needed',
200 ], 208 ],
201 }], 209 }],
202 ], # target_conditions 210 ], # target_conditions
203 }, # target_defaults 211 }, # target_defaults
204 } 212 }
OLDNEW
« no previous file with comments | « samples/android_embedder/support_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698