[email protected] | 76b90d31 | 2010-08-03 03:00:50 | [diff] [blame] | 1 | # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'variables': { |
| 7 | 'chromium_code': 1, |
| 8 | }, |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 9 | 'includes': [ |
| 10 | 'base.gypi', |
| 11 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 12 | 'targets': [ |
| 13 | { |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 14 | 'target_name': 'base_i18n', |
[email protected] | 653bd5f03 | 2009-04-08 12:55:49 | [diff] [blame] | 15 | 'type': '<(library)', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 16 | 'msvs_guid': '968F3222-9798-4D21-BE08-15ECB5EF2994', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 17 | 'dependencies': [ |
| 18 | 'base', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 19 | '../third_party/icu/icu.gyp:icui18n', |
| 20 | '../third_party/icu/icu.gyp:icuuc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 21 | ], |
[email protected] | 8f6f202 | 2010-03-22 21:24:57 | [diff] [blame] | 22 | 'conditions': [ |
| 23 | ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
| 24 | 'dependencies': [ |
| 25 | # i18n/rtl.cc uses gtk |
| 26 | '../build/linux/system.gyp:gtk', |
| 27 | ], |
| 28 | }], |
| 29 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 30 | 'export_dependent_settings': [ |
| 31 | 'base', |
| 32 | ], |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 33 | 'sources': [ |
[email protected] | 55954d89 | 2010-12-15 18:00:54 | [diff] [blame] | 34 | 'i18n/break_iterator.cc', |
| 35 | 'i18n/break_iterator.h', |
[email protected] | 0ca5c10 | 2010-08-23 14:30:27 | [diff] [blame] | 36 | 'i18n/char_iterator.cc', |
| 37 | 'i18n/char_iterator.h', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 38 | 'i18n/file_util_icu.cc', |
| 39 | 'i18n/file_util_icu.h', |
[email protected] | 193c351 | 2010-05-11 09:19:30 | [diff] [blame] | 40 | 'i18n/icu_encoding_detection.cc', |
| 41 | 'i18n/icu_encoding_detection.h', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 42 | 'i18n/icu_string_conversions.cc', |
| 43 | 'i18n/icu_string_conversions.h', |
| 44 | 'i18n/icu_util.cc', |
| 45 | 'i18n/icu_util.h', |
| 46 | 'i18n/number_formatting.cc', |
| 47 | 'i18n/number_formatting.h', |
[email protected] | 7cf1b6ce | 2010-03-20 06:37:01 | [diff] [blame] | 48 | 'i18n/rtl.cc', |
| 49 | 'i18n/rtl.h', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 50 | 'i18n/time_formatting.cc', |
| 51 | 'i18n/time_formatting.h', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 52 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 53 | }, |
| 54 | { |
| 55 | 'target_name': 'base_unittests', |
| 56 | 'type': 'executable', |
[email protected] | 9e450f2 | 2009-03-10 23:12:16 | [diff] [blame] | 57 | 'msvs_guid': '27A30967-4BBA-48D1-8522-CDE95F7B1CEC', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 58 | 'sources': [ |
[email protected] | c7f475ed | 2009-09-08 17:25:40 | [diff] [blame] | 59 | # Infrastructure files. |
[email protected] | fb895c6 | 2009-10-09 18:20:30 | [diff] [blame] | 60 | 'test/run_all_unittests.cc', |
[email protected] | c7f475ed | 2009-09-08 17:25:40 | [diff] [blame] | 61 | |
| 62 | # Tests. |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 63 | 'at_exit_unittest.cc', |
| 64 | 'atomicops_unittest.cc', |
[email protected] | 978df34 | 2009-11-24 06:21:53 | [diff] [blame] | 65 | 'base64_unittest.cc', |
[email protected] | 6d1729e | 2009-11-18 23:08:39 | [diff] [blame] | 66 | 'bits_unittest.cc', |
[email protected] | 2041cf34 | 2010-02-19 03:15:59 | [diff] [blame] | 67 | 'callback_unittest.cc', |
[email protected] | baeb22f5 | 2009-12-03 21:11:34 | [diff] [blame] | 68 | 'cancellation_flag_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 69 | 'command_line_unittest.cc', |
| 70 | 'condition_variable_unittest.cc', |
[email protected] | 39422e3 | 2010-03-25 19:13:00 | [diff] [blame] | 71 | 'crypto/encryptor_unittest.cc', |
[email protected] | 28ae8fe | 2009-06-05 18:25:06 | [diff] [blame] | 72 | 'crypto/rsa_private_key_unittest.cc', |
[email protected] | 7464805 | 2010-08-10 19:37:51 | [diff] [blame] | 73 | 'crypto/rsa_private_key_nss_unittest.cc', |
[email protected] | 28ae8fe | 2009-06-05 18:25:06 | [diff] [blame] | 74 | 'crypto/signature_creator_unittest.cc', |
[email protected] | 5290aaa | 2009-05-28 06:02:56 | [diff] [blame] | 75 | 'crypto/signature_verifier_unittest.cc', |
[email protected] | 39422e3 | 2010-03-25 19:13:00 | [diff] [blame] | 76 | 'crypto/symmetric_key_unittest.cc', |
[email protected] | 5858035 | 2010-10-26 04:07:50 | [diff] [blame] | 77 | 'debug/leak_tracker_unittest.cc', |
| 78 | 'debug/stack_trace_unittest.cc', |
| 79 | 'debug/trace_event_win_unittest.cc', |
[email protected] | ef73044e | 2010-03-11 15:25:54 | [diff] [blame] | 80 | 'dir_reader_posix_unittest.cc', |
[email protected] | 76b90d31 | 2010-08-03 03:00:50 | [diff] [blame] | 81 | 'environment_unittest.cc', |
[email protected] | 3f04f2b | 2009-04-30 19:40:03 | [diff] [blame] | 82 | 'file_descriptor_shuffle_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 83 | 'file_path_unittest.cc', |
| 84 | 'file_util_unittest.cc', |
| 85 | 'file_version_info_unittest.cc', |
[email protected] | d5bb49f | 2009-05-30 14:39:59 | [diff] [blame] | 86 | 'gmock_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 87 | 'hmac_unittest.cc', |
[email protected] | 925d5d60 | 2009-08-19 14:56:38 | [diff] [blame] | 88 | 'id_map_unittest.cc', |
[email protected] | 55954d89 | 2010-12-15 18:00:54 | [diff] [blame] | 89 | 'i18n/break_iterator_unittest.cc', |
[email protected] | 0ca5c10 | 2010-08-23 14:30:27 | [diff] [blame] | 90 | 'i18n/char_iterator_unittest.cc', |
[email protected] | d0767cb54 | 2009-10-08 17:38:30 | [diff] [blame] | 91 | 'i18n/file_util_icu_unittest.cc', |
[email protected] | d6e58c6e | 2009-10-10 20:40:50 | [diff] [blame] | 92 | 'i18n/icu_string_conversions_unittest.cc', |
[email protected] | 7cf1b6ce | 2010-03-20 06:37:01 | [diff] [blame] | 93 | 'i18n/rtl_unittest.cc', |
[email protected] | 93d49d7 | 2009-10-23 20:00:20 | [diff] [blame] | 94 | 'json/json_reader_unittest.cc', |
| 95 | 'json/json_writer_unittest.cc', |
| 96 | 'json/string_escape_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 97 | 'lazy_instance_unittest.cc', |
[email protected] | 48ca901 | 2009-08-11 21:38:54 | [diff] [blame] | 98 | 'linked_list_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 99 | 'linked_ptr_unittest.cc', |
[email protected] | 5dd879a | 2010-07-30 05:50:42 | [diff] [blame] | 100 | 'lock_unittest.cc', |
[email protected] | 521b0c4 | 2010-10-01 23:02:36 | [diff] [blame] | 101 | 'logging_unittest.cc', |
[email protected] | 8b386ced | 2009-10-27 15:55:52 | [diff] [blame] | 102 | 'mac_util_unittest.mm', |
[email protected] | 656475d | 2010-05-06 18:34:24 | [diff] [blame] | 103 | 'message_loop_proxy_impl_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 104 | 'message_loop_unittest.cc', |
[email protected] | b44d5cc | 2009-06-15 10:30:44 | [diff] [blame] | 105 | 'message_pump_glib_unittest.cc', |
[email protected] | 835d7c8 | 2010-10-14 04:38:38 | [diff] [blame] | 106 | 'metrics/field_trial_unittest.cc', |
| 107 | 'metrics/histogram_unittest.cc', |
| 108 | 'metrics/stats_table_unittest.cc', |
[email protected] | d9ddc96 | 2010-08-24 04:29:56 | [diff] [blame] | 109 | 'non_thread_safe_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 110 | 'object_watcher_unittest.cc', |
| 111 | 'observer_list_unittest.cc', |
| 112 | 'path_service_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 113 | 'pickle_unittest.cc', |
[email protected] | 3fb43ed1 | 2010-09-10 03:01:14 | [diff] [blame] | 114 | 'platform_file_unittest.cc', |
[email protected] | 5dd879a | 2010-07-30 05:50:42 | [diff] [blame] | 115 | 'platform_thread_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 116 | 'pr_time_unittest.cc', |
| 117 | 'process_util_unittest.cc', |
[email protected] | 9f95844 | 2010-03-19 18:42:41 | [diff] [blame] | 118 | 'process_util_unittest_mac.h', |
| 119 | 'process_util_unittest_mac.mm', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 120 | 'rand_util_unittest.cc', |
| 121 | 'ref_counted_unittest.cc', |
[email protected] | da2566e1 | 2010-03-10 06:23:35 | [diff] [blame] | 122 | 'scoped_native_library_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 123 | 'scoped_ptr_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 124 | 'scoped_temp_dir_unittest.cc', |
[email protected] | c2ad1e3 | 2009-11-04 19:29:58 | [diff] [blame] | 125 | 'sha1_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 126 | 'sha2_unittest.cc', |
| 127 | 'shared_memory_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 128 | 'singleton_unittest.cc', |
| 129 | 'stack_container_unittest.cc', |
[email protected] | 3c1304e2 | 2010-11-13 20:05:47 | [diff] [blame] | 130 | 'string16_unittest.cc', |
[email protected] | 528c56d | 2010-07-30 19:28:44 | [diff] [blame] | 131 | 'string_number_conversions_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 132 | 'string_piece_unittest.cc', |
[email protected] | 0477554f | 2010-01-21 19:29:25 | [diff] [blame] | 133 | 'string_split_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 134 | 'string_tokenizer_unittest.cc', |
| 135 | 'string_util_unittest.cc', |
[email protected] | 176ab80 | 2010-11-18 02:15:12 | [diff] [blame] | 136 | 'stringize_macros_unittest.cc', |
[email protected] | e6811ed5 | 2010-08-17 03:45:37 | [diff] [blame] | 137 | 'stringprintf_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 138 | 'sys_info_unittest.cc', |
[email protected] | a2494cb | 2009-11-08 19:04:54 | [diff] [blame] | 139 | 'sys_string_conversions_mac_unittest.mm', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 140 | 'sys_string_conversions_unittest.cc', |
[email protected] | 6fd0ca5 | 2010-08-26 06:09:38 | [diff] [blame] | 141 | 'task_queue_unittest.cc', |
[email protected] | 0384f84 | 2010-12-16 19:55:09 | [diff] [blame] | 142 | 'task_unittest.cc', |
[email protected] | ac9ba8fe | 2010-12-30 18:08:36 | [diff] [blame^] | 143 | 'threading/simple_thread_unittest.cc', |
| 144 | 'threading/watchdog_unittest.cc', |
| 145 | 'threading/worker_pool_posix_unittest.cc', |
| 146 | 'threading/worker_pool_unittest.cc', |
[email protected] | d9ddc96 | 2010-08-24 04:29:56 | [diff] [blame] | 147 | 'thread_checker_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 148 | 'thread_collision_warner_unittest.cc', |
| 149 | 'thread_local_storage_unittest.cc', |
| 150 | 'thread_local_unittest.cc', |
| 151 | 'thread_unittest.cc', |
| 152 | 'time_unittest.cc', |
| 153 | 'time_win_unittest.cc', |
| 154 | 'timer_unittest.cc', |
[email protected] | 0716cba | 2009-12-17 12:37:58 | [diff] [blame] | 155 | 'tools_sanity_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 156 | 'tracked_objects_unittest.cc', |
| 157 | 'tuple_unittest.cc', |
[email protected] | b9f9383 | 2009-11-13 19:27:48 | [diff] [blame] | 158 | 'utf_offset_string_conversions_unittest.cc', |
[email protected] | ce85f60 | 2009-11-07 01:34:53 | [diff] [blame] | 159 | 'utf_string_conversions_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 160 | 'values_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 161 | 'version_unittest.cc', |
[email protected] | 99b7c57f | 2010-09-29 19:26:36 | [diff] [blame] | 162 | 'vlog_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 163 | 'waitable_event_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 164 | 'waitable_event_watcher_unittest.cc', |
[email protected] | 3125d646 | 2009-09-01 20:50:17 | [diff] [blame] | 165 | 'weak_ptr_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 166 | 'win_util_unittest.cc', |
[email protected] | ba50d192 | 2010-11-06 15:39:40 | [diff] [blame] | 167 | 'win/event_trace_consumer_unittest.cc', |
| 168 | 'win/event_trace_controller_unittest.cc', |
| 169 | 'win/event_trace_provider_unittest.cc', |
[email protected] | 337ca07 | 2010-11-16 15:28:45 | [diff] [blame] | 170 | 'win/i18n_unittest.cc', |
[email protected] | 2d650398 | 2010-10-17 04:41:54 | [diff] [blame] | 171 | 'win/pe_image_unittest.cc', |
| 172 | 'win/registry_unittest.cc', |
[email protected] | ce0e7246 | 2010-10-16 03:46:05 | [diff] [blame] | 173 | 'win/scoped_bstr_unittest.cc', |
| 174 | 'win/scoped_comptr_unittest.cc', |
| 175 | 'win/scoped_variant_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 176 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 177 | 'dependencies': [ |
| 178 | 'base', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 179 | 'base_i18n', |
[email protected] | 6fa18d1 | 2010-08-16 04:18:41 | [diff] [blame] | 180 | 'test_support_base', |
[email protected] | ce315710 | 2009-05-28 07:23:16 | [diff] [blame] | 181 | '../testing/gmock.gyp:gmock', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 182 | '../testing/gtest.gyp:gtest', |
| 183 | ], |
| 184 | 'conditions': [ |
[email protected] | b5c72b82 | 2010-02-18 16:11:37 | [diff] [blame] | 185 | ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 186 | 'sources!': [ |
| 187 | 'file_version_info_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 188 | ], |
[email protected] | 11991c3 | 2010-04-15 20:40:17 | [diff] [blame] | 189 | 'sources': [ |
[email protected] | 6b0349ef | 2010-10-16 04:56:06 | [diff] [blame] | 190 | 'nix/xdg_util_unittest.cc', |
[email protected] | 11991c3 | 2010-04-15 20:40:17 | [diff] [blame] | 191 | ], |
[email protected] | 63dc378 | 2010-10-19 19:09:30 | [diff] [blame] | 192 | 'conditions': [ |
| 193 | [ 'linux_use_tcmalloc==1', { |
| 194 | 'dependencies': [ |
| 195 | 'allocator/allocator.gyp:allocator', |
| 196 | ], |
| 197 | }, |
| 198 | ], |
| 199 | ], |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 200 | 'dependencies': [ |
| 201 | '../build/linux/system.gyp:gtk', |
[email protected] | db7286d | 2009-04-10 16:36:34 | [diff] [blame] | 202 | '../build/linux/system.gyp:nss', |
[email protected] | a97488f | 2009-09-17 21:37:19 | [diff] [blame] | 203 | '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 204 | ], |
[email protected] | b5c72b82 | 2010-02-18 16:11:37 | [diff] [blame] | 205 | }, { # OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris" |
[email protected] | b44d5cc | 2009-06-15 10:30:44 | [diff] [blame] | 206 | 'sources!': [ |
| 207 | 'message_pump_glib_unittest.cc', |
[email protected] | 7464805 | 2010-08-10 19:37:51 | [diff] [blame] | 208 | 'crypto/rsa_private_key_nss_unittest.cc', |
[email protected] | b44d5cc | 2009-06-15 10:30:44 | [diff] [blame] | 209 | ] |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 210 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 211 | # This is needed to trigger the dll copy step on windows. |
| 212 | # TODO(mark): This should not be necessary. |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 213 | ['OS == "win"', { |
| 214 | 'dependencies': [ |
[email protected] | 28062949 | 2009-09-09 06:49:08 | [diff] [blame] | 215 | '../third_party/icu/icu.gyp:icudata', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 216 | ], |
| 217 | 'sources!': [ |
[email protected] | ef73044e | 2010-03-11 15:25:54 | [diff] [blame] | 218 | 'dir_reader_posix_unittest.cc', |
[email protected] | 3f04f2b | 2009-04-30 19:40:03 | [diff] [blame] | 219 | 'file_descriptor_shuffle_unittest.cc', |
[email protected] | 9f2ca2b | 2010-12-18 19:53:18 | [diff] [blame] | 220 | 'worker_pool_posix_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 221 | ], |
| 222 | }, { # OS != "win" |
[email protected] | ce0e7246 | 2010-10-16 03:46:05 | [diff] [blame] | 223 | 'sources/': [ |
| 224 | ['exclude', '^win/'], |
| 225 | ], |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 226 | 'sources!': [ |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 227 | 'object_watcher_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 228 | 'system_monitor_unittest.cc', |
| 229 | 'time_win_unittest.cc', |
[email protected] | 3e56955 | 2010-05-07 20:25:49 | [diff] [blame] | 230 | 'trace_event_win_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 231 | 'win_util_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 232 | ], |
| 233 | }], |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 234 | [ 'use_openssl==1', { |
| 235 | 'sources!': [ |
| 236 | 'crypto/rsa_private_key_nss_unittest.cc', |
| 237 | ], |
| 238 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 239 | ], |
| 240 | }, |
[email protected] | e8ef09a | 2009-03-16 23:46:45 | [diff] [blame] | 241 | { |
| 242 | 'target_name': 'test_support_base', |
[email protected] | 653bd5f03 | 2009-04-08 12:55:49 | [diff] [blame] | 243 | 'type': '<(library)', |
[email protected] | e8ef09a | 2009-03-16 23:46:45 | [diff] [blame] | 244 | 'dependencies': [ |
| 245 | 'base', |
[email protected] | afa8020c | 2010-08-16 04:42:26 | [diff] [blame] | 246 | 'base_i18n', |
[email protected] | 6fa18d1 | 2010-08-16 04:18:41 | [diff] [blame] | 247 | '../testing/gmock.gyp:gmock', |
| 248 | '../testing/gtest.gyp:gtest', |
[email protected] | 7d1ba939 | 2009-08-03 18:35:06 | [diff] [blame] | 249 | ], |
[email protected] | afa8020c | 2010-08-16 04:42:26 | [diff] [blame] | 250 | 'conditions': [ |
| 251 | ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
| 252 | 'dependencies': [ |
| 253 | # test_suite initializes GTK. |
| 254 | '../build/linux/system.gyp:gtk', |
| 255 | ], |
| 256 | }], |
| 257 | ], |
[email protected] | 7d1ba939 | 2009-08-03 18:35:06 | [diff] [blame] | 258 | 'sources': [ |
[email protected] | bc052ef5 | 2010-10-10 02:42:32 | [diff] [blame] | 259 | 'perftimer.cc', |
[email protected] | a366880 | 2010-12-18 01:18:29 | [diff] [blame] | 260 | 'test/mock_chrome_application_mac.h', |
| 261 | 'test/mock_chrome_application_mac.mm', |
[email protected] | 20e1491 | 2010-08-17 19:40:11 | [diff] [blame] | 262 | 'test/multiprocess_test.cc', |
| 263 | 'test/multiprocess_test.h', |
[email protected] | 99cc51e | 2010-10-10 00:21:35 | [diff] [blame] | 264 | 'test/perf_test_suite.cc', |
[email protected] | 20e1491 | 2010-08-17 19:40:11 | [diff] [blame] | 265 | 'test/perf_test_suite.h', |
[email protected] | fb895c6 | 2009-10-09 18:20:30 | [diff] [blame] | 266 | 'test/test_file_util.h', |
| 267 | 'test/test_file_util_linux.cc', |
| 268 | 'test/test_file_util_mac.cc', |
| 269 | 'test/test_file_util_posix.cc', |
| 270 | 'test/test_file_util_win.cc', |
[email protected] | 6fa18d1 | 2010-08-16 04:18:41 | [diff] [blame] | 271 | 'test/test_suite.cc', |
| 272 | 'test/test_suite.h', |
[email protected] | cbb9f50f | 2010-10-05 19:03:05 | [diff] [blame] | 273 | 'test/test_switches.cc', |
| 274 | 'test/test_switches.h', |
| 275 | 'test/test_timeouts.cc', |
| 276 | 'test/test_timeouts.h', |
[email protected] | 7d1ba939 | 2009-08-03 18:35:06 | [diff] [blame] | 277 | ], |
[email protected] | 7d1ba939 | 2009-08-03 18:35:06 | [diff] [blame] | 278 | }, |
| 279 | { |
| 280 | 'target_name': 'test_support_perf', |
| 281 | 'type': '<(library)', |
| 282 | 'dependencies': [ |
| 283 | 'base', |
[email protected] | e8ef09a | 2009-03-16 23:46:45 | [diff] [blame] | 284 | '../testing/gtest.gyp:gtest', |
| 285 | ], |
| 286 | 'sources': [ |
| 287 | 'perftimer.cc', |
[email protected] | fb895c6 | 2009-10-09 18:20:30 | [diff] [blame] | 288 | 'test/run_all_perftests.cc', |
[email protected] | e8ef09a | 2009-03-16 23:46:45 | [diff] [blame] | 289 | ], |
| 290 | 'direct_dependent_settings': { |
| 291 | 'defines': [ |
| 292 | 'PERF_TEST', |
| 293 | ], |
| 294 | }, |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 295 | 'conditions': [ |
[email protected] | b5c72b82 | 2010-02-18 16:11:37 | [diff] [blame] | 296 | ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 297 | 'dependencies': [ |
| 298 | # Needed to handle the #include chain: |
[email protected] | fb895c6 | 2009-10-09 18:20:30 | [diff] [blame] | 299 | # base/test/perf_test_suite.h |
| 300 | # base/test/test_suite.h |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 301 | # gtk/gtk.h |
| 302 | '../build/linux/system.gyp:gtk', |
| 303 | ], |
| 304 | }], |
| 305 | ], |
[email protected] | e8ef09a | 2009-03-16 23:46:45 | [diff] [blame] | 306 | }, |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 307 | ], |
| 308 | 'conditions': [ |
| 309 | [ 'OS == "win"', { |
| 310 | 'targets': [ |
| 311 | { |
| 312 | 'target_name': 'debug_message', |
| 313 | 'type': 'executable', |
| 314 | 'sources': [ |
| 315 | 'debug_message.cc', |
| 316 | ], |
[email protected] | 3f8bfc36 | 2009-05-22 02:39:14 | [diff] [blame] | 317 | 'msvs_settings': { |
| 318 | 'VCLinkerTool': { |
| 319 | 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 320 | }, |
| 321 | }, |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 322 | }, |
| 323 | ], |
| 324 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 325 | ], |
| 326 | } |
[email protected] | f5c990c | 2009-10-06 03:02:38 | [diff] [blame] | 327 | |
| 328 | # Local Variables: |
| 329 | # tab-width:2 |
| 330 | # indent-tabs-mode:nil |
| 331 | # End: |
| 332 | # vim: set expandtab tabstop=2 shiftwidth=2: |