brettw@chromium.org | e439a96 | 2011-01-02 08:16:20 +0900 | [diff] [blame] | 1 | # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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 | 'target_defaults': { |
| 7 | 'variables': { |
| 8 | 'base_target': 0, |
| 9 | }, |
| 10 | 'target_conditions': [ |
sky@chromium.org | 1987a75 | 2010-07-02 05:14:50 +0900 | [diff] [blame] | 11 | # This part is shared between the targets defined below. |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 12 | ['base_target==1', { |
| 13 | 'sources': [ |
| 14 | '../build/build_config.h', |
| 15 | 'third_party/dmg_fp/dmg_fp.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 16 | 'third_party/dmg_fp/g_fmt.cc', |
siggi@chromium.org | b23c704 | 2010-11-26 02:37:47 +0900 | [diff] [blame] | 17 | 'third_party/dmg_fp/dtoa_wrapper.cc', |
ensonic@google.com | 24ba196 | 2011-09-29 01:28:40 +0900 | [diff] [blame] | 18 | 'third_party/dynamic_annotations/dynamic_annotations.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 19 | 'third_party/icu/icu_utf.cc', |
| 20 | 'third_party/icu/icu_utf.h', |
| 21 | 'third_party/nspr/prtime.cc', |
| 22 | 'third_party/nspr/prtime.h', |
ensonic@google.com | 24ba196 | 2011-09-29 01:28:40 +0900 | [diff] [blame] | 23 | 'third_party/nspr/prcpucfg_linux.h', |
| 24 | 'third_party/xdg_mime/xdgmime.h', |
joth@chromium.org | ed27f3a | 2011-09-09 19:17:35 +0900 | [diff] [blame] | 25 | 'android/scoped_java_ref.cc', |
| 26 | 'android/scoped_java_ref.h', |
| 27 | 'android/jni_android.cc', |
| 28 | 'android/jni_android.h', |
| 29 | 'android/jni_array.cc', |
| 30 | 'android/jni_array.h', |
| 31 | 'android/jni_string.cc', |
| 32 | 'android/jni_string.h', |
| 33 | 'android/path_utils.cc', |
| 34 | 'android/path_utils.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 35 | 'at_exit.cc', |
| 36 | 'at_exit.h', |
| 37 | 'atomic_ref_count.h', |
| 38 | 'atomic_sequence_num.h', |
| 39 | 'atomicops.h', |
thestig@chromium.org | b6ba943 | 2010-04-03 10:05:39 +0900 | [diff] [blame] | 40 | 'atomicops_internals_x86_gcc.cc', |
ensonic@google.com | 24ba196 | 2011-09-29 01:28:40 +0900 | [diff] [blame] | 41 | 'atomicops_internals_x86_gcc.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 42 | 'atomicops_internals_x86_msvc.h', |
darin@chromium.org | e585bed | 2011-08-06 00:34:00 +0900 | [diff] [blame] | 43 | 'base_export.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 44 | 'base_paths.cc', |
| 45 | 'base_paths.h', |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 46 | 'base_paths_android.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 47 | 'base_paths_mac.h', |
| 48 | 'base_paths_mac.mm', |
brettw@chromium.org | e47345a | 2010-10-16 13:56:06 +0900 | [diff] [blame] | 49 | 'base_paths_linux.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 50 | 'base_paths_win.cc', |
| 51 | 'base_paths_win.h', |
ensonic@google.com | 24ba196 | 2011-09-29 01:28:40 +0900 | [diff] [blame] | 52 | 'base_switches.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 53 | 'basictypes.h', |
ajwong@chromium.org | e2cca63 | 2011-02-15 10:27:38 +0900 | [diff] [blame] | 54 | 'bind.h', |
| 55 | 'bind_helpers.h', |
| 56 | 'bind_internal.h', |
ajwong@chromium.org | cb17534 | 2011-02-27 10:25:59 +0900 | [diff] [blame] | 57 | 'bind_internal_win.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 58 | 'bits.h', |
akalin@chromium.org | 6ed4f88 | 2010-02-19 12:15:59 +0900 | [diff] [blame] | 59 | 'callback.h', |
ajwong@chromium.org | fa0ff43 | 2011-02-19 08:29:31 +0900 | [diff] [blame] | 60 | 'callback_internal.cc', |
| 61 | 'callback_internal.h', |
ajwong@chromium.org | e2cca63 | 2011-02-15 10:27:38 +0900 | [diff] [blame] | 62 | 'callback_old.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 63 | 'command_line.cc', |
| 64 | 'command_line.h', |
| 65 | 'compiler_specific.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 66 | 'cpu.cc', |
| 67 | 'cpu.h', |
apatrick@chromium.org | 8716404 | 2011-05-20 07:28:25 +0900 | [diff] [blame] | 68 | 'debug/alias.cc', |
| 69 | 'debug/alias.h', |
brettw@chromium.org | 28078b6 | 2011-01-02 04:55:22 +0900 | [diff] [blame] | 70 | 'debug/debug_on_start_win.cc', |
| 71 | 'debug/debug_on_start_win.h', |
brettw@chromium.org | 2f49b12 | 2010-10-26 13:07:50 +0900 | [diff] [blame] | 72 | 'debug/debugger.cc', |
| 73 | 'debug/debugger.h', |
| 74 | 'debug/debugger_posix.cc', |
| 75 | 'debug/debugger_win.cc', |
| 76 | 'debug/leak_annotations.h', |
| 77 | 'debug/leak_tracker.h', |
davemoore@chromium.org | eeb51f7 | 2011-02-02 08:35:25 +0900 | [diff] [blame] | 78 | 'debug/profiler.cc', |
| 79 | 'debug/profiler.h', |
brettw@chromium.org | 2f49b12 | 2010-10-26 13:07:50 +0900 | [diff] [blame] | 80 | 'debug/stack_trace.cc', |
| 81 | 'debug/stack_trace.h', |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 82 | 'debug/stack_trace_android.cc', |
brettw@chromium.org | 2f49b12 | 2010-10-26 13:07:50 +0900 | [diff] [blame] | 83 | 'debug/stack_trace_posix.cc', |
| 84 | 'debug/stack_trace_win.cc', |
| 85 | 'debug/trace_event_win.cc', |
| 86 | 'debug/trace_event.cc', |
| 87 | 'debug/trace_event.h', |
agl@chromium.org | 4300a31 | 2010-03-12 00:25:54 +0900 | [diff] [blame] | 88 | 'dir_reader_fallback.h', |
| 89 | 'dir_reader_linux.h', |
| 90 | 'dir_reader_posix.h', |
ensonic@google.com | 24ba196 | 2011-09-29 01:28:40 +0900 | [diff] [blame] | 91 | 'eintr_wrapper.h', |
tfarina@chromium.org | 6d36c5d | 2010-08-03 12:00:50 +0900 | [diff] [blame] | 92 | 'environment.cc', |
| 93 | 'environment.h', |
ensonic@google.com | 24ba196 | 2011-09-29 01:28:40 +0900 | [diff] [blame] | 94 | 'file_descriptor_posix.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 95 | 'file_path.cc', |
| 96 | 'file_path.h', |
| 97 | 'file_util.cc', |
| 98 | 'file_util.h', |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 99 | 'file_util_android.cc', |
evan@chromium.org | c4e9f7c | 2010-02-23 20:34:54 +0900 | [diff] [blame] | 100 | 'file_util_deprecated.h', |
evan@chromium.org | 33b7705 | 2010-08-20 09:36:01 +0900 | [diff] [blame] | 101 | 'file_util_linux.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 102 | 'file_util_mac.mm', |
| 103 | 'file_util_posix.cc', |
| 104 | 'file_util_win.cc', |
dumi@chromium.org | c980e40 | 2010-08-21 07:42:50 +0900 | [diff] [blame] | 105 | 'file_util_proxy.cc', |
| 106 | 'file_util_proxy.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 107 | 'file_version_info.h', |
tony@chromium.org | 9f7a86f | 2010-04-14 10:46:43 +0900 | [diff] [blame] | 108 | 'file_version_info_mac.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 109 | 'file_version_info_mac.mm', |
tony@chromium.org | 9f7a86f | 2010-04-14 10:46:43 +0900 | [diff] [blame] | 110 | 'file_version_info_win.cc', |
| 111 | 'file_version_info_win.h', |
craig.schlenter@chromium.org | b2d581e | 2011-04-15 01:56:01 +0900 | [diff] [blame] | 112 | 'files/file_path_watcher.cc', |
| 113 | 'files/file_path_watcher.h', |
| 114 | 'files/file_path_watcher_linux.cc', |
| 115 | 'files/file_path_watcher_mac.cc', |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 116 | 'files/file_path_watcher_stub.cc', |
craig.schlenter@chromium.org | b2d581e | 2011-04-15 01:56:01 +0900 | [diff] [blame] | 117 | 'files/file_path_watcher_win.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 118 | 'float_util.h', |
ensonic@google.com | 24ba196 | 2011-09-29 01:28:40 +0900 | [diff] [blame] | 119 | 'format_macros.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 120 | 'global_descriptors_posix.cc', |
thestig@chromium.org | b6ba943 | 2010-04-03 10:05:39 +0900 | [diff] [blame] | 121 | 'global_descriptors_posix.h', |
phajdan.jr@chromium.org | dd43b73 | 2010-06-01 23:30:51 +0900 | [diff] [blame] | 122 | 'gtest_prod_util.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 123 | 'hash_tables.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 124 | 'id_map.h', |
erg@google.com | 8aca727 | 2010-08-19 03:33:57 +0900 | [diff] [blame] | 125 | 'json/json_reader.cc', |
| 126 | 'json/json_reader.h', |
dpranke@chromium.org | 608dee3 | 2011-10-08 03:36:00 +0900 | [diff] [blame] | 127 | 'json/json_value_serializer.cc', |
| 128 | 'json/json_value_serializer.h', |
erg@google.com | 8aca727 | 2010-08-19 03:33:57 +0900 | [diff] [blame] | 129 | 'json/json_writer.cc', |
| 130 | 'json/json_writer.h', |
| 131 | 'json/string_escape.cc', |
| 132 | 'json/string_escape.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 133 | 'lazy_instance.cc', |
| 134 | 'lazy_instance.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 135 | 'linked_list.h', |
ajwong@chromium.org | 8e2e300 | 2011-09-22 03:05:41 +0900 | [diff] [blame] | 136 | 'location.cc', |
| 137 | 'location.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 138 | 'logging.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 139 | 'logging.h', |
thestig@chromium.org | b6ba943 | 2010-04-03 10:05:39 +0900 | [diff] [blame] | 140 | 'logging_win.cc', |
rvargas@google.com | c3b6518 | 2011-03-29 08:48:44 +0900 | [diff] [blame] | 141 | 'logging_win.h', |
brettw@chromium.org | 624f0796 | 2010-12-23 09:43:36 +0900 | [diff] [blame] | 142 | 'mac/cocoa_protocols.h', |
jeremy@chromium.org | 4bed1f3 | 2011-09-11 20:29:49 +0900 | [diff] [blame] | 143 | 'mac/crash_logging.h', |
| 144 | 'mac/crash_logging.mm', |
bauerb@chromium.org | fe9f853 | 2011-03-15 18:51:50 +0900 | [diff] [blame] | 145 | 'mac/foundation_util.h', |
| 146 | 'mac/foundation_util.mm', |
brettw@chromium.org | 92d954b | 2011-01-02 03:20:14 +0900 | [diff] [blame] | 147 | 'mac/mac_util.h', |
| 148 | 'mac/mac_util.mm', |
mark@chromium.org | 2a9b20f | 2011-04-21 07:30:35 +0900 | [diff] [blame] | 149 | 'mac/objc_property_releaser.h', |
| 150 | 'mac/objc_property_releaser.mm', |
brettw@google.com | b39f6c0 | 2011-01-02 01:08:52 +0900 | [diff] [blame] | 151 | 'mac/os_crash_dumps.cc', |
| 152 | 'mac/os_crash_dumps.h', |
brettw@chromium.org | 0d4a035 | 2010-10-18 11:47:39 +0900 | [diff] [blame] | 153 | 'mac/scoped_aedesc.h', |
joth@chromium.org | b72c5f5 | 2010-11-12 21:03:54 +0900 | [diff] [blame] | 154 | 'mac/scoped_cftyperef.h', |
brettw@chromium.org | 0d4a035 | 2010-10-18 11:47:39 +0900 | [diff] [blame] | 155 | 'mac/scoped_nsautorelease_pool.h', |
| 156 | 'mac/scoped_nsautorelease_pool.mm', |
shess@chromium.org | 0318f41 | 2011-05-25 07:07:05 +0900 | [diff] [blame] | 157 | 'mac/scoped_nsexception_enabler.h', |
| 158 | 'mac/scoped_nsexception_enabler.mm', |
thakis@chromium.org | 281e210 | 2010-01-12 09:39:15 +0900 | [diff] [blame] | 159 | 'mach_ipc_mac.h', |
| 160 | 'mach_ipc_mac.mm', |
levin@chromium.org | 5c52868 | 2011-03-28 10:54:15 +0900 | [diff] [blame] | 161 | 'memory/linked_ptr.h', |
agayev@chromium.org | 751c227 | 2011-04-28 03:37:03 +0900 | [diff] [blame] | 162 | 'memory/mru_cache.h', |
levin@chromium.org | 5c52868 | 2011-03-28 10:54:15 +0900 | [diff] [blame] | 163 | 'memory/raw_scoped_refptr_mismatch_checker.h', |
| 164 | 'memory/ref_counted.cc', |
| 165 | 'memory/ref_counted.h', |
| 166 | 'memory/ref_counted_memory.cc', |
| 167 | 'memory/ref_counted_memory.h', |
| 168 | 'memory/scoped_callback_factory.h', |
| 169 | 'memory/scoped_handle.h', |
levin@chromium.org | 5c52868 | 2011-03-28 10:54:15 +0900 | [diff] [blame] | 170 | 'memory/scoped_nsobject.h', |
| 171 | 'memory/scoped_open_process.h', |
| 172 | 'memory/scoped_ptr.h', |
levin@chromium.org | 5c52868 | 2011-03-28 10:54:15 +0900 | [diff] [blame] | 173 | 'memory/scoped_vector.h', |
| 174 | 'memory/singleton.h', |
| 175 | 'memory/weak_ptr.cc', |
| 176 | 'memory/weak_ptr.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 177 | 'message_loop.cc', |
| 178 | 'message_loop.h', |
erg@google.com | 7191523 | 2010-09-29 07:54:58 +0900 | [diff] [blame] | 179 | 'message_loop_proxy.cc', |
sanjeevr@chromium.org | 11e02e6 | 2010-04-29 12:31:34 +0900 | [diff] [blame] | 180 | 'message_loop_proxy.h', |
sanjeevr@chromium.org | d393cc4 | 2010-05-07 03:34:24 +0900 | [diff] [blame] | 181 | 'message_loop_proxy_impl.cc', |
| 182 | 'message_loop_proxy_impl.h', |
erg@google.com | 7191523 | 2010-09-29 07:54:58 +0900 | [diff] [blame] | 183 | 'message_pump.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 184 | 'message_pump.h', |
| 185 | 'message_pump_default.cc', |
| 186 | 'message_pump_default.h', |
| 187 | 'message_pump_win.cc', |
| 188 | 'message_pump_win.h', |
brettw@chromium.org | 275c2ec | 2010-10-14 13:38:38 +0900 | [diff] [blame] | 189 | 'metrics/histogram.cc', |
| 190 | 'metrics/histogram.h', |
| 191 | 'metrics/stats_counters.cc', |
| 192 | 'metrics/stats_counters.h', |
| 193 | 'metrics/stats_table.cc', |
| 194 | 'metrics/stats_table.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 195 | 'mime_util.h', |
evan@chromium.org | 73aec0e | 2010-04-23 08:28:05 +0900 | [diff] [blame] | 196 | 'mime_util_xdg.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 197 | 'native_library.h', |
| 198 | 'native_library_linux.cc', |
| 199 | 'native_library_mac.mm', |
| 200 | 'native_library_win.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 201 | 'observer_list.h', |
| 202 | 'observer_list_threadsafe.h', |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 203 | 'os_compat_android.cc', |
| 204 | 'os_compat_android.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 205 | 'path_service.cc', |
| 206 | 'path_service.h', |
| 207 | 'pickle.cc', |
| 208 | 'pickle.h', |
erg@google.com | d5fffd4 | 2011-01-08 03:06:45 +0900 | [diff] [blame] | 209 | 'platform_file.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 210 | 'platform_file.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 211 | 'platform_file_posix.cc', |
thestig@chromium.org | b6ba943 | 2010-04-03 10:05:39 +0900 | [diff] [blame] | 212 | 'platform_file_win.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 213 | 'port.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 214 | 'process.h', |
| 215 | 'process_linux.cc', |
| 216 | 'process_posix.cc', |
maruel@chromium.org | 9cf11e8 | 2010-04-30 02:44:42 +0900 | [diff] [blame] | 217 | 'process_util.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 218 | 'process_util.h', |
| 219 | 'process_util_linux.cc', |
| 220 | 'process_util_mac.mm', |
mark@chromium.org | 2e9e81c | 2011-10-13 13:23:22 +0900 | [diff] [blame] | 221 | 'process_util_openbsd.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 222 | 'process_util_posix.cc', |
| 223 | 'process_util_win.cc', |
| 224 | 'process_win.cc', |
| 225 | 'rand_util.cc', |
| 226 | 'rand_util.h', |
ensonic@google.com | 24ba196 | 2011-09-29 01:28:40 +0900 | [diff] [blame] | 227 | 'rand_util_c.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 228 | 'rand_util_posix.cc', |
| 229 | 'rand_util_win.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 230 | 'safe_strerror_posix.cc', |
| 231 | 'safe_strerror_posix.h', |
thakis@chromium.org | 927d728 | 2011-05-20 08:34:17 +0900 | [diff] [blame] | 232 | 'scoped_native_library.cc', |
| 233 | 'scoped_native_library.h', |
| 234 | 'scoped_temp_dir.cc', |
| 235 | 'scoped_temp_dir.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 236 | 'sha1.h', |
wtc@chromium.org | d828db4 | 2010-06-24 06:41:40 +0900 | [diff] [blame] | 237 | 'sha1_portable.cc', |
| 238 | 'sha1_win.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 239 | 'shared_memory.h', |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 240 | 'shared_memory_android.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 241 | 'shared_memory_posix.cc', |
| 242 | 'shared_memory_win.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 243 | 'spin_wait.h', |
| 244 | 'stack_container.h', |
dilmah@chromium.org | dc4b970 | 2011-07-20 07:13:24 +0900 | [diff] [blame] | 245 | 'stl_util.h', |
brettw@chromium.org | cbde69a | 2010-07-31 04:28:44 +0900 | [diff] [blame] | 246 | 'string_number_conversions.cc', |
| 247 | 'string_number_conversions.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 248 | 'string_piece.cc', |
| 249 | 'string_piece.h', |
timsteele@google.com | 2205821 | 2010-01-22 04:29:25 +0900 | [diff] [blame] | 250 | 'string_split.cc', |
| 251 | 'string_split.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 252 | 'string_tokenizer.h', |
| 253 | 'string_util.cc', |
| 254 | 'string_util.h', |
ensonic@google.com | 24ba196 | 2011-09-29 01:28:40 +0900 | [diff] [blame] | 255 | 'string_util_posix.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 256 | 'string_util_win.h', |
joi@chromium.org | eb2b72d | 2010-11-18 11:15:12 +0900 | [diff] [blame] | 257 | 'stringize_macros.h', |
brettw@chromium.org | 67cbde4 | 2010-08-17 12:45:37 +0900 | [diff] [blame] | 258 | 'stringprintf.cc', |
| 259 | 'stringprintf.h', |
brettw@chromium.org | 5238c7d | 2011-01-02 15:05:39 +0900 | [diff] [blame] | 260 | 'synchronization/cancellation_flag.cc', |
| 261 | 'synchronization/cancellation_flag.h', |
brettw@chromium.org | e439a96 | 2011-01-02 08:16:20 +0900 | [diff] [blame] | 262 | 'synchronization/condition_variable.h', |
| 263 | 'synchronization/condition_variable_posix.cc', |
| 264 | 'synchronization/condition_variable_win.cc', |
| 265 | 'synchronization/lock.cc', |
| 266 | 'synchronization/lock.h', |
| 267 | 'synchronization/lock_impl.h', |
| 268 | 'synchronization/lock_impl_posix.cc', |
| 269 | 'synchronization/lock_impl_win.cc', |
brettw@chromium.org | 5238c7d | 2011-01-02 15:05:39 +0900 | [diff] [blame] | 270 | 'synchronization/waitable_event.h', |
| 271 | 'synchronization/waitable_event_posix.cc', |
| 272 | 'synchronization/waitable_event_watcher.h', |
| 273 | 'synchronization/waitable_event_watcher_posix.cc', |
| 274 | 'synchronization/waitable_event_watcher_win.cc', |
| 275 | 'synchronization/waitable_event_win.cc', |
willchan@chromium.org | 0fbb868 | 2011-05-18 16:29:56 +0900 | [diff] [blame] | 276 | 'system_monitor/system_monitor.cc', |
| 277 | 'system_monitor/system_monitor.h', |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 278 | 'system_monitor/system_monitor_android.cc', |
willchan@chromium.org | 0fbb868 | 2011-05-18 16:29:56 +0900 | [diff] [blame] | 279 | 'system_monitor/system_monitor_mac.mm', |
| 280 | 'system_monitor/system_monitor_posix.cc', |
| 281 | 'system_monitor/system_monitor_win.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 282 | 'sys_info.h', |
| 283 | 'sys_info_chromeos.cc', |
| 284 | 'sys_info_freebsd.cc', |
| 285 | 'sys_info_linux.cc', |
| 286 | 'sys_info_mac.cc', |
| 287 | 'sys_info_openbsd.cc', |
| 288 | 'sys_info_posix.cc', |
| 289 | 'sys_info_win.cc', |
| 290 | 'sys_string_conversions.h', |
| 291 | 'sys_string_conversions_linux.cc', |
| 292 | 'sys_string_conversions_mac.mm', |
| 293 | 'sys_string_conversions_win.cc', |
erg@chromium.org | 493f5f6 | 2010-07-16 06:03:54 +0900 | [diff] [blame] | 294 | 'task.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 295 | 'task.h', |
levin@chromium.org | f4cb174 | 2010-08-26 15:09:38 +0900 | [diff] [blame] | 296 | 'task_queue.cc', |
| 297 | 'task_queue.h', |
willchan@chromium.org | b9b021a | 2010-06-16 04:39:24 +0900 | [diff] [blame] | 298 | 'template_util.h', |
brettw@chromium.org | 088ae93 | 2011-01-01 13:48:49 +0900 | [diff] [blame] | 299 | 'threading/non_thread_safe.h', |
joi@chromium.org | b5d63f7 | 2011-03-04 08:38:51 +0900 | [diff] [blame] | 300 | 'threading/non_thread_safe_impl.cc', |
| 301 | 'threading/non_thread_safe_impl.h', |
brettw@chromium.org | 6139182 | 2011-01-01 05:02:16 +0900 | [diff] [blame] | 302 | 'threading/platform_thread.h', |
| 303 | 'threading/platform_thread_mac.mm', |
| 304 | 'threading/platform_thread_posix.cc', |
| 305 | 'threading/platform_thread_win.cc', |
joi@chromium.org | ca327c7 | 2011-10-15 02:30:37 +0900 | [diff] [blame] | 306 | 'threading/post_task_and_reply_impl.cc', |
| 307 | 'threading/post_task_and_reply_impl.h', |
brettw@chromium.org | 34f964f | 2010-12-31 03:08:36 +0900 | [diff] [blame] | 308 | 'threading/simple_thread.cc', |
| 309 | 'threading/simple_thread.h', |
brettw@chromium.org | 5b5f5e0 | 2011-01-01 10:01:06 +0900 | [diff] [blame] | 310 | 'threading/thread.cc', |
| 311 | 'threading/thread.h', |
brettw@chromium.org | 6139182 | 2011-01-01 05:02:16 +0900 | [diff] [blame] | 312 | 'threading/thread_checker.h', |
joi@chromium.org | b5d63f7 | 2011-03-04 08:38:51 +0900 | [diff] [blame] | 313 | 'threading/thread_checker_impl.cc', |
| 314 | 'threading/thread_checker_impl.h', |
brettw@chromium.org | 5b5f5e0 | 2011-01-01 10:01:06 +0900 | [diff] [blame] | 315 | 'threading/thread_collision_warner.cc', |
| 316 | 'threading/thread_collision_warner.h', |
brettw@chromium.org | 6396558 | 2010-12-31 07:18:56 +0900 | [diff] [blame] | 317 | 'threading/thread_local.h', |
| 318 | 'threading/thread_local_posix.cc', |
| 319 | 'threading/thread_local_storage.h', |
| 320 | 'threading/thread_local_storage_posix.cc', |
| 321 | 'threading/thread_local_storage_win.cc', |
| 322 | 'threading/thread_local_win.cc', |
brettw@chromium.org | 5b5f5e0 | 2011-01-01 10:01:06 +0900 | [diff] [blame] | 323 | 'threading/thread_restrictions.h', |
| 324 | 'threading/thread_restrictions.cc', |
brettw@chromium.org | 34f964f | 2010-12-31 03:08:36 +0900 | [diff] [blame] | 325 | 'threading/watchdog.cc', |
| 326 | 'threading/watchdog.h', |
| 327 | 'threading/worker_pool.h', |
joi@chromium.org | ca327c7 | 2011-10-15 02:30:37 +0900 | [diff] [blame] | 328 | 'threading/worker_pool.cc', |
brettw@chromium.org | 34f964f | 2010-12-31 03:08:36 +0900 | [diff] [blame] | 329 | 'threading/worker_pool_posix.cc', |
| 330 | 'threading/worker_pool_posix.h', |
| 331 | 'threading/worker_pool_win.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 332 | 'time.cc', |
| 333 | 'time.h', |
| 334 | 'time_win.cc', |
| 335 | 'timer.cc', |
| 336 | 'timer.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 337 | 'tracked_objects.cc', |
| 338 | 'tracked_objects.h', |
| 339 | 'tuple.h', |
| 340 | 'utf_offset_string_conversions.cc', |
| 341 | 'utf_offset_string_conversions.h', |
| 342 | 'utf_string_conversion_utils.cc', |
| 343 | 'utf_string_conversion_utils.h', |
| 344 | 'utf_string_conversions.cc', |
| 345 | 'utf_string_conversions.h', |
robertshield@chromium.org | 9fb9e37 | 2010-03-23 05:12:50 +0900 | [diff] [blame] | 346 | 'values.cc', |
| 347 | 'values.h', |
bauerb@chromium.org | fe9f853 | 2011-03-15 18:51:50 +0900 | [diff] [blame] | 348 | 'value_conversions.cc', |
| 349 | 'value_conversions.h', |
robertshield@chromium.org | a9914a3 | 2010-11-11 02:02:19 +0900 | [diff] [blame] | 350 | 'version.cc', |
| 351 | 'version.h', |
akalin@chromium.org | f0ee79c | 2010-09-30 04:26:36 +0900 | [diff] [blame] | 352 | 'vlog.cc', |
| 353 | 'vlog.h', |
tfarina@chromium.org | 9be76e5 | 2011-06-25 21:18:51 +0900 | [diff] [blame] | 354 | 'nix/xdg_util.cc', |
| 355 | 'nix/xdg_util.h', |
siggi@chromium.org | 7913ed6 | 2010-11-07 00:39:40 +0900 | [diff] [blame] | 356 | 'win/event_trace_consumer.h', |
| 357 | 'win/event_trace_controller.cc', |
| 358 | 'win/event_trace_controller.h', |
| 359 | 'win/event_trace_provider.cc', |
| 360 | 'win/event_trace_provider.h', |
rvargas@google.com | 57a4396 | 2011-04-05 07:42:46 +0900 | [diff] [blame] | 361 | 'win/i18n.cc', |
| 362 | 'win/i18n.h', |
tfarina@chromium.org | 9be76e5 | 2011-06-25 21:18:51 +0900 | [diff] [blame] | 363 | 'win/iat_patch_function.cc', |
| 364 | 'win/iat_patch_function.h', |
rvargas@google.com | 57a4396 | 2011-04-05 07:42:46 +0900 | [diff] [blame] | 365 | 'win/object_watcher.cc', |
| 366 | 'win/object_watcher.h', |
brettw@chromium.org | b3a7c3e | 2010-10-17 13:41:54 +0900 | [diff] [blame] | 367 | 'win/registry.cc', |
| 368 | 'win/registry.h', |
tony@chromium.org | 60658e1 | 2011-08-26 07:58:36 +0900 | [diff] [blame] | 369 | 'win/resource_util.cc', |
| 370 | 'win/resource_util.h', |
brettw@chromium.org | 4535227 | 2010-10-16 12:46:05 +0900 | [diff] [blame] | 371 | 'win/scoped_bstr.cc', |
| 372 | 'win/scoped_bstr.h', |
tommi@chromium.org | 8490832 | 2011-10-21 16:00:22 +0900 | [diff] [blame^] | 373 | 'win/scoped_co_mem.h', |
tfarina@chromium.org | 9be76e5 | 2011-06-25 21:18:51 +0900 | [diff] [blame] | 374 | 'win/scoped_com_initializer.h', |
brettw@chromium.org | 4535227 | 2010-10-16 12:46:05 +0900 | [diff] [blame] | 375 | 'win/scoped_comptr.h', |
| 376 | 'win/scoped_gdi_object.h', |
| 377 | 'win/scoped_handle.h', |
| 378 | 'win/scoped_hdc.h', |
| 379 | 'win/scoped_hglobal.h', |
yosin@chromium.org | 67db53e | 2011-10-04 13:43:12 +0900 | [diff] [blame] | 380 | 'win/scoped_select_object.h', |
brettw@chromium.org | 4535227 | 2010-10-16 12:46:05 +0900 | [diff] [blame] | 381 | 'win/scoped_variant.cc', |
| 382 | 'win/scoped_variant.h', |
tfarina@chromium.org | 533d02c | 2011-06-25 10:38:59 +0900 | [diff] [blame] | 383 | 'win/windows_version.cc', |
| 384 | 'win/windows_version.h', |
tfarina@chromium.org | 9be76e5 | 2011-06-25 21:18:51 +0900 | [diff] [blame] | 385 | 'win/win_util.cc', |
| 386 | 'win/win_util.h', |
rvargas@google.com | ed1496e | 2011-03-17 09:34:09 +0900 | [diff] [blame] | 387 | 'win/wrapped_window_proc.cc', |
| 388 | 'win/wrapped_window_proc.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 389 | ], |
darin@chromium.org | 37acbb1 | 2011-07-21 03:38:24 +0900 | [diff] [blame] | 390 | 'defines': [ |
| 391 | 'BASE_IMPLEMENTATION', |
| 392 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 393 | 'include_dirs': [ |
| 394 | '..', |
| 395 | ], |
| 396 | # These warnings are needed for the files in third_party\dmg_fp. |
| 397 | 'msvs_disabled_warnings': [ |
| 398 | 4244, 4554, 4018, 4102, |
| 399 | ], |
| 400 | 'mac_framework_dirs': [ |
| 401 | '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks', |
| 402 | ], |
| 403 | 'conditions': [ |
dnicoara@chromium.org | 63a7b5d | 2011-08-12 03:20:22 +0900 | [diff] [blame] | 404 | [ 'use_wayland == 1', { |
| 405 | 'sources!': [ |
| 406 | 'message_pump_gtk.cc', |
| 407 | 'message_pump_x.cc', |
| 408 | ], |
| 409 | }], |
sadrul@chromium.org | 847a572 | 2011-09-21 09:17:19 +0900 | [diff] [blame] | 410 | [ 'use_glib==0', { |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 411 | 'sources/': [ |
brettw@chromium.org | e47345a | 2010-10-16 13:56:06 +0900 | [diff] [blame] | 412 | ['exclude', '^nix/'], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 413 | ], |
| 414 | 'sources!': [ |
| 415 | 'atomicops_internals_x86_gcc.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 416 | 'message_pump_glib.cc', |
sadrul@chromium.org | f7f3b26 | 2011-06-25 05:10:25 +0900 | [diff] [blame] | 417 | 'message_pump_x.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 418 | ], |
tony@chromium.org | 9f7a86f | 2010-04-14 10:46:43 +0900 | [diff] [blame] | 419 | }], |
sadrul@chromium.org | 847a572 | 2011-09-21 09:17:19 +0900 | [diff] [blame] | 420 | [ 'toolkit_uses_gtk==0', { |
| 421 | 'sources!': [ 'message_pump_gtk.cc', ], |
| 422 | }], |
sky@chromium.org | ad4fb90 | 2011-09-22 01:31:11 +0900 | [diff] [blame] | 423 | [ '(touchui==0 and use_aura==0) or OS == "win"', { |
sadrul@chromium.org | f7f3b26 | 2011-06-25 05:10:25 +0900 | [diff] [blame] | 424 | 'sources!' : [ 'message_pump_x.cc', ], |
| 425 | }, { |
| 426 | 'sources!' : [ 'message_pump_gtk.cc', ], |
sadrul@chromium.org | 847a572 | 2011-09-21 09:17:19 +0900 | [diff] [blame] | 427 | 'sources/' : [ [ 'include', 'message_pump_x.cc', ] ], |
sadrul@chromium.org | f7f3b26 | 2011-06-25 05:10:25 +0900 | [diff] [blame] | 428 | }], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 429 | [ 'OS != "linux"', { |
| 430 | 'sources!': [ |
| 431 | # Not automatically excluded by the *linux.cc rules. |
evan@chromium.org | 73aec0e | 2010-04-23 08:28:05 +0900 | [diff] [blame] | 432 | 'linux_util.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 433 | ], |
| 434 | }, |
| 435 | ], |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 436 | [ 'OS == "android"', { |
| 437 | 'sources/': [ |
| 438 | ['exclude', '^debug/stack_trace.cc'], |
| 439 | ['exclude', '^debug/stack_trace_posix.cc'], |
| 440 | ['exclude', '^system_monitor/system_monitor_posix.cc'], |
| 441 | ['include', '^native_library_linux.cc'], |
| 442 | ['include', '^process_util_linux.cc'], |
| 443 | ['include', '^sys_info_linux.cc'], |
| 444 | ['include', '^sys_string_conversions_linux.cc'], |
| 445 | ['include', '^worker_pool_linux.cc'], |
| 446 | # TODO(michaelbai): The below files are excluded because of the |
| 447 | # missing JNI, add them back when JNI is ready. |
| 448 | ['exclude', '^android/'], |
| 449 | ['exclude', '^message_pump_android.cc'], |
| 450 | ['exclude', '^base_paths_android.cc'], |
| 451 | ['exclude', '^debug/stack_trace_android.cc'], |
| 452 | ], |
| 453 | }], |
rsesek@chromium.org | 56a552f | 2010-08-14 00:24:53 +0900 | [diff] [blame] | 454 | [ 'OS != "mac"', { |
| 455 | 'sources!': [ |
sadrul@chromium.org | 9bb2c1a | 2011-05-25 09:20:42 +0900 | [diff] [blame] | 456 | 'mac/scoped_aedesc.h' |
rsesek@chromium.org | 56a552f | 2010-08-14 00:24:53 +0900 | [diff] [blame] | 457 | ], |
| 458 | }], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 459 | # For now, just test the *BSD platforms enough to exclude them. |
| 460 | # Subsequent changes will include them further. |
| 461 | [ 'OS != "freebsd"', { |
| 462 | 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], |
| 463 | }, |
| 464 | ], |
| 465 | [ 'OS != "openbsd"', { |
| 466 | 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], |
| 467 | }, |
| 468 | ], |
brettw@chromium.org | 4535227 | 2010-10-16 12:46:05 +0900 | [diff] [blame] | 469 | ['OS != "win"', { |
| 470 | 'sources/': [ ['exclude', '^win/'] ], |
| 471 | }, |
| 472 | ], |
bulach@chromium.org | 32050d8 | 2011-08-09 01:13:54 +0900 | [diff] [blame] | 473 | ['OS != "android"', { |
| 474 | 'sources/': [ ['exclude', '^android/'] ], |
| 475 | }, |
| 476 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 477 | [ 'OS == "win"', { |
brettw@chromium.org | acb14c2 | 2010-10-15 10:59:15 +0900 | [diff] [blame] | 478 | 'include_dirs': [ |
| 479 | '<(DEPTH)/third_party/wtl/include', |
| 480 | ], |
| 481 | 'sources!': [ |
| 482 | 'event_recorder_stubs.cc', |
| 483 | 'file_descriptor_shuffle.cc', |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 484 | 'files/file_path_watcher_stub.cc', |
brettw@chromium.org | acb14c2 | 2010-10-15 10:59:15 +0900 | [diff] [blame] | 485 | 'message_pump_libevent.cc', |
| 486 | # Not using sha1_win.cc because it may have caused a |
| 487 | # regression to page cycler moz. |
| 488 | 'sha1_win.cc', |
| 489 | 'string16.cc', |
brettw@chromium.org | acb14c2 | 2010-10-15 10:59:15 +0900 | [diff] [blame] | 490 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 491 | },], |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 492 | [ 'OS == "linux"', { |
craig.schlenter@chromium.org | b2d581e | 2011-04-15 01:56:01 +0900 | [diff] [blame] | 493 | 'sources!': [ |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 494 | 'files/file_path_watcher_stub.cc', |
craig.schlenter@chromium.org | b2d581e | 2011-04-15 01:56:01 +0900 | [diff] [blame] | 495 | ], |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 496 | }], |
| 497 | [ 'OS == "mac"', { |
| 498 | 'sources!': [ |
mark@chromium.org | 639d3b5 | 2011-05-13 03:18:34 +0900 | [diff] [blame] | 499 | 'files/file_path_watcher_stub.cc', |
craig.schlenter@chromium.org | b2d581e | 2011-04-15 01:56:01 +0900 | [diff] [blame] | 500 | ], |
| 501 | }], |
mark@chromium.org | 2e9e81c | 2011-10-13 13:23:22 +0900 | [diff] [blame] | 502 | [ 'OS == "openbsd"', { |
| 503 | 'sources/': [ |
| 504 | ['include', '^base_paths_linux\\.cc$'], |
mark@chromium.org | 495e1ba | 2011-10-19 02:41:07 +0900 | [diff] [blame] | 505 | ['include', '^native_library_linux\\.cc$'], |
mark@chromium.org | 2e9e81c | 2011-10-13 13:23:22 +0900 | [diff] [blame] | 506 | ['include', '^sys_string_conversions_linux\\.cc$'], |
| 507 | ], |
| 508 | }], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 509 | ], |
| 510 | }], |
| 511 | ], |
| 512 | }, |
| 513 | 'targets': [ |
| 514 | { |
| 515 | 'target_name': 'base', |
rvargas@google.com | f3387ef | 2011-04-29 03:51:48 +0900 | [diff] [blame] | 516 | 'type': '<(component)', |
pkasting@chromium.org | 2680a0a | 2011-09-16 06:17:32 +0900 | [diff] [blame] | 517 | 'toolsets': ['host', 'target'], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 518 | 'variables': { |
| 519 | 'base_target': 1, |
| 520 | }, |
| 521 | 'dependencies': [ |
rvargas@google.com | 29b1009 | 2011-05-27 07:03:28 +0900 | [diff] [blame] | 522 | 'base_static', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 523 | '../third_party/modp_b64/modp_b64.gyp:modp_b64', |
tony@chromium.org | 2ddfe8c | 2010-05-19 17:33:37 +0900 | [diff] [blame] | 524 | 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 525 | ], |
| 526 | # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 527 | # 64-bit target, but it doesn't work due to a bug in gyp |
| 528 | 'direct_dependent_settings': { |
| 529 | 'include_dirs': [ |
| 530 | '..', |
| 531 | ], |
| 532 | }, |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 533 | 'conditions': [ |
sadrul@chromium.org | 847a572 | 2011-09-21 09:17:19 +0900 | [diff] [blame] | 534 | [ 'use_glib==1', { |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 535 | 'conditions': [ |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 536 | [ 'chromeos==1', { |
| 537 | 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
| 538 | }, |
| 539 | ], |
thestig@chromium.org | bbe65c6 | 2010-07-02 10:12:18 +0900 | [diff] [blame] | 540 | [ 'linux_use_tcmalloc==0', { |
| 541 | 'defines': [ |
| 542 | 'NO_TCMALLOC', |
| 543 | ], |
| 544 | 'direct_dependent_settings': { |
| 545 | 'defines': [ |
| 546 | 'NO_TCMALLOC', |
| 547 | ], |
| 548 | }, |
| 549 | }, |
| 550 | ], |
sadrul@chromium.org | 847a572 | 2011-09-21 09:17:19 +0900 | [diff] [blame] | 551 | [ 'toolkit_uses_gtk==1', { |
| 552 | 'dependencies': [ |
| 553 | '../build/linux/system.gyp:gtk', |
| 554 | ], |
| 555 | 'export_dependent_settings': [ |
| 556 | '../build/linux/system.gyp:gtk', |
| 557 | ], |
| 558 | }], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 559 | ], |
| 560 | 'dependencies': [ |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 561 | 'symbolize', |
piman@chromium.org | 52d7862 | 2011-09-20 04:20:38 +0900 | [diff] [blame] | 562 | '../build/util/build_util.gyp:lastchange#target', |
sadrul@chromium.org | 847a572 | 2011-09-21 09:17:19 +0900 | [diff] [blame] | 563 | '../build/linux/system.gyp:glib', |
rjkroege@google.com | 3080f44 | 2010-10-23 01:17:47 +0900 | [diff] [blame] | 564 | '../build/linux/system.gyp:x11', |
evan@chromium.org | c4bcf87 | 2010-02-03 11:11:40 +0900 | [diff] [blame] | 565 | 'xdg_mime', |
satorux@chromium.org | 9bd30ff | 2010-01-26 15:26:26 +0900 | [diff] [blame] | 566 | ], |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 567 | 'defines': [ |
| 568 | 'USE_SYMBOLIZE', |
| 569 | ], |
| 570 | 'cflags': [ |
| 571 | '-Wno-write-strings', |
| 572 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 573 | 'export_dependent_settings': [ |
sadrul@chromium.org | 847a572 | 2011-09-21 09:17:19 +0900 | [diff] [blame] | 574 | '../build/linux/system.gyp:glib', |
rjkroege@google.com | 3080f44 | 2010-10-23 01:17:47 +0900 | [diff] [blame] | 575 | '../build/linux/system.gyp:x11', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 576 | ], |
sadrul@chromium.org | 847a572 | 2011-09-21 09:17:19 +0900 | [diff] [blame] | 577 | }, { # use_glib!=1 |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 578 | 'sources/': [ |
| 579 | ['exclude', '/xdg_user_dirs/'], |
| 580 | ['exclude', '_nss\.cc$'], |
| 581 | ], |
| 582 | }], |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 583 | [ 'OS == "android"', { |
| 584 | 'dependencies': [ |
| 585 | 'symbolize', |
| 586 | '../third_party/ashmem/ashmem.gyp:ashmem#target', |
| 587 | ], |
| 588 | 'defines': [ |
| 589 | 'USE_SYMBOLIZE', |
| 590 | ], |
| 591 | 'link_settings': { |
| 592 | 'libraries': [ |
| 593 | '-llog', |
| 594 | ], |
| 595 | }, |
| 596 | 'conditions': [ |
| 597 | [ '_toolset=="host" and host_os=="linux"', { |
| 598 | 'dependencies': [ |
| 599 | '../build/linux/system.gyp:glib', |
| 600 | ], |
| 601 | }], |
| 602 | ], |
| 603 | }], |
jam@chromium.org | f497c95 | 2010-06-11 14:41:00 +0900 | [diff] [blame] | 604 | [ 'OS == "freebsd" or OS == "openbsd"', { |
mark@chromium.org | 2e9e81c | 2011-10-13 13:23:22 +0900 | [diff] [blame] | 605 | 'include_dirs': [ |
| 606 | '/usr/local/include', |
| 607 | ], |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 608 | 'link_settings': { |
| 609 | 'libraries': [ |
| 610 | '-L/usr/local/lib -lexecinfo', |
jam@chromium.org | f497c95 | 2010-06-11 14:41:00 +0900 | [diff] [blame] | 611 | ], |
| 612 | }, |
| 613 | }, |
| 614 | ], |
bradnelson@google.com | 65d8cbf | 2010-06-12 07:45:37 +0900 | [diff] [blame] | 615 | [ 'OS == "linux"', { |
| 616 | 'link_settings': { |
| 617 | 'libraries': [ |
| 618 | # We need rt for clock_gettime(). |
| 619 | '-lrt', |
| 620 | # For 'native_library_linux.cc' |
| 621 | '-ldl', |
| 622 | ], |
| 623 | }, |
| 624 | }], |
jam@chromium.org | f497c95 | 2010-06-11 14:41:00 +0900 | [diff] [blame] | 625 | [ 'OS == "mac"', { |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 626 | 'link_settings': { |
| 627 | 'libraries': [ |
| 628 | '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 629 | '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
| 630 | '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 631 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 632 | '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
| 633 | '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 634 | ], |
| 635 | }, |
rsesek@chromium.org | 3b26fdb | 2011-08-19 05:23:04 +0900 | [diff] [blame] | 636 | 'dependencies': [ |
| 637 | '../third_party/mach_override/mach_override.gyp:mach_override', |
| 638 | ], |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 639 | }], |
rvargas@google.com | 29b1009 | 2011-05-27 07:03:28 +0900 | [diff] [blame] | 640 | [ 'OS != "win"', { |
| 641 | 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], |
wtc@chromium.org | 6e6b783 | 2010-01-28 04:36:22 +0900 | [diff] [blame] | 642 | },], |
evan@chromium.org | 75d1cb3 | 2011-04-30 05:45:22 +0900 | [diff] [blame] | 643 | [ 'component=="shared_library"', { |
evan@chromium.org | 75d1cb3 | 2011-04-30 05:45:22 +0900 | [diff] [blame] | 644 | 'conditions': [ |
| 645 | ['OS=="win"', { |
evan@chromium.org | 75d1cb3 | 2011-04-30 05:45:22 +0900 | [diff] [blame] | 646 | 'sources!': [ |
| 647 | 'debug/debug_on_start_win.cc', |
| 648 | ], |
evan@chromium.org | 75d1cb3 | 2011-04-30 05:45:22 +0900 | [diff] [blame] | 649 | }], |
rvargas@google.com | f3387ef | 2011-04-29 03:51:48 +0900 | [diff] [blame] | 650 | ], |
rvargas@google.com | f3387ef | 2011-04-29 03:51:48 +0900 | [diff] [blame] | 651 | }], |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 652 | ], |
| 653 | 'sources': [ |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 654 | 'third_party/nspr/prcpucfg.h', |
| 655 | 'third_party/nspr/prcpucfg_win.h', |
| 656 | 'third_party/nspr/prtypes.h', |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 657 | 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', |
| 658 | 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', |
| 659 | 'auto_reset.h', |
| 660 | 'base64.cc', |
| 661 | 'base64.h', |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 662 | 'event_recorder.h', |
| 663 | 'event_recorder_stubs.cc', |
tony@chromium.org | def5e2e | 2011-08-23 02:31:43 +0900 | [diff] [blame] | 664 | 'event_recorder_win.cc', |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 665 | 'file_descriptor_shuffle.cc', |
| 666 | 'file_descriptor_shuffle.h', |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 667 | 'linux_util.cc', |
| 668 | 'linux_util.h', |
| 669 | 'md5.cc', |
| 670 | 'md5.h', |
michaelbai@google.com | 7cdf8a5 | 2011-10-04 01:25:19 +0900 | [diff] [blame] | 671 | 'message_pump_android.cc', |
| 672 | 'message_pump_android.h', |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 673 | 'message_pump_glib.cc', |
| 674 | 'message_pump_glib.h', |
sadrul@chromium.org | f7f3b26 | 2011-06-25 05:10:25 +0900 | [diff] [blame] | 675 | 'message_pump_gtk.cc', |
| 676 | 'message_pump_gtk.h', |
oshima@google.com | 9b786a5 | 2011-10-06 02:14:33 +0900 | [diff] [blame] | 677 | 'message_pump_observer.h', |
sadrul@chromium.org | f7f3b26 | 2011-06-25 05:10:25 +0900 | [diff] [blame] | 678 | 'message_pump_x.cc', |
| 679 | 'message_pump_x.h', |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 680 | 'message_pump_libevent.cc', |
| 681 | 'message_pump_libevent.h', |
| 682 | 'message_pump_mac.h', |
| 683 | 'message_pump_mac.mm', |
dnicoara@chromium.org | 63a7b5d | 2011-08-12 03:20:22 +0900 | [diff] [blame] | 684 | 'message_pump_wayland.cc', |
| 685 | 'message_pump_wayland.h', |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 686 | 'metrics/field_trial.cc', |
| 687 | 'metrics/field_trial.h', |
jam@chromium.org | 7de295e | 2010-12-02 05:22:49 +0900 | [diff] [blame] | 688 | 'string16.cc', |
| 689 | 'string16.h', |
| 690 | 'sync_socket.h', |
| 691 | 'sync_socket_win.cc', |
| 692 | 'sync_socket_posix.cc', |
| 693 | 'time_mac.cc', |
| 694 | 'time_posix.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 695 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 696 | }, |
| 697 | ], |
| 698 | 'conditions': [ |
| 699 | [ 'OS == "win"', { |
| 700 | 'targets': [ |
| 701 | { |
| 702 | 'target_name': 'base_nacl_win64', |
darin@chromium.org | 86d9f94 | 2011-07-14 05:41:28 +0900 | [diff] [blame] | 703 | 'type': '<(component)', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 704 | 'variables': { |
| 705 | 'base_target': 1, |
| 706 | }, |
timurrrr@chromium.org | f39c3ff | 2010-05-14 17:24:42 +0900 | [diff] [blame] | 707 | 'dependencies': [ |
rvargas@google.com | 57a4396 | 2011-04-05 07:42:46 +0900 | [diff] [blame] | 708 | 'base_static_win64', |
tony@chromium.org | 2ddfe8c | 2010-05-19 17:33:37 +0900 | [diff] [blame] | 709 | 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64', |
timurrrr@chromium.org | f39c3ff | 2010-05-14 17:24:42 +0900 | [diff] [blame] | 710 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 711 | # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 712 | # 32-bit target, but it doesn't work due to a bug in gyp |
| 713 | 'direct_dependent_settings': { |
| 714 | 'include_dirs': [ |
| 715 | '..', |
| 716 | ], |
| 717 | }, |
| 718 | 'defines': [ |
| 719 | '<@(nacl_win64_defines)', |
| 720 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 721 | 'configurations': { |
gregoryd@google.com | acc30ba | 2009-12-23 07:57:37 +0900 | [diff] [blame] | 722 | 'Common_Base': { |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 723 | 'msvs_target_platform': 'x64', |
| 724 | }, |
| 725 | }, |
darin@chromium.org | 86d9f94 | 2011-07-14 05:41:28 +0900 | [diff] [blame] | 726 | 'conditions': [ |
| 727 | [ 'component == "shared_library"', { |
darin@chromium.org | 86d9f94 | 2011-07-14 05:41:28 +0900 | [diff] [blame] | 728 | 'sources!': [ |
| 729 | 'debug/debug_on_start_win.cc', |
| 730 | ], |
| 731 | }], |
| 732 | ], |
| 733 | }, |
| 734 | { |
| 735 | 'target_name': 'base_i18n_nacl_win64', |
rvargas@google.com | c4b016b | 2011-09-01 07:15:48 +0900 | [diff] [blame] | 736 | 'type': '<(component)', |
darin@chromium.org | 86d9f94 | 2011-07-14 05:41:28 +0900 | [diff] [blame] | 737 | # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 738 | # 32-bit target, but it doesn't work due to a bug in gyp |
| 739 | 'direct_dependent_settings': { |
| 740 | 'include_dirs': [ |
| 741 | '..', |
| 742 | ], |
| 743 | }, |
| 744 | 'defines': [ |
| 745 | '<@(nacl_win64_defines)', |
rvargas@google.com | c4b016b | 2011-09-01 07:15:48 +0900 | [diff] [blame] | 746 | 'BASE_I18N_IMPLEMENTATION', |
darin@chromium.org | 86d9f94 | 2011-07-14 05:41:28 +0900 | [diff] [blame] | 747 | ], |
| 748 | 'include_dirs': [ |
| 749 | '..', |
| 750 | ], |
| 751 | 'sources': [ |
| 752 | 'i18n/icu_util_nacl_win64.cc', |
| 753 | ], |
| 754 | 'configurations': { |
| 755 | 'Common_Base': { |
| 756 | 'msvs_target_platform': 'x64', |
| 757 | }, |
| 758 | }, |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 759 | }, |
| 760 | ], |
| 761 | }], |
mark@chromium.org | 639d3b5 | 2011-05-13 03:18:34 +0900 | [diff] [blame] | 762 | [ 'os_posix==1 and OS!="mac"', { |
satorux@chromium.org | 9bd30ff | 2010-01-26 15:26:26 +0900 | [diff] [blame] | 763 | 'targets': [ |
| 764 | { |
| 765 | 'target_name': 'symbolize', |
evan@chromium.org | 0b930f2 | 2011-05-20 08:18:53 +0900 | [diff] [blame] | 766 | 'type': 'static_library', |
pkasting@chromium.org | 2680a0a | 2011-09-16 06:17:32 +0900 | [diff] [blame] | 767 | 'toolsets': ['host', 'target'], |
mark@chromium.org | 9cc0926 | 2010-02-17 04:13:36 +0900 | [diff] [blame] | 768 | 'variables': { |
| 769 | 'chromium_code': 0, |
| 770 | }, |
evan@chromium.org | 089339c | 2010-04-01 09:35:15 +0900 | [diff] [blame] | 771 | 'conditions': [ |
| 772 | [ 'OS == "solaris"', { |
| 773 | 'include_dirs': [ |
| 774 | '/usr/gnu/include', |
| 775 | '/usr/gnu/include/libelf', |
| 776 | ], |
| 777 | },], |
| 778 | ], |
satorux@chromium.org | 9bd30ff | 2010-01-26 15:26:26 +0900 | [diff] [blame] | 779 | 'cflags': [ |
| 780 | '-Wno-sign-compare', |
| 781 | ], |
evan@chromium.org | a6768f5 | 2010-02-06 07:23:20 +0900 | [diff] [blame] | 782 | 'cflags!': [ |
| 783 | '-Wextra', |
| 784 | ], |
satorux@chromium.org | 9bd30ff | 2010-01-26 15:26:26 +0900 | [diff] [blame] | 785 | 'sources': [ |
| 786 | 'third_party/symbolize/symbolize.cc', |
| 787 | 'third_party/symbolize/demangle.cc', |
| 788 | ], |
mark@chromium.org | 495e1ba | 2011-10-19 02:41:07 +0900 | [diff] [blame] | 789 | 'include_dirs': [ |
| 790 | '..', |
| 791 | ], |
satorux@chromium.org | 9bd30ff | 2010-01-26 15:26:26 +0900 | [diff] [blame] | 792 | }, |
evan@chromium.org | c4bcf87 | 2010-02-03 11:11:40 +0900 | [diff] [blame] | 793 | { |
| 794 | 'target_name': 'xdg_mime', |
evan@chromium.org | 0b930f2 | 2011-05-20 08:18:53 +0900 | [diff] [blame] | 795 | 'type': 'static_library', |
pkasting@chromium.org | 2680a0a | 2011-09-16 06:17:32 +0900 | [diff] [blame] | 796 | 'toolsets': ['host', 'target'], |
mark@chromium.org | 9cc0926 | 2010-02-17 04:13:36 +0900 | [diff] [blame] | 797 | 'variables': { |
| 798 | 'chromium_code': 0, |
| 799 | }, |
evan@chromium.org | a6768f5 | 2010-02-06 07:23:20 +0900 | [diff] [blame] | 800 | 'cflags!': [ |
| 801 | '-Wextra', |
| 802 | ], |
evan@chromium.org | c4bcf87 | 2010-02-03 11:11:40 +0900 | [diff] [blame] | 803 | 'sources': [ |
| 804 | 'third_party/xdg_mime/xdgmime.c', |
| 805 | 'third_party/xdg_mime/xdgmime.h', |
| 806 | 'third_party/xdg_mime/xdgmimealias.c', |
| 807 | 'third_party/xdg_mime/xdgmimealias.h', |
| 808 | 'third_party/xdg_mime/xdgmimecache.c', |
| 809 | 'third_party/xdg_mime/xdgmimecache.h', |
| 810 | 'third_party/xdg_mime/xdgmimeglob.c', |
| 811 | 'third_party/xdg_mime/xdgmimeglob.h', |
| 812 | 'third_party/xdg_mime/xdgmimeicon.c', |
| 813 | 'third_party/xdg_mime/xdgmimeicon.h', |
| 814 | 'third_party/xdg_mime/xdgmimeint.c', |
| 815 | 'third_party/xdg_mime/xdgmimeint.h', |
| 816 | 'third_party/xdg_mime/xdgmimemagic.c', |
| 817 | 'third_party/xdg_mime/xdgmimemagic.h', |
| 818 | 'third_party/xdg_mime/xdgmimeparent.c', |
| 819 | 'third_party/xdg_mime/xdgmimeparent.h', |
| 820 | ], |
| 821 | }, |
satorux@chromium.org | 9bd30ff | 2010-01-26 15:26:26 +0900 | [diff] [blame] | 822 | ], |
| 823 | }], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 824 | ], |
| 825 | } |