OLD | NEW |
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': [ | 10 'dependencies': [ |
11 '../../runtime/dart-runtime.gyp:dart', | 11 '../../runtime/dart-runtime.gyp:dart', |
12 ], | 12 ], |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 '../../runtime/include', | 14 '../../runtime', |
15 ], | 15 ], |
16 'sources': [ | 16 'sources': [ |
17 'sample_extension.cc', | 17 'sample_extension.cc', |
18 'sample_extension_dllmain_win.cc', | 18 'sample_extension_dllmain_win.cc', |
19 ], | 19 ], |
20 'defines': [ | 20 'defines': [ |
21 'DART_SHARED_LIB', | 21 'DART_SHARED_LIB', |
22 ], | 22 ], |
23 'conditions': [ | 23 'conditions': [ |
24 ['OS=="win"', { | 24 ['OS=="win"', { |
(...skipping 11 matching lines...) Expand all Loading... |
36 }], | 36 }], |
37 ['OS=="linux"', { | 37 ['OS=="linux"', { |
38 'cflags': [ | 38 'cflags': [ |
39 '-fPIC', | 39 '-fPIC', |
40 ], | 40 ], |
41 }], | 41 }], |
42 ], | 42 ], |
43 }, | 43 }, |
44 ], | 44 ], |
45 } | 45 } |
OLD | NEW |