Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Side by Side Diff: test/unittests/unittests.gyp

Issue 1016603004: Re-work the 'external snapshot' related build rules. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Formatting & remove switching the default. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/cctest/cctest.gyp ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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': [
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 ], 121 ],
122 }], 122 }],
123 ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { 123 ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', {
124 'sources': [ ### gcmole(arch:ppc) ### 124 'sources': [ ### gcmole(arch:ppc) ###
125 'compiler/ppc/instruction-selector-ppc-unittest.cc', 125 'compiler/ppc/instruction-selector-ppc-unittest.cc',
126 ], 126 ],
127 }], 127 }],
128 ['component=="shared_library"', { 128 ['component=="shared_library"', {
129 # compiler-unittests can't be built against a shared library, so we 129 # compiler-unittests can't be built against a shared library, so we
130 # need to depend on the underlying static target in that case. 130 # need to depend on the underlying static target in that case.
131 'conditions': [ 131 'dependencies': ['../../tools/gyp/v8.gyp:v8_maybe_snapshot'],
132 ['v8_use_snapshot=="true" and v8_use_external_startup_data==0', {
133 'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'],
134 }],
135 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', {
136 'dependencies': ['../../tools/gyp/v8.gyp:v8_external_snapshot'],
137 }],
138 ['v8_use_snapshot!="true"', {
139 'dependencies': ['../../tools/gyp/v8.gyp:v8_nosnapshot'],
140 }],
141 ],
142 }, { 132 }, {
143 'dependencies': ['../../tools/gyp/v8.gyp:v8'], 133 'dependencies': ['../../tools/gyp/v8.gyp:v8'],
144 }], 134 }],
145 ['os_posix == 1', { 135 ['os_posix == 1', {
146 # TODO(svenpanne): This is a temporary work-around to fix the warnings 136 # TODO(svenpanne): This is a temporary work-around to fix the warnings
147 # that show up because we use -std=gnu++0x instead of -std=c++11. 137 # that show up because we use -std=gnu++0x instead of -std=c++11.
148 'cflags!': [ 138 'cflags!': [
149 '-pedantic', 139 '-pedantic',
150 ], 140 ],
151 'direct_dependent_settings': { 141 'direct_dependent_settings': {
152 'cflags!': [ 142 'cflags!': [
153 '-pedantic', 143 '-pedantic',
154 ], 144 ],
155 }, 145 },
156 }], 146 }],
157 ], 147 ],
158 }, 148 },
159 ], 149 ],
160 } 150 }
OLDNEW
« no previous file with comments | « test/cctest/cctest.gyp ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698