| OLD | NEW |
| 1 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 # Copyright (c) 2015, the Dartino 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.md file. | 3 # BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'target_defaults': { | 6 'target_defaults': { |
| 7 'include_dirs': [ | 7 'include_dirs': [ |
| 8 '../../', | 8 '../../', |
| 9 ], | 9 ], |
| 10 }, | 10 }, |
| 11 'targets': [ | 11 'targets': [ |
| 12 { | 12 { |
| 13 'target_name': 'fletch_shared', | 13 'target_name': 'dartino_shared', |
| 14 'type': 'static_library', | 14 'type': 'static_library', |
| 15 'toolsets': ['target', 'host'], | 15 'toolsets': ['target', 'host'], |
| 16 'conditions': [ | 16 'conditions': [ |
| 17 ['OS=="win"', { | 17 ['OS=="win"', { |
| 18 'all_dependent_settings': { | 18 'all_dependent_settings': { |
| 19 'link_settings': { | 19 'link_settings': { |
| 20 'libraries': [ | 20 'libraries': [ |
| 21 '-lws2_32.lib', | 21 '-lws2_32.lib', |
| 22 ], | 22 ], |
| 23 }, | 23 }, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 35 'asan_helper.h', | 35 'asan_helper.h', |
| 36 'assert.cc', | 36 'assert.cc', |
| 37 'assert.h', | 37 'assert.h', |
| 38 'atomic.h', | 38 'atomic.h', |
| 39 'bytecodes.cc', | 39 'bytecodes.cc', |
| 40 'bytecodes.h', | 40 'bytecodes.h', |
| 41 'connection.cc', | 41 'connection.cc', |
| 42 'connection.h', | 42 'connection.h', |
| 43 'flags.cc', | 43 'flags.cc', |
| 44 'flags.h', | 44 'flags.h', |
| 45 'fletch.h', | 45 'dartino.h', |
| 46 'globals.h', | 46 'globals.h', |
| 47 'list.h', | 47 'list.h', |
| 48 'names.h', | 48 'names.h', |
| 49 'native_socket.h', | 49 'native_socket.h', |
| 50 'native_socket_linux.cc', | 50 'native_socket_linux.cc', |
| 51 'native_socket_lk.cc', | 51 'native_socket_lk.cc', |
| 52 'native_socket_macos.cc', | 52 'native_socket_macos.cc', |
| 53 'native_socket_posix.cc', | 53 'native_socket_posix.cc', |
| 54 'native_socket_windows.cc', | 54 'native_socket_windows.cc', |
| 55 'natives.h', | 55 'natives.h', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 70 'utils.h', | 70 'utils.h', |
| 71 'version.h', | 71 'version.h', |
| 72 | 72 |
| 73 '<(SHARED_INTERMEDIATE_DIR)/version.cc', | 73 '<(SHARED_INTERMEDIATE_DIR)/version.cc', |
| 74 ], | 74 ], |
| 75 }, | 75 }, |
| 76 { | 76 { |
| 77 'target_name': 'cc_test_base', | 77 'target_name': 'cc_test_base', |
| 78 'type': 'static_library', | 78 'type': 'static_library', |
| 79 'dependencies': [ | 79 'dependencies': [ |
| 80 'fletch_shared', | 80 'dartino_shared', |
| 81 ], | 81 ], |
| 82 'sources': [ | 82 'sources': [ |
| 83 'test_case.h', | 83 'test_case.h', |
| 84 'test_case.cc', | 84 'test_case.cc', |
| 85 'test_main.cc', | 85 'test_main.cc', |
| 86 ], | 86 ], |
| 87 }, | 87 }, |
| 88 { | 88 { |
| 89 'target_name': 'shared_cc_tests', | 89 'target_name': 'shared_cc_tests', |
| 90 'type': 'executable', | 90 'type': 'executable', |
| 91 'dependencies': [ | 91 'dependencies': [ |
| 92 'cc_test_base', | 92 'cc_test_base', |
| 93 ], | 93 ], |
| 94 'defines': [ | 94 'defines': [ |
| 95 'TESTING', | 95 'TESTING', |
| 96 ], | 96 ], |
| 97 'sources': [ | 97 'sources': [ |
| 98 'assert_test.cc', | 98 'assert_test.cc', |
| 99 'flags_test.cc', | 99 'flags_test.cc', |
| 100 'globals_test.cc', | 100 'globals_test.cc', |
| 101 'random_test.cc', | 101 'random_test.cc', |
| 102 'utils_test.cc', | 102 'utils_test.cc', |
| 103 'fletch.cc', | 103 'dartino.cc', |
| 104 ], | 104 ], |
| 105 }, | 105 }, |
| 106 { | 106 { |
| 107 'target_name': 'natives_to_json', | 107 'target_name': 'natives_to_json', |
| 108 'type': 'executable', | 108 'type': 'executable', |
| 109 'toolsets': ['host'], | 109 'toolsets': ['host'], |
| 110 'dependencies': [ | 110 'dependencies': [ |
| 111 'fletch_shared', | 111 'dartino_shared', |
| 112 ], | 112 ], |
| 113 'sources': [ | 113 'sources': [ |
| 114 'natives_to_json.cc', | 114 'natives_to_json.cc', |
| 115 ], | 115 ], |
| 116 'conditions': [ | 116 'conditions': [ |
| 117 [ 'OS=="mac"', { | 117 [ 'OS=="mac"', { |
| 118 'dependencies': [ | 118 'dependencies': [ |
| 119 'copy_asan#host', | 119 'copy_asan#host', |
| 120 ], | 120 ], |
| 121 'sources': [ | 121 'sources': [ |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 '../../third_party/clang/mac/lib/clang/3.8.0/' | 167 '../../third_party/clang/mac/lib/clang/3.8.0/' |
| 168 'lib/darwin/libclang_rt.asan_osx_dynamic.dylib', | 168 'lib/darwin/libclang_rt.asan_osx_dynamic.dylib', |
| 169 ], | 169 ], |
| 170 }, | 170 }, |
| 171 ], | 171 ], |
| 172 }, | 172 }, |
| 173 ] | 173 ] |
| 174 }] | 174 }] |
| 175 ], | 175 ], |
| 176 } | 176 } |
| OLD | NEW |