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

Side by Side Diff: chrome/chrome_tests.gypi

Issue 661218: Fixed pyauto build for chromeos. Added proper sysroot and ability to specify ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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
« build/common.gypi ('K') | « build/common.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) 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 'browser_tests_sources_views_specific': [ 7 'browser_tests_sources_views_specific': [
8 'browser/extensions/browser_action_test_util_views.cc', 8 'browser/extensions/browser_action_test_util_views.cc',
9 'browser/views/browser_actions_container_unittest.cc', 9 'browser/views/browser_actions_container_unittest.cc',
10 'browser/views/find_bar_host_browsertest.cc', 10 'browser/views/find_bar_host_browsertest.cc',
(...skipping 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after
1853 }, 1853 },
1854 'sources': [ 1854 'sources': [
1855 'test/chrome_plugin/test_chrome_plugin.cc', 1855 'test/chrome_plugin/test_chrome_plugin.cc',
1856 'test/chrome_plugin/test_chrome_plugin.def', 1856 'test/chrome_plugin/test_chrome_plugin.def',
1857 'test/chrome_plugin/test_chrome_plugin.h', 1857 'test/chrome_plugin/test_chrome_plugin.h',
1858 ], 1858 ],
1859 }, 1859 },
1860 ]}, # 'targets' 1860 ]}, # 'targets'
1861 ], # OS=="win" 1861 ], # OS=="win"
1862 # Build on linux x86_64 only if linux_fpic==1 1862 # Build on linux x86_64 only if linux_fpic==1
1863 ['OS=="mac" or (OS=="linux" and (host_arch!="x64" or linux_fpic==1))', { 1863 ['OS=="mac" or (OS=="linux" and (target_arch!="x64" or linux_fpic==1))', {
1864 'targets': [ 1864 'targets': [
1865 # TODO(nirnimesh): enable for win - crbug.com/32285 1865 # TODO(nirnimesh): enable for win - crbug.com/32285
1866 { 1866 {
1867 # Documentation: http://dev.chromium.org/developers/pyauto 1867 # Documentation: http://dev.chromium.org/developers/pyauto
1868 'target_name': 'pyautolib', 1868 'target_name': 'pyautolib',
1869 'type': 'shared_library', 1869 'type': 'shared_library',
1870 'product_prefix': '_', 1870 'product_prefix': '_',
1871 'dependencies': [ 1871 'dependencies': [
1872 'chrome', 1872 'chrome',
1873 'debugger', 1873 'debugger',
(...skipping 28 matching lines...) Expand all
1902 'EXECUTABLE_EXTENSION': 'so', 1902 'EXECUTABLE_EXTENSION': 'so',
1903 # When generated, pyautolib_wrap.cc includes some swig support 1903 # When generated, pyautolib_wrap.cc includes some swig support
1904 # files which, as of swig 1.3.31 that comes with 10.5 and 10.6, 1904 # files which, as of swig 1.3.31 that comes with 10.5 and 10.6,
1905 # may not compile cleanly at -Wall. 1905 # may not compile cleanly at -Wall.
1906 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Wno-error 1906 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Wno-error
1907 }, 1907 },
1908 'conditions': [ 1908 'conditions': [
1909 ['OS=="linux"', { 1909 ['OS=="linux"', {
1910 'include_dirs': [ 1910 'include_dirs': [
1911 '..', 1911 '..',
1912 '/usr/include/python2.5', 1912 '<(sysroot)/usr/include/python<(python_ver)',
1913 ], 1913 ],
1914 'dependencies': [ 1914 'dependencies': [
1915 '../build/linux/system.gyp:gtk', 1915 '../build/linux/system.gyp:gtk',
1916 ], 1916 ],
1917 'link_settings': { 1917 'link_settings': {
1918 'libraries': [ 1918 'libraries': [
1919 '-lpython2.5', 1919 '-lpython<(python_ver)',
1920 ], 1920 ],
1921 }, 1921 },
1922 }], 1922 }],
1923 ['OS=="mac"', { 1923 ['OS=="mac"', {
1924 'include_dirs': [ 1924 'include_dirs': [
1925 '..', 1925 '..',
1926 '$(SDKROOT)/usr/include/python2.5', 1926 '$(SDKROOT)/usr/include/python2.5',
1927 ], 1927 ],
1928 'link_settings': { 1928 'link_settings': {
1929 'libraries': [ 1929 'libraries': [
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
2036 ] 2036 ]
2037 }], # 'coverage!=0' 2037 }], # 'coverage!=0'
2038 ], # 'conditions' 2038 ], # 'conditions'
2039 } 2039 }
2040 2040
2041 # Local Variables: 2041 # Local Variables:
2042 # tab-width:2 2042 # tab-width:2
2043 # indent-tabs-mode:nil 2043 # indent-tabs-mode:nil
2044 # End: 2044 # End:
2045 # vim: set expandtab tabstop=2 shiftwidth=2: 2045 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698