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

Side by Side Diff: samples/sample_extension/sample_extension.gyp

Issue 11362103: Rotating spheres sample (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More cleanup 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/tools/build.py ('k') | tools/gyp/configurations_android.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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'sample_extension', 8 'target_name': 'sample_extension',
9 'type': 'shared_library', 9 'type': 'shared_library',
10 'dependencies': [
11 '../../runtime/dart-runtime.gyp:dart',
12 ],
13 'include_dirs': [ 10 'include_dirs': [
14 '../../runtime/include', 11 '../../runtime/include',
15 ], 12 ],
16 'sources': [ 13 'sources': [
17 'sample_extension.cc', 14 'sample_extension.cc',
18 'sample_extension_dllmain_win.cc', 15 'sample_extension_dllmain_win.cc',
19 ], 16 ],
20 'defines': [ 17 'defines': [
21 'DART_SHARED_LIB', 18 'DART_SHARED_LIB',
22 ], 19 ],
23 'conditions': [ 20 'conditions': [
21 ['OS=="android"',
22 {
23 'dependencies': [
24 '../../runtime/dart-runtime.gyp:dart_so',
25 ],
26 },
27 # else OS != "android"
28 {
29 'dependencies': [
30 '../../runtime/dart-runtime.gyp:dart',
31 ],
32 }
33 ],
24 ['OS=="win"', { 34 ['OS=="win"', {
25 'msvs_settings': { 35 'msvs_settings': {
26 'VCLinkerTool': { 36 'VCLinkerTool': {
27 'AdditionalDependencies': [ 'dart.lib' ], 37 'AdditionalDependencies': [ 'dart.lib' ],
28 'AdditionalLibraryDirectories': [ '<(PRODUCT_DIR)' ], 38 'AdditionalLibraryDirectories': [ '<(PRODUCT_DIR)' ],
29 }, 39 },
30 }, 40 },
31 }], 41 }],
32 ['OS=="mac"', { 42 ['OS=="mac"', {
33 'xcode_settings': { 43 'xcode_settings': {
34 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], 44 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ],
35 }, 45 },
36 }], 46 }],
37 ], 47 ],
38 }, 48 },
39 ], 49 ],
40 } 50 }
OLDNEW
« no previous file with comments | « samples/android/tools/build.py ('k') | tools/gyp/configurations_android.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698