OLD | NEW |
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 1882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1893 }, | 1893 }, |
1894 'sources': [ | 1894 'sources': [ |
1895 'test/chrome_plugin/test_chrome_plugin.cc', | 1895 'test/chrome_plugin/test_chrome_plugin.cc', |
1896 'test/chrome_plugin/test_chrome_plugin.def', | 1896 'test/chrome_plugin/test_chrome_plugin.def', |
1897 'test/chrome_plugin/test_chrome_plugin.h', | 1897 'test/chrome_plugin/test_chrome_plugin.h', |
1898 ], | 1898 ], |
1899 }, | 1899 }, |
1900 ]}, # 'targets' | 1900 ]}, # 'targets' |
1901 ], # OS=="win" | 1901 ], # OS=="win" |
1902 # Build on linux x86_64 only if linux_fpic==1 | 1902 # Build on linux x86_64 only if linux_fpic==1 |
1903 ['OS=="mac" or (OS=="linux" and target_arch==python_arch and (target_arch!="
x64" or linux_fpic==1))', { | 1903 ['OS=="mac" or OS=="win" or (OS=="linux" and target_arch==python_arch ' |
| 1904 'and (target_arch!="x64" or linux_fpic==1))', { |
1904 'targets': [ | 1905 'targets': [ |
1905 # TODO(nirnimesh): enable for win - crbug.com/32285 | |
1906 { | 1906 { |
1907 # Documentation: http://dev.chromium.org/developers/pyauto | 1907 # Documentation: http://dev.chromium.org/developers/pyauto |
1908 'target_name': 'pyautolib', | 1908 'target_name': 'pyautolib', |
1909 'type': 'shared_library', | 1909 'type': 'shared_library', |
1910 'product_prefix': '_', | 1910 'product_prefix': '_', |
1911 'dependencies': [ | 1911 'dependencies': [ |
1912 'chrome', | 1912 'chrome', |
1913 'debugger', | 1913 'debugger', |
1914 'syncapi', | 1914 'syncapi', |
1915 'test_support_common', | 1915 'test_support_common', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1964 'include_dirs': [ | 1964 'include_dirs': [ |
1965 '..', | 1965 '..', |
1966 '$(SDKROOT)/usr/include/python2.5', | 1966 '$(SDKROOT)/usr/include/python2.5', |
1967 ], | 1967 ], |
1968 'link_settings': { | 1968 'link_settings': { |
1969 'libraries': [ | 1969 'libraries': [ |
1970 '$(SDKROOT)/usr/lib/libpython2.5.dylib', | 1970 '$(SDKROOT)/usr/lib/libpython2.5.dylib', |
1971 ], | 1971 ], |
1972 } | 1972 } |
1973 }], | 1973 }], |
| 1974 ['OS=="win"', { |
| 1975 'include_dirs': [ |
| 1976 '..', |
| 1977 '../third_party/python_24/include', |
| 1978 ], |
| 1979 'link_settings': { |
| 1980 'libraries': [ |
| 1981 '../third_party/python_24/libs/python24.lib', |
| 1982 ], |
| 1983 } |
| 1984 }], |
1974 ], | 1985 ], |
1975 'actions': [ | 1986 'actions': [ |
1976 { | 1987 { |
1977 'action_name': 'pyautolib_swig', | 1988 'action_name': 'pyautolib_swig', |
1978 'inputs': [ | 1989 'inputs': [ |
1979 'test/pyautolib/pyautolib.i', | 1990 'test/pyautolib/pyautolib.i', |
1980 ], | 1991 ], |
1981 'outputs': [ | 1992 'outputs': [ |
1982 '<(INTERMEDIATE_DIR)/pyautolib_wrap.cc', | 1993 '<(INTERMEDIATE_DIR)/pyautolib_wrap.cc', |
1983 '<(PRODUCT_DIR)/pyautolib.py', | 1994 '<(PRODUCT_DIR)/pyautolib.py', |
1984 ], | 1995 ], |
1985 'action': [ 'python', | 1996 'action': [ 'python', |
1986 '../tools/swig/swig.py', | 1997 '../tools/swig/swig.py', |
1987 '-I..', | 1998 '-I..', |
1988 '-python', | 1999 '-python', |
1989 '-c++', | 2000 '-c++', |
1990 '-outdir', | 2001 '-outdir', |
1991 '<(PRODUCT_DIR)', | 2002 '<(PRODUCT_DIR)', |
1992 '-o', | 2003 '-o', |
1993 '<(INTERMEDIATE_DIR)/pyautolib_wrap.cc', | 2004 '<(INTERMEDIATE_DIR)/pyautolib_wrap.cc', |
1994 '<(_inputs)', | 2005 '<@(_inputs)', |
1995 ] | 2006 ], |
| 2007 'message': 'Generating swig wrappers for <(_inputs).', |
1996 }, | 2008 }, |
1997 ], # actions | 2009 ], # actions |
1998 }, # target 'pyautolib' | 2010 }, # target 'pyautolib' |
1999 ] # targets | 2011 ] # targets |
2000 }], # OS=='mac' or OS=='linux' | 2012 }], |
2001 ['coverage!=0', | 2013 ['coverage!=0', |
2002 { 'targets': [ | 2014 { 'targets': [ |
2003 { | 2015 { |
2004 'target_name': 'coverage', | 2016 'target_name': 'coverage', |
2005 # do NOT place this in the 'all' list; most won't want it. | 2017 # do NOT place this in the 'all' list; most won't want it. |
2006 # In gyp, booleans are 0/1 not True/False. | 2018 # In gyp, booleans are 0/1 not True/False. |
2007 'suppress_wildcard': 1, | 2019 'suppress_wildcard': 1, |
2008 'type': 'none', | 2020 'type': 'none', |
2009 # Cross platform test bundles. If you add new tests you may | 2021 # Cross platform test bundles. If you add new tests you may |
2010 # need to update the croc configs. For example, see the | 2022 # need to update the croc configs. For example, see the |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2076 ] | 2088 ] |
2077 }], # 'coverage!=0' | 2089 }], # 'coverage!=0' |
2078 ], # 'conditions' | 2090 ], # 'conditions' |
2079 } | 2091 } |
2080 | 2092 |
2081 # Local Variables: | 2093 # Local Variables: |
2082 # tab-width:2 | 2094 # tab-width:2 |
2083 # indent-tabs-mode:nil | 2095 # indent-tabs-mode:nil |
2084 # End: | 2096 # End: |
2085 # vim: set expandtab tabstop=2 shiftwidth=2: | 2097 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |