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 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2075 ], | 2074 ], |
2076 }, | 2075 }, |
2077 ], | 2076 ], |
2078 'conditions': [ | 2077 'conditions': [ |
2079 ['target_arch!="arm"', { | 2078 ['target_arch!="arm"', { |
2080 'dependencies': [ | 2079 'dependencies': [ |
2081 # build time dependency. | 2080 # build time dependency. |
2082 '../v8/tools/gyp/v8.gyp:v8_shell#host', | 2081 '../v8/tools/gyp/v8.gyp:v8_shell#host', |
2083 ], | 2082 ], |
2084 }], | 2083 }], |
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 }], | |
2094 ['use_aura==1', { | 2084 ['use_aura==1', { |
2095 'sources/': [ | 2085 'sources/': [ |
2096 ['exclude', '^browser/automation/automation_provider_unittest.cc'], | 2086 ['exclude', '^browser/automation/automation_provider_unittest.cc'], |
2097 ], | 2087 ], |
2098 }], | 2088 }], |
2099 ['touchui==0', { | 2089 ['touchui==0', { |
2100 'sources/': [ | 2090 'sources/': [ |
2101 ['exclude', '^browser/ui/touch/'], | 2091 ['exclude', '^browser/ui/touch/'], |
2102 ['exclude', '^browser/ui/webui/chromeos/login/'], | 2092 ['exclude', '^browser/ui/webui/chromeos/login/'], |
2103 ], | 2093 ], |
(...skipping 2228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4332 # Use outputs of this action as inputs for the main target build. | 4322 # Use outputs of this action as inputs for the main target build. |
4333 # Seems as a misnomer but makes this happy on Linux (scons). | 4323 # Seems as a misnomer but makes this happy on Linux (scons). |
4334 'process_outputs_as_sources': 1, | 4324 'process_outputs_as_sources': 1, |
4335 }, | 4325 }, |
4336 ], # 'actions' | 4326 ], # 'actions' |
4337 }, | 4327 }, |
4338 ] | 4328 ] |
4339 }], # 'coverage!=0' | 4329 }], # 'coverage!=0' |
4340 ], # 'conditions' | 4330 ], # 'conditions' |
4341 } | 4331 } |
OLD | NEW |