| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 'ipc.gypi', | 10 'ipc.gypi', |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 'run_all_unittests.cc', | 60 'run_all_unittests.cc', |
| 61 'sync_socket_unittest.cc', | 61 'sync_socket_unittest.cc', |
| 62 'unix_domain_socket_util_unittest.cc', | 62 'unix_domain_socket_util_unittest.cc', |
| 63 ], | 63 ], |
| 64 'conditions': [ | 64 'conditions': [ |
| 65 ['OS == "win" or OS == "ios"', { | 65 ['OS == "win" or OS == "ios"', { |
| 66 'sources!': [ | 66 'sources!': [ |
| 67 'unix_domain_socket_util_unittest.cc', | 67 'unix_domain_socket_util_unittest.cc', |
| 68 ], | 68 ], |
| 69 }], | 69 }], |
| 70 ['OS == "android" and gtest_target_type == "shared_library"', { | 70 ['OS == "android"', { |
| 71 'dependencies': [ | 71 'dependencies': [ |
| 72 '../testing/android/native_test.gyp:native_test_native_code', | 72 '../testing/android/native_test.gyp:native_test_native_code', |
| 73 ], | 73 ], |
| 74 }], | 74 }], |
| 75 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 75 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
| 76 'conditions': [ | 76 'conditions': [ |
| 77 ['use_allocator!="none"', { | 77 ['use_allocator!="none"', { |
| 78 'dependencies': [ | 78 'dependencies': [ |
| 79 '../base/allocator/allocator.gyp:allocator', | 79 '../base/allocator/allocator.gyp:allocator', |
| 80 ], | 80 ], |
| (...skipping 17 matching lines...) Expand all Loading... |
| 98 ], | 98 ], |
| 99 'include_dirs': [ | 99 'include_dirs': [ |
| 100 '..' | 100 '..' |
| 101 ], | 101 ], |
| 102 'sources': [ | 102 'sources': [ |
| 103 'ipc_perftests.cc', | 103 'ipc_perftests.cc', |
| 104 'ipc_test_base.cc', | 104 'ipc_test_base.cc', |
| 105 'ipc_test_base.h', | 105 'ipc_test_base.h', |
| 106 ], | 106 ], |
| 107 'conditions': [ | 107 'conditions': [ |
| 108 ['OS == "android" and gtest_target_type == "shared_library"', { | 108 ['OS == "android"', { |
| 109 'dependencies': [ | 109 'dependencies': [ |
| 110 '../testing/android/native_test.gyp:native_test_native_code', | 110 '../testing/android/native_test.gyp:native_test_native_code', |
| 111 ], | 111 ], |
| 112 }], | 112 }], |
| 113 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 113 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
| 114 'conditions': [ | 114 'conditions': [ |
| 115 ['use_allocator!="none"', { | 115 ['use_allocator!="none"', { |
| 116 'dependencies': [ | 116 'dependencies': [ |
| 117 '../base/allocator/allocator.gyp:allocator', | 117 '../base/allocator/allocator.gyp:allocator', |
| 118 ], | 118 ], |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 ], | 160 ], |
| 161 }, | 161 }, |
| 162 'configurations': { | 162 'configurations': { |
| 163 'Common_Base': { | 163 'Common_Base': { |
| 164 'msvs_target_platform': 'x64', | 164 'msvs_target_platform': 'x64', |
| 165 }, | 165 }, |
| 166 }, | 166 }, |
| 167 }, | 167 }, |
| 168 ], | 168 ], |
| 169 }], | 169 }], |
| 170 # Special target to wrap a gtest_target_type==shared_library | 170 ['OS == "android"', { |
| 171 # ipc_tests into an android apk for execution. | |
| 172 # See base.gyp for TODO(jrg)s about this strategy. | |
| 173 ['OS == "android" and gtest_target_type == "shared_library"', { | |
| 174 'targets': [ | 171 'targets': [ |
| 175 { | 172 { |
| 176 'target_name': 'ipc_tests_apk', | 173 'target_name': 'ipc_tests_apk', |
| 177 'type': 'none', | 174 'type': 'none', |
| 178 'dependencies': [ | 175 'dependencies': [ |
| 179 'ipc_tests', | 176 'ipc_tests', |
| 180 ], | 177 ], |
| 181 'variables': { | 178 'variables': { |
| 182 'test_suite_name': 'ipc_tests', | 179 'test_suite_name': 'ipc_tests', |
| 183 }, | 180 }, |
| 184 'includes': [ '../build/apk_test.gypi' ], | 181 'includes': [ '../build/apk_test.gypi' ], |
| 185 }, | 182 }, |
| 186 { | 183 { |
| 187 'target_name': 'ipc_perftests_apk', | 184 'target_name': 'ipc_perftests_apk', |
| 188 'type': 'none', | 185 'type': 'none', |
| 189 'dependencies': [ | 186 'dependencies': [ |
| 190 'ipc_perftests', | 187 'ipc_perftests', |
| 191 ], | 188 ], |
| 192 'variables': { | 189 'variables': { |
| 193 'test_suite_name': 'ipc_perftests', | 190 'test_suite_name': 'ipc_perftests', |
| 194 }, | 191 }, |
| 195 'includes': [ '../build/apk_test.gypi' ], | 192 'includes': [ '../build/apk_test.gypi' ], |
| 196 }], | 193 }], |
| 197 }], | 194 }], |
| 198 ], | 195 ], |
| 199 } | 196 } |
| OLD | NEW |