| OLD | NEW |
| 1 # Copyright 2014 the V8 project authors. All rights reserved. | 1 # Copyright 2014 the V8 project authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'v8_code': 1, | 7 'v8_code': 1, |
| 8 }, | 8 }, |
| 9 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], | 9 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], |
| 10 'targets': [ | 10 'targets': [ |
| 11 { | 11 { |
| 12 'target_name': 'unittests', | 12 'target_name': 'unittests', |
| 13 'type': 'executable', | 13 'type': 'executable', |
| 14 'variables': { | 14 'variables': { |
| 15 'optimize': 'max', | 15 'optimize': 'max', |
| 16 }, | 16 }, |
| 17 'dependencies': [ | 17 'dependencies': [ |
| 18 '../../testing/gmock.gyp:gmock', | 18 '../../testing/gmock.gyp:gmock', |
| 19 '../../testing/gtest.gyp:gtest', | 19 '../../testing/gtest.gyp:gtest', |
| 20 '../../tools/gyp/v8.gyp:v8_libplatform', | 20 '../../src/v8.gyp:v8_libplatform', |
| 21 ], | 21 ], |
| 22 'include_dirs': [ | 22 'include_dirs': [ |
| 23 '../..', | 23 '../..', |
| 24 ], | 24 ], |
| 25 'sources': [ ### gcmole(all) ### | 25 'sources': [ ### gcmole(all) ### |
| 26 'atomic-utils-unittest.cc', | 26 'atomic-utils-unittest.cc', |
| 27 'base/bits-unittest.cc', | 27 'base/bits-unittest.cc', |
| 28 'base/cpu-unittest.cc', | 28 'base/cpu-unittest.cc', |
| 29 'base/division-by-constant-unittest.cc', | 29 'base/division-by-constant-unittest.cc', |
| 30 'base/flags-unittest.cc', | 30 'base/flags-unittest.cc', |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 'sources': [ ### gcmole(arch:s390) ### | 175 'sources': [ ### gcmole(arch:s390) ### |
| 176 'compiler/s390/instruction-selector-s390-unittest.cc', | 176 'compiler/s390/instruction-selector-s390-unittest.cc', |
| 177 ], | 177 ], |
| 178 }], | 178 }], |
| 179 ['OS=="aix"', { | 179 ['OS=="aix"', { |
| 180 'ldflags': [ '-Wl,-bbigtoc' ], | 180 'ldflags': [ '-Wl,-bbigtoc' ], |
| 181 }], | 181 }], |
| 182 ['component=="shared_library"', { | 182 ['component=="shared_library"', { |
| 183 # compiler-unittests can't be built against a shared library, so we | 183 # compiler-unittests can't be built against a shared library, so we |
| 184 # need to depend on the underlying static target in that case. | 184 # need to depend on the underlying static target in that case. |
| 185 'dependencies': ['../../tools/gyp/v8.gyp:v8_maybe_snapshot'], | 185 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], |
| 186 }, { | 186 }, { |
| 187 'dependencies': ['../../tools/gyp/v8.gyp:v8'], | 187 'dependencies': ['../../src/v8.gyp:v8'], |
| 188 }], | 188 }], |
| 189 ['os_posix == 1', { | 189 ['os_posix == 1', { |
| 190 # TODO(svenpanne): This is a temporary work-around to fix the warnings | 190 # TODO(svenpanne): This is a temporary work-around to fix the warnings |
| 191 # that show up because we use -std=gnu++0x instead of -std=c++11. | 191 # that show up because we use -std=gnu++0x instead of -std=c++11. |
| 192 'cflags!': [ | 192 'cflags!': [ |
| 193 '-pedantic', | 193 '-pedantic', |
| 194 ], | 194 ], |
| 195 'direct_dependent_settings': { | 195 'direct_dependent_settings': { |
| 196 'cflags!': [ | 196 'cflags!': [ |
| 197 '-pedantic', | 197 '-pedantic', |
| (...skipping 16 matching lines...) Expand all Loading... |
| 214 '../../build/isolate.gypi', | 214 '../../build/isolate.gypi', |
| 215 ], | 215 ], |
| 216 'sources': [ | 216 'sources': [ |
| 217 'unittests.isolate', | 217 'unittests.isolate', |
| 218 ], | 218 ], |
| 219 }, | 219 }, |
| 220 ], | 220 ], |
| 221 }], | 221 }], |
| 222 ], | 222 ], |
| 223 } | 223 } |
| OLD | NEW |