| OLD | NEW |
| 1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 { | 28 { |
| 29 'includes': ['../../build/common.gypi'], | 29 'includes': ['../../build/common.gypi'], |
| 30 'variables': { | 30 'variables': { |
| 31 'generated_file': '<(SHARED_INTERMEDIATE_DIR)/resources.cc', | 31 'generated_file': '<(SHARED_INTERMEDIATE_DIR)/resources.cc', |
| 32 }, | 32 }, |
| 33 'targets': [ | 33 'targets': [ |
| 34 { | 34 { |
| 35 'target_name': 'cctest', | 35 'target_name': 'cctest', |
| 36 'type': 'executable', | 36 'type': 'executable', |
| 37 'dependencies': [ | 37 'dependencies': [ |
| 38 '../../tools/gyp/v8.gyp:v8', | |
| 39 'resources', | 38 'resources', |
| 40 ], | 39 ], |
| 41 'include_dirs': [ | 40 'include_dirs': [ |
| 42 '../../src', | 41 '../../src', |
| 43 ], | 42 ], |
| 44 'sources': [ | 43 'sources': [ |
| 45 '<(generated_file)', | 44 '<(generated_file)', |
| 46 'cctest.cc', | 45 'cctest.cc', |
| 47 'gay-fixed.cc', | 46 'gay-fixed.cc', |
| 48 'gay-precision.cc', | 47 'gay-precision.cc', |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 [ 'OS=="mac"', { | 128 [ 'OS=="mac"', { |
| 130 'sources': [ | 129 'sources': [ |
| 131 'test-platform-macos.cc', | 130 'test-platform-macos.cc', |
| 132 ], | 131 ], |
| 133 }], | 132 }], |
| 134 [ 'OS=="win"', { | 133 [ 'OS=="win"', { |
| 135 'sources': [ | 134 'sources': [ |
| 136 'test-platform-win32.cc', | 135 'test-platform-win32.cc', |
| 137 ], | 136 ], |
| 138 }], | 137 }], |
| 138 ['component=="shared_library"', { |
| 139 # cctest can't be built against a shared library, so we need to |
| 140 # depend on the underlying static target in that case. |
| 141 'conditions': [ |
| 142 ['v8_use_snapshot=="true"', { |
| 143 'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'], |
| 144 }, |
| 145 { |
| 146 'dependencies': ['../../tools/gyp/v8.gyp:v8_nosnapshot'], |
| 147 }], |
| 148 ], |
| 149 }, { |
| 150 'dependencies': ['../../tools/gyp/v8.gyp:v8'], |
| 151 }], |
| 139 ], | 152 ], |
| 140 }, | 153 }, |
| 141 { | 154 { |
| 142 'target_name': 'resources', | 155 'target_name': 'resources', |
| 143 'type': 'none', | 156 'type': 'none', |
| 144 'variables': { | 157 'variables': { |
| 145 'file_list': [ | 158 'file_list': [ |
| 146 '../../tools/splaytree.js', | 159 '../../tools/splaytree.js', |
| 147 '../../tools/codemap.js', | 160 '../../tools/codemap.js', |
| 148 '../../tools/csvparser.js', | 161 '../../tools/csvparser.js', |
| (...skipping 20 matching lines...) Expand all Loading... |
| 169 '<@(_outputs)', | 182 '<@(_outputs)', |
| 170 'TEST', # type | 183 'TEST', # type |
| 171 'off', # compression | 184 'off', # compression |
| 172 '<@(file_list)', | 185 '<@(file_list)', |
| 173 ], | 186 ], |
| 174 } | 187 } |
| 175 ], | 188 ], |
| 176 }, | 189 }, |
| 177 ], | 190 ], |
| 178 } | 191 } |
| OLD | NEW |