| OLD | NEW |
| 1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 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 'targets': [ | 5 'targets': [ |
| 6 { | 6 { |
| 7 # This target contains mocks and test utilities that don't belong in | 7 # This target contains mocks and test utilities that don't belong in |
| 8 # production libraries but are used by more than one test executable. | 8 # production libraries but are used by more than one test executable. |
| 9 'target_name': 'test_support_common', | 9 'target_name': 'test_support_common', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| (...skipping 1954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1965 ['chromeos==0', { | 1965 ['chromeos==0', { |
| 1966 'conditions': [ | 1966 'conditions': [ |
| 1967 ['use_gnome_keyring==1', { | 1967 ['use_gnome_keyring==1', { |
| 1968 # We use a few library functions directly, so link directly. | 1968 # We use a few library functions directly, so link directly. |
| 1969 'dependencies': [ | 1969 'dependencies': [ |
| 1970 '../build/linux/system.gyp:gnome_keyring_direct', | 1970 '../build/linux/system.gyp:gnome_keyring_direct', |
| 1971 ], | 1971 ], |
| 1972 }], | 1972 }], |
| 1973 ], | 1973 ], |
| 1974 }], | 1974 }], |
| 1975 ['use_dbus==1', { |
| 1976 'dependencies': [ |
| 1977 '../build/linux/system.gyp:dbus', |
| 1978 '../dbus/dbus.gyp:dbus_test_support', |
| 1979 ], |
| 1980 }], |
| 1975 ], | 1981 ], |
| 1976 'dependencies': [ | 1982 'dependencies': [ |
| 1977 '../build/linux/system.gyp:dbus', | |
| 1978 '../build/linux/system.gyp:gtk', | 1983 '../build/linux/system.gyp:gtk', |
| 1979 '../dbus/dbus.gyp:dbus_test_support', | |
| 1980 ], | 1984 ], |
| 1981 'sources!': [ | 1985 'sources!': [ |
| 1982 'browser/printing/print_job_unittest.cc', | 1986 'browser/printing/print_job_unittest.cc', |
| 1983 ], | 1987 ], |
| 1984 }, { # else: toolkit_uses_gtk != 1 | 1988 }, { # else: toolkit_uses_gtk != 1 |
| 1985 'sources!': [ | 1989 'sources!': [ |
| 1986 'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc', | 1990 'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc', |
| 1987 '../ui/views/focus/accelerator_handler_gtk_unittest.cc', | 1991 '../ui/views/focus/accelerator_handler_gtk_unittest.cc', |
| 1988 ], | 1992 ], |
| 1989 }], | 1993 }], |
| 1990 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { | 1994 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { |
| 1991 'dependencies': [ | 1995 'dependencies': [ |
| 1992 '../build/linux/system.gyp:ssl', | 1996 '../build/linux/system.gyp:ssl', |
| 1993 ], | 1997 ], |
| 1994 }], | 1998 }], |
| 1995 ['use_gnome_keyring == 0', { | 1999 ['use_gnome_keyring == 0', { |
| 1996 # Disable the GNOME Keyring tests if we are not using it. | 2000 # Disable the GNOME Keyring tests if we are not using it. |
| 1997 'sources!': [ | 2001 'sources!': [ |
| 1998 'browser/password_manager/native_backend_gnome_x_unittest.cc', | 2002 'browser/password_manager/native_backend_gnome_x_unittest.cc', |
| 1999 ], | 2003 ], |
| 2000 }], | 2004 }], |
| 2001 ['OS=="linux" and use_aura==1', { | 2005 ['OS=="linux" and use_aura==1 and use_dbus==0', { |
| 2002 'dependencies': [ | 2006 'dependencies': [ |
| 2003 '../build/linux/system.gyp:dbus', | 2007 '../build/linux/system.gyp:dbus', |
| 2004 '../dbus/dbus.gyp:dbus_test_support', | 2008 '../dbus/dbus.gyp:dbus_test_support', |
| 2005 '../ui/aura/aura.gyp:aura_test_support', | 2009 '../ui/aura/aura.gyp:aura_test_support', |
| 2006 ], | 2010 ], |
| 2007 }], | 2011 }], |
| 2008 ['OS=="linux" and branding=="Chrome" and target_arch=="ia32"', { | 2012 ['OS=="linux" and branding=="Chrome" and target_arch=="ia32"', { |
| 2009 'configurations': { | 2013 'configurations': { |
| 2010 'Release': { | 2014 'Release': { |
| 2011 'ldflags': [ | 2015 'ldflags': [ |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2395 # more details. | 2399 # more details. |
| 2396 'DebugInformationFormat': '3', | 2400 'DebugInformationFormat': '3', |
| 2397 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', | 2401 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', |
| 2398 }, | 2402 }, |
| 2399 }, | 2403 }, |
| 2400 }, | 2404 }, |
| 2401 ], | 2405 ], |
| 2402 }], | 2406 }], |
| 2403 ], # 'conditions' | 2407 ], # 'conditions' |
| 2404 } | 2408 } |
| OLD | NEW |