Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 }, | |
|
Bill Hesse
2012/05/08 11:17:01
Remove the variables section.
Mads Ager (google)
2012/05/08 11:23:30
Please do. :)
| |
| 8 'targets': [ | |
| 9 { | |
| 10 'target_name': 'sample_extension', | |
| 11 'type': 'shared_library', | |
| 12 'dependencies': [ | |
| 13 'dart', | |
| 14 ], | |
| 15 'include_dirs': [ | |
| 16 '../../runtime/include', | |
| 17 ], | |
| 18 'sources': [ | |
| 19 'sample_extension.cc', | |
| 20 'sample_extension_dllmain_win.cc', | |
| 21 ], | |
| 22 'defines': [ | |
| 23 'DART_SHARED_LIB', | |
| 24 ], | |
| 25 'conditions': [ | |
| 26 ['OS=="win"', { | |
| 27 'msvs_settings': { | |
| 28 'VCLinkerTool': { | |
| 29 'AdditionalDependencies': [ 'dart.lib' ], | |
| 30 'AdditionalLibraryDirectories': [ '<(PRODUCT_DIR)' ], | |
| 31 }, | |
| 32 }, | |
| 33 }], | |
| 34 ['OS=="mac"', { | |
| 35 'xcode_settings': { | |
| 36 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], | |
| 37 }, | |
| 38 }], | |
| 39 ], | |
| 40 }, | |
| 41 ], | |
| 42 } | |
| 43 | |
| OLD | NEW |