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', |
1152 '../media/media.gyp:media_test_support', | 1153 '../media/media.gyp:media_test_support', |
1153 '../net/net.gyp:net', | 1154 '../net/net.gyp:net', |
1154 '../net/net.gyp:net_test_support', | 1155 '../net/net.gyp:net_test_support', |
1155 '../testing/gmock.gyp:gmock', | 1156 '../testing/gmock.gyp:gmock', |
1156 '../testing/gtest.gyp:gtest', | 1157 '../testing/gtest.gyp:gtest', |
1157 'test_support_common', | 1158 'test_support_common', |
1158 'test_support_sync', | 1159 'test_support_sync', |
1159 'test_support_syncapi', | 1160 'test_support_syncapi', |
1160 'test_support_syncapi_service', | 1161 'test_support_syncapi_service', |
1161 'test_support_unit', | 1162 'test_support_unit', |
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2074 ], | 2075 ], |
2075 }, | 2076 }, |
2076 ], | 2077 ], |
2077 'conditions': [ | 2078 'conditions': [ |
2078 ['target_arch!="arm"', { | 2079 ['target_arch!="arm"', { |
2079 'dependencies': [ | 2080 'dependencies': [ |
2080 # build time dependency. | 2081 # build time dependency. |
2081 '../v8/tools/gyp/v8.gyp:v8_shell#host', | 2082 '../v8/tools/gyp/v8.gyp:v8_shell#host', |
2082 ], | 2083 ], |
2083 }], | 2084 }], |
| 2085 ['p2p_apis==1', { |
| 2086 'sources': [ |
| 2087 '../content/browser/renderer_host/p2p/socket_host_test_utils.h', |
| 2088 '../content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc', |
| 2089 '../content/browser/renderer_host/p2p/socket_host_tcp_server_unittes
t.cc', |
| 2090 '../content/browser/renderer_host/p2p/socket_host_udp_unittest.cc', |
| 2091 '../content/renderer/p2p/p2p_transport_impl_unittest.cc', |
| 2092 ], |
| 2093 }], |
2084 ['use_aura==1', { | 2094 ['use_aura==1', { |
2085 'dependencies': [ | 2095 'dependencies': [ |
2086 '../ui/aura/aura.gyp:test_support_aura', | 2096 '../ui/aura/aura.gyp:test_support_aura', |
2087 ], | 2097 ], |
2088 'sources/': [ | 2098 'sources/': [ |
2089 ['exclude', '^browser/automation/automation_provider_unittest.cc'], | 2099 ['exclude', '^browser/automation/automation_provider_unittest.cc'], |
2090 ['exclude', '^browser/accessibility/browser_accessibility_win_unitte
st.cc'], | 2100 ['exclude', '^browser/accessibility/browser_accessibility_win_unitte
st.cc'], |
2091 ['exclude', '^browser/ui/views/extensions/browser_action_drag_data_u
nittest.cc'], | 2101 ['exclude', '^browser/ui/views/extensions/browser_action_drag_data_u
nittest.cc'], |
2092 ['exclude', '^browser/ui/views/select_file_dialog_win_unittest.cc'], | 2102 ['exclude', '^browser/ui/views/select_file_dialog_win_unittest.cc'], |
2093 ['exclude', '^browser/ui/views/bookmarks/bookmark_editor_view_unitte
st.cc'], | 2103 ['exclude', '^browser/ui/views/bookmarks/bookmark_editor_view_unitte
st.cc'], |
(...skipping 2237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4331 # Use outputs of this action as inputs for the main target build. | 4341 # Use outputs of this action as inputs for the main target build. |
4332 # Seems as a misnomer but makes this happy on Linux (scons). | 4342 # Seems as a misnomer but makes this happy on Linux (scons). |
4333 'process_outputs_as_sources': 1, | 4343 'process_outputs_as_sources': 1, |
4334 }, | 4344 }, |
4335 ], # 'actions' | 4345 ], # 'actions' |
4336 }, | 4346 }, |
4337 ] | 4347 ] |
4338 }], # 'coverage!=0' | 4348 }], # 'coverage!=0' |
4339 ], # 'conditions' | 4349 ], # 'conditions' |
4340 } | 4350 } |
OLD | NEW |