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

Side by Side Diff: gpu/demos/demos.gyp

Issue 3150006: Revert 55766 - Enable -fPIC by default on x64... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'conditions': [ 8 'conditions': [
9 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', { 9 # Pepper demos that are compiled as shared libraries need to be compiled
10 # with -fPIC flag. All static libraries that these demos depend on must
11 # also be compiled with -fPIC flag. Setting GYP_DEFINES="linux_fpic=1"
12 # compiles everything with -fPIC. Disable pepper demos on linux/x64
13 # unless linux_fpic is 1.
14 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm") and linux_fpi c!=1', {
15 'enable_pepper_demos%': 0,
16 }, {
10 'enable_pepper_demos%': 1, 17 'enable_pepper_demos%': 1,
11 }, {
12 'enable_pepper_demos%': 0,
13 }], 18 }],
14 ], 19 ],
15 }, 20 },
16 'targets': [ 21 'targets': [
17 { 22 {
18 'target_name': 'gpu_demo_framework', 23 'target_name': 'gpu_demo_framework',
19 'type': 'static_library', 24 'type': 'static_library',
20 'dependencies': [ 25 'dependencies': [
21 '../../base/base.gyp:base', 26 '../../base/base.gyp:base',
22 ], 27 ],
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 ], 295 ],
291 }], 296 }],
292 ], 297 ],
293 } 298 }
294 299
295 # Local Variables: 300 # Local Variables:
296 # tab-width:2 301 # tab-width:2
297 # indent-tabs-mode:nil 302 # indent-tabs-mode:nil
298 # End: 303 # End:
299 # vim: set expandtab tabstop=2 shiftwidth=2: 304 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698