| 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': [ |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 'AdditionalDependencies': [ 'dart.lib' ], | 27 'AdditionalDependencies': [ 'dart.lib' ], |
| 28 'AdditionalLibraryDirectories': [ '<(PRODUCT_DIR)' ], | 28 'AdditionalLibraryDirectories': [ '<(PRODUCT_DIR)' ], |
| 29 }, | 29 }, |
| 30 }, | 30 }, |
| 31 }], | 31 }], |
| 32 ['OS=="mac"', { | 32 ['OS=="mac"', { |
| 33 'xcode_settings': { | 33 'xcode_settings': { |
| 34 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], | 34 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], |
| 35 }, | 35 }, |
| 36 }], | 36 }], |
| 37 ['OS=="linux"', { |
| 38 'cflags': [ |
| 39 '-fPIC', |
| 40 ], |
| 41 }], |
| 37 ], | 42 ], |
| 38 }, | 43 }, |
| 39 ], | 44 ], |
| 40 } | 45 } |
| OLD | NEW |