| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'target_defaults': { | 5 'target_defaults': { |
| 6 'conditions': [ | 6 'conditions': [ |
| 7 ['strip_tests==1', { | 7 ['strip_tests==1', { |
| 8 'cflags!': [ '-g' ], | 8 'cflags!': [ '-g' ], |
| 9 'ldflags': [ '-Wl,--strip-debug' ], | 9 'ldflags': [ '-Wl,--strip-debug' ], |
| 10 }], | 10 }], |
| (...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1142 }, | 1142 }, |
| 1143 { | 1143 { |
| 1144 'target_name': 'unit_tests', | 1144 'target_name': 'unit_tests', |
| 1145 'type': 'executable', | 1145 'type': 'executable', |
| 1146 'dependencies': [ | 1146 'dependencies': [ |
| 1147 # unit tests should only depend on | 1147 # unit tests should only depend on |
| 1148 # 1) everything that the chrome binaries depend on: | 1148 # 1) everything that the chrome binaries depend on: |
| 1149 '<@(chromium_dependencies)', | 1149 '<@(chromium_dependencies)', |
| 1150 # 2) test-specific support libraries: | 1150 # 2) test-specific support libraries: |
| 1151 '../gpu/gpu.gyp:gpu_unittest_utils', | 1151 '../gpu/gpu.gyp:gpu_unittest_utils', |
| 1152 '../jingle/jingle.gyp:jingle_glue_test_util', | |
| 1153 '../media/media.gyp:media_test_support', | 1152 '../media/media.gyp:media_test_support', |
| 1154 '../net/net.gyp:net', | 1153 '../net/net.gyp:net', |
| 1155 '../net/net.gyp:net_test_support', | 1154 '../net/net.gyp:net_test_support', |
| 1156 '../testing/gmock.gyp:gmock', | 1155 '../testing/gmock.gyp:gmock', |
| 1157 '../testing/gtest.gyp:gtest', | 1156 '../testing/gtest.gyp:gtest', |
| 1158 'test_support_common', | 1157 'test_support_common', |
| 1159 'test_support_sync', | 1158 'test_support_sync', |
| 1160 'test_support_syncapi', | 1159 'test_support_syncapi', |
| 1161 'test_support_syncapi_service', | 1160 'test_support_syncapi_service', |
| 1162 'test_support_unit', | 1161 'test_support_unit', |
| (...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2074 ], | 2073 ], |
| 2075 }, | 2074 }, |
| 2076 ], | 2075 ], |
| 2077 'conditions': [ | 2076 'conditions': [ |
| 2078 ['target_arch!="arm"', { | 2077 ['target_arch!="arm"', { |
| 2079 'dependencies': [ | 2078 'dependencies': [ |
| 2080 # build time dependency. | 2079 # build time dependency. |
| 2081 '../v8/tools/gyp/v8.gyp:v8_shell#host', | 2080 '../v8/tools/gyp/v8.gyp:v8_shell#host', |
| 2082 ], | 2081 ], |
| 2083 }], | 2082 }], |
| 2084 ['p2p_apis==1', { | |
| 2085 'sources': [ | |
| 2086 '../content/browser/renderer_host/p2p/socket_host_test_utils.h', | |
| 2087 '../content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc', | |
| 2088 '../content/browser/renderer_host/p2p/socket_host_tcp_server_unittes
t.cc', | |
| 2089 '../content/browser/renderer_host/p2p/socket_host_udp_unittest.cc', | |
| 2090 '../content/renderer/p2p/p2p_transport_impl_unittest.cc', | |
| 2091 ], | |
| 2092 }], | |
| 2093 ['use_aura==1', { | 2083 ['use_aura==1', { |
| 2094 'dependencies': [ | 2084 'dependencies': [ |
| 2095 '../ui/aura/aura.gyp:test_support_aura', | 2085 '../ui/aura/aura.gyp:test_support_aura', |
| 2096 ], | 2086 ], |
| 2097 'sources/': [ | 2087 'sources/': [ |
| 2098 ['exclude', '^browser/automation/automation_provider_unittest.cc'], | 2088 ['exclude', '^browser/automation/automation_provider_unittest.cc'], |
| 2099 ['exclude', '^browser/accessibility/browser_accessibility_win_unitte
st.cc'], | 2089 ['exclude', '^browser/accessibility/browser_accessibility_win_unitte
st.cc'], |
| 2100 ['exclude', '^browser/ui/views/extensions/browser_action_drag_data_u
nittest.cc'], | 2090 ['exclude', '^browser/ui/views/extensions/browser_action_drag_data_u
nittest.cc'], |
| 2101 ['exclude', '^browser/ui/views/select_file_dialog_win_unittest.cc'], | 2091 ['exclude', '^browser/ui/views/select_file_dialog_win_unittest.cc'], |
| 2102 ['exclude', '^browser/ui/views/bookmarks/bookmark_editor_view_unitte
st.cc'], | 2092 ['exclude', '^browser/ui/views/bookmarks/bookmark_editor_view_unitte
st.cc'], |
| (...skipping 2237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4340 # Use outputs of this action as inputs for the main target build. | 4330 # Use outputs of this action as inputs for the main target build. |
| 4341 # Seems as a misnomer but makes this happy on Linux (scons). | 4331 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4342 'process_outputs_as_sources': 1, | 4332 'process_outputs_as_sources': 1, |
| 4343 }, | 4333 }, |
| 4344 ], # 'actions' | 4334 ], # 'actions' |
| 4345 }, | 4335 }, |
| 4346 ] | 4336 ] |
| 4347 }], # 'coverage!=0' | 4337 }], # 'coverage!=0' |
| 4348 ], # 'conditions' | 4338 ], # 'conditions' |
| 4349 } | 4339 } |
| OLD | NEW |