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

Side by Side Diff: ppapi/ppapi_tests.gypi

Issue 8598010: replace platform conditions with os_posix and os_bsd where applicable (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 9 years, 1 month 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
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'ppapi_example', 8 'target_name': 'ppapi_example',
9 'dependencies': [ 9 'dependencies': [
10 'ppapi.gyp:ppapi_cpp' 10 'ppapi.gyp:ppapi_cpp'
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 'shared_impl/test_globals.h', 235 'shared_impl/test_globals.h',
236 ], 236 ],
237 }, 237 },
238 { 238 {
239 'target_name': 'ppapi_example_skeleton', 239 'target_name': 'ppapi_example_skeleton',
240 'suppress_wildcard': 1, 240 'suppress_wildcard': 1,
241 'type': 'none', 241 'type': 'none',
242 'direct_dependent_settings': { 242 'direct_dependent_settings': {
243 'product_name': '>(_target_name)', 243 'product_name': '>(_target_name)',
244 'conditions': [ 244 'conditions': [
245 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" or OS =="android"', { 245 ['os_posix==1 and OS!="mac"', {
246 'cflags': ['-fvisibility=hidden'], 246 'cflags': ['-fvisibility=hidden'],
247 'type': 'shared_library', 247 'type': 'shared_library',
248 # -gstabs, used in the official builds, causes an ICE. Simply remove 248 # -gstabs, used in the official builds, causes an ICE. Simply remove
249 # it. 249 # it.
250 'cflags!': ['-gstabs'], 250 'cflags!': ['-gstabs'],
251 }], 251 }],
252 ['OS=="win"', { 252 ['OS=="win"', {
253 'type': 'shared_library', 253 'type': 'shared_library',
254 }], 254 }],
255 ['OS=="mac"', { 255 ['OS=="mac"', {
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 # Var_deprecated fails in TestPassReference, and we probably won't 506 # Var_deprecated fails in TestPassReference, and we probably won't
507 # fix it. 507 # fix it.
508 #'tests/test_var_deprecated.cc' 508 #'tests/test_var_deprecated.cc'
509 ], 509 ],
510 }, 510 },
511 }, 511 },
512 ], 512 ],
513 }], 513 }],
514 ], 514 ],
515 } 515 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698