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

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

Issue 1663863002: Add product mode: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Reworked the flags setting: Moving to single file for all flag defintions. Created 4 years, 10 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 | « tools/build.py ('k') | tools/gyp/configurations.gypi » ('j') | 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 # A set of variables needed to build some of the Chrome based subparts of the 5 # A set of variables needed to build some of the Chrome based subparts of the
6 # Dart project. This is in no way a complete list of variables being defined 6 # Dart project. This is in no way a complete list of variables being defined
7 # by Chrome, but just the minimally needed subset. 7 # by Chrome, but just the minimally needed subset.
8 { 8 {
9 'variables': { 9 'variables': {
10 'library': 'static_library', 10 'library': 'static_library',
11 'component': 'static_library', 11 'component': 'static_library',
12 'target_arch': 'ia32', 12 'target_arch': 'ia32',
13 # Flag that tells us whether to build native support for dart:io. 13 # Flag that tells us whether to build native support for dart:io.
14 'dart_io_support': 1, 14 'dart_io_support': 1,
15 # Flag controls whether or not frame pointers are enabled.
16 'c_frame_pointers%': 1,
17 }, 15 },
18 'conditions': [ 16 'conditions': [
19 [ 'OS=="linux"', { 17 [ 'OS=="linux"', {
20 'target_defaults': { 18 'target_defaults': {
21 'ldflags': [ '-pthread', ], 19 'ldflags': [ '-pthread', ],
22 }, 20 },
23 }], 21 }],
24 [ 'OS=="win"', { 22 [ 'OS=="win"', {
25 'target_defaults': { 23 'target_defaults': {
26 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], 24 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'],
27 }, 25 },
28 'includes': [ 26 'includes': [
29 'msvs.gypi', 27 'msvs.gypi',
30 ], 28 ],
31 }], 29 }],
32 [ 'OS=="mac"', { 30 [ 'OS=="mac"', {
33 'includes': [ 31 'includes': [
34 'xcode.gypi', 32 'xcode.gypi',
35 ], 33 ],
36 }], 34 }],
37 ], 35 ],
38 'includes': [ 36 'includes': [
39 'configurations.gypi', 37 'configurations.gypi',
40 ], 38 ],
41 } 39 }
OLDNEW
« no previous file with comments | « tools/build.py ('k') | tools/gyp/configurations.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698