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

Side by Side Diff: chrome/chrome_tests.gypi

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 | « build/common.gypi ('k') | gpu/demos/demos.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 (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 'pyautolib_sources': [ 7 'pyautolib_sources': [
8 'app/chrome_dll_resource.h', 8 'app/chrome_dll_resource.h',
9 'common/pref_names.cc', 9 'common/pref_names.cc',
10 'common/pref_names.h', 10 'common/pref_names.h',
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 },], 473 },],
474 ['OS=="win"', { 474 ['OS=="win"', {
475 'sources': [ 475 'sources': [
476 '../sandbox/tests/validation_tests/commands.cc', 476 '../sandbox/tests/validation_tests/commands.cc',
477 '../sandbox/tests/validation_tests/commands.h', 477 '../sandbox/tests/validation_tests/commands.h',
478 '../sandbox/tests/common/controller.h', 478 '../sandbox/tests/common/controller.h',
479 'test/nacl_security_tests/nacl_security_tests_win.h', 479 'test/nacl_security_tests/nacl_security_tests_win.h',
480 'test/nacl_security_tests/nacl_security_tests_win.cc', 480 'test/nacl_security_tests/nacl_security_tests_win.cc',
481 ], 481 ],
482 },], 482 },],
483 # set fPIC for linux in case it isn't set.
484 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm") and linux_f pic!=1', {
485 'cflags': ['-fPIC'],
486 },],
483 ], 487 ],
484 }, 488 },
485 { 489 {
486 'target_name': 'nacl_sandbox_tests', 490 'target_name': 'nacl_sandbox_tests',
487 'type': 'executable', 491 'type': 'executable',
488 'msvs_guid': '3087FC25-2C24-44B2-8253-44065EB47ACD', 492 'msvs_guid': '3087FC25-2C24-44B2-8253-44065EB47ACD',
489 'dependencies': [ 493 'dependencies': [
490 'chrome', 494 'chrome',
491 'browser', 495 'browser',
492 'debugger', 496 'debugger',
(...skipping 1976 matching lines...) Expand 10 before | Expand all | Expand 10 after
2469 ], 2473 ],
2470 }, 2474 },
2471 'sources': [ 2475 'sources': [
2472 'test/chrome_plugin/test_chrome_plugin.cc', 2476 'test/chrome_plugin/test_chrome_plugin.cc',
2473 'test/chrome_plugin/test_chrome_plugin.def', 2477 'test/chrome_plugin/test_chrome_plugin.def',
2474 'test/chrome_plugin/test_chrome_plugin.h', 2478 'test/chrome_plugin/test_chrome_plugin.h',
2475 ], 2479 ],
2476 }, 2480 },
2477 ]}, # 'targets' 2481 ]}, # 'targets'
2478 ], # OS=="win" 2482 ], # OS=="win"
2483 # Build on linux x86_64 only if linux_fpic==1
2479 ['OS=="mac" or (OS=="win" and component=="static_library") ' 2484 ['OS=="mac" or (OS=="win" and component=="static_library") '
2480 'or (OS=="linux" and target_arch==python_arch)', { 2485 'or (OS=="linux" and target_arch==python_arch '
2486 'and (target_arch!="x64" or linux_fpic==1))', {
2481 'targets': [ 2487 'targets': [
2482 { 2488 {
2483 # Documentation: http://dev.chromium.org/developers/pyauto 2489 # Documentation: http://dev.chromium.org/developers/pyauto
2484 'target_name': 'pyautolib', 2490 'target_name': 'pyautolib',
2485 'type': 'shared_library', 2491 'type': 'shared_library',
2486 'product_prefix': '_', 2492 'product_prefix': '_',
2487 'dependencies': [ 2493 'dependencies': [
2488 'chrome', 2494 'chrome',
2489 'debugger', 2495 'debugger',
2490 'syncapi', 2496 'syncapi',
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
2775 ] 2781 ]
2776 }], # 'coverage!=0' 2782 }], # 'coverage!=0'
2777 ], # 'conditions' 2783 ], # 'conditions'
2778 } 2784 }
2779 2785
2780 # Local Variables: 2786 # Local Variables:
2781 # tab-width:2 2787 # tab-width:2
2782 # indent-tabs-mode:nil 2788 # indent-tabs-mode:nil
2783 # End: 2789 # End:
2784 # vim: set expandtab tabstop=2 shiftwidth=2: 2790 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | gpu/demos/demos.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698