blob: 4aad66cdf73ac515e37ae25f2d13bf318a7d66fd [file] [log] [blame]
brettw@chromium.orge439a962011-01-02 08:16:20 +09001# Copyright (c) 2011 The Chromium Authors. All rights reserved.
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +09002# 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.org1987a752010-07-02 05:14:50 +090011 # This part is shared between the targets defined below.
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090012 ['base_target==1', {
13 'sources': [
14 '../build/build_config.h',
15 'third_party/dmg_fp/dmg_fp.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090016 'third_party/dmg_fp/g_fmt.cc',
siggi@chromium.orgb23c7042010-11-26 02:37:47 +090017 'third_party/dmg_fp/dtoa_wrapper.cc',
ensonic@google.com24ba1962011-09-29 01:28:40 +090018 'third_party/dynamic_annotations/dynamic_annotations.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090019 '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.com24ba1962011-09-29 01:28:40 +090023 'third_party/nspr/prcpucfg_linux.h',
24 'third_party/xdg_mime/xdgmime.h',
joth@chromium.orged27f3a2011-09-09 19:17:35 +090025 '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.com9e3cfd62009-12-05 07:46:50 +090035 'at_exit.cc',
36 'at_exit.h',
37 'atomic_ref_count.h',
38 'atomic_sequence_num.h',
39 'atomicops.h',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +090040 'atomicops_internals_x86_gcc.cc',
ensonic@google.com24ba1962011-09-29 01:28:40 +090041 'atomicops_internals_x86_gcc.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090042 'atomicops_internals_x86_msvc.h',
darin@chromium.orge585bed2011-08-06 00:34:00 +090043 'base_export.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090044 'base_paths.cc',
45 'base_paths.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +090046 'base_paths_android.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090047 'base_paths_mac.h',
48 'base_paths_mac.mm',
brettw@chromium.orge47345a2010-10-16 13:56:06 +090049 'base_paths_linux.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090050 'base_paths_win.cc',
51 'base_paths_win.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +090052 'base_switches.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090053 'basictypes.h',
ajwong@chromium.orge2cca632011-02-15 10:27:38 +090054 'bind.h',
55 'bind_helpers.h',
56 'bind_internal.h',
ajwong@chromium.orgcb175342011-02-27 10:25:59 +090057 'bind_internal_win.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090058 'bits.h',
akalin@chromium.org6ed4f882010-02-19 12:15:59 +090059 'callback.h',
ajwong@chromium.orgfa0ff432011-02-19 08:29:31 +090060 'callback_internal.cc',
61 'callback_internal.h',
ajwong@chromium.orge2cca632011-02-15 10:27:38 +090062 'callback_old.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090063 'command_line.cc',
64 'command_line.h',
65 'compiler_specific.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090066 'cpu.cc',
67 'cpu.h',
apatrick@chromium.org87164042011-05-20 07:28:25 +090068 'debug/alias.cc',
69 'debug/alias.h',
brettw@chromium.org28078b62011-01-02 04:55:22 +090070 'debug/debug_on_start_win.cc',
71 'debug/debug_on_start_win.h',
brettw@chromium.org2f49b122010-10-26 13:07:50 +090072 '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.orgeeb51f72011-02-02 08:35:25 +090078 'debug/profiler.cc',
79 'debug/profiler.h',
brettw@chromium.org2f49b122010-10-26 13:07:50 +090080 'debug/stack_trace.cc',
81 'debug/stack_trace.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +090082 'debug/stack_trace_android.cc',
brettw@chromium.org2f49b122010-10-26 13:07:50 +090083 '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.org4300a312010-03-12 00:25:54 +090088 'dir_reader_fallback.h',
89 'dir_reader_linux.h',
90 'dir_reader_posix.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +090091 'eintr_wrapper.h',
tfarina@chromium.org6d36c5d2010-08-03 12:00:50 +090092 'environment.cc',
93 'environment.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +090094 'file_descriptor_posix.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090095 'file_path.cc',
96 'file_path.h',
97 'file_util.cc',
98 'file_util.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +090099 'file_util_android.cc',
evan@chromium.orgc4e9f7c2010-02-23 20:34:54 +0900100 'file_util_deprecated.h',
evan@chromium.org33b77052010-08-20 09:36:01 +0900101 'file_util_linux.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900102 'file_util_mac.mm',
103 'file_util_posix.cc',
104 'file_util_win.cc',
dumi@chromium.orgc980e402010-08-21 07:42:50 +0900105 'file_util_proxy.cc',
106 'file_util_proxy.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900107 'file_version_info.h',
tony@chromium.org9f7a86f2010-04-14 10:46:43 +0900108 'file_version_info_mac.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900109 'file_version_info_mac.mm',
tony@chromium.org9f7a86f2010-04-14 10:46:43 +0900110 'file_version_info_win.cc',
111 'file_version_info_win.h',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900112 'files/file_path_watcher.cc',
113 'files/file_path_watcher.h',
robert.nagy@gmail.combd7a6ad2011-10-26 08:35:27 +0900114 'files/file_path_watcher_kqueue.cc',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900115 'files/file_path_watcher_linux.cc',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900116 'files/file_path_watcher_stub.cc',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900117 'files/file_path_watcher_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900118 'float_util.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +0900119 'format_macros.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900120 'global_descriptors_posix.cc',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900121 'global_descriptors_posix.h',
phajdan.jr@chromium.orgdd43b732010-06-01 23:30:51 +0900122 'gtest_prod_util.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900123 'hash_tables.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900124 'id_map.h',
erg@google.com8aca7272010-08-19 03:33:57 +0900125 'json/json_reader.cc',
126 'json/json_reader.h',
dpranke@chromium.org608dee32011-10-08 03:36:00 +0900127 'json/json_value_serializer.cc',
128 'json/json_value_serializer.h',
erg@google.com8aca7272010-08-19 03:33:57 +0900129 'json/json_writer.cc',
130 'json/json_writer.h',
131 'json/string_escape.cc',
132 'json/string_escape.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900133 'lazy_instance.cc',
134 'lazy_instance.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900135 'linked_list.h',
ajwong@chromium.org8e2e3002011-09-22 03:05:41 +0900136 'location.cc',
137 'location.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900138 'logging.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900139 'logging.h',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900140 'logging_win.cc',
rvargas@google.comc3b65182011-03-29 08:48:44 +0900141 'logging_win.h',
brettw@chromium.org624f07962010-12-23 09:43:36 +0900142 'mac/cocoa_protocols.h',
jeremy@chromium.org4bed1f32011-09-11 20:29:49 +0900143 'mac/crash_logging.h',
144 'mac/crash_logging.mm',
bauerb@chromium.orgfe9f8532011-03-15 18:51:50 +0900145 'mac/foundation_util.h',
146 'mac/foundation_util.mm',
brettw@chromium.org92d954b2011-01-02 03:20:14 +0900147 'mac/mac_util.h',
148 'mac/mac_util.mm',
mark@chromium.org2a9b20f2011-04-21 07:30:35 +0900149 'mac/objc_property_releaser.h',
150 'mac/objc_property_releaser.mm',
brettw@google.comb39f6c02011-01-02 01:08:52 +0900151 'mac/os_crash_dumps.cc',
152 'mac/os_crash_dumps.h',
brettw@chromium.org0d4a0352010-10-18 11:47:39 +0900153 'mac/scoped_aedesc.h',
joth@chromium.orgb72c5f52010-11-12 21:03:54 +0900154 'mac/scoped_cftyperef.h',
brettw@chromium.org0d4a0352010-10-18 11:47:39 +0900155 'mac/scoped_nsautorelease_pool.h',
156 'mac/scoped_nsautorelease_pool.mm',
shess@chromium.org0318f412011-05-25 07:07:05 +0900157 'mac/scoped_nsexception_enabler.h',
158 'mac/scoped_nsexception_enabler.mm',
thakis@chromium.org281e2102010-01-12 09:39:15 +0900159 'mach_ipc_mac.h',
160 'mach_ipc_mac.mm',
levin@chromium.org5c528682011-03-28 10:54:15 +0900161 'memory/linked_ptr.h',
agayev@chromium.org751c2272011-04-28 03:37:03 +0900162 'memory/mru_cache.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900163 '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.org5c528682011-03-28 10:54:15 +0900170 'memory/scoped_nsobject.h',
171 'memory/scoped_open_process.h',
172 'memory/scoped_ptr.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900173 'memory/scoped_vector.h',
joth@chromium.orgc4285cd2011-11-07 20:11:51 +0900174 'memory/singleton.cc',
levin@chromium.org5c528682011-03-28 10:54:15 +0900175 'memory/singleton.h',
176 'memory/weak_ptr.cc',
177 'memory/weak_ptr.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900178 'message_loop.cc',
179 'message_loop.h',
erg@google.com71915232010-09-29 07:54:58 +0900180 'message_loop_proxy.cc',
sanjeevr@chromium.org11e02e62010-04-29 12:31:34 +0900181 'message_loop_proxy.h',
sanjeevr@chromium.orgd393cc42010-05-07 03:34:24 +0900182 'message_loop_proxy_impl.cc',
183 'message_loop_proxy_impl.h',
erg@google.com71915232010-09-29 07:54:58 +0900184 'message_pump.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900185 'message_pump.h',
186 'message_pump_default.cc',
187 'message_pump_default.h',
188 'message_pump_win.cc',
189 'message_pump_win.h',
brettw@chromium.org275c2ec2010-10-14 13:38:38 +0900190 'metrics/histogram.cc',
191 'metrics/histogram.h',
192 'metrics/stats_counters.cc',
193 'metrics/stats_counters.h',
194 'metrics/stats_table.cc',
195 'metrics/stats_table.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900196 'mime_util.h',
evan@chromium.org73aec0e2010-04-23 08:28:05 +0900197 'mime_util_xdg.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900198 'native_library.h',
199 'native_library_linux.cc',
200 'native_library_mac.mm',
201 'native_library_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900202 'observer_list.h',
203 'observer_list_threadsafe.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900204 'os_compat_android.cc',
205 'os_compat_android.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900206 'path_service.cc',
207 'path_service.h',
208 'pickle.cc',
209 'pickle.h',
erg@google.comd5fffd42011-01-08 03:06:45 +0900210 'platform_file.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900211 'platform_file.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900212 'platform_file_posix.cc',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900213 'platform_file_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900214 'port.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900215 'process.h',
216 'process_linux.cc',
217 'process_posix.cc',
maruel@chromium.org9cf11e82010-04-30 02:44:42 +0900218 'process_util.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900219 'process_util.h',
220 'process_util_linux.cc',
221 'process_util_mac.mm',
mark@chromium.org2e9e81c2011-10-13 13:23:22 +0900222 'process_util_openbsd.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900223 'process_util_posix.cc',
224 'process_util_win.cc',
225 'process_win.cc',
226 'rand_util.cc',
227 'rand_util.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +0900228 'rand_util_c.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900229 'rand_util_posix.cc',
230 'rand_util_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900231 'safe_strerror_posix.cc',
232 'safe_strerror_posix.h',
thakis@chromium.org927d7282011-05-20 08:34:17 +0900233 'scoped_native_library.cc',
234 'scoped_native_library.h',
235 'scoped_temp_dir.cc',
236 'scoped_temp_dir.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900237 'sha1.h',
wtc@chromium.orgd828db42010-06-24 06:41:40 +0900238 'sha1_portable.cc',
239 'sha1_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900240 'shared_memory.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900241 'shared_memory_android.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900242 'shared_memory_posix.cc',
243 'shared_memory_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900244 'spin_wait.h',
245 'stack_container.h',
dilmah@chromium.orgdc4b9702011-07-20 07:13:24 +0900246 'stl_util.h',
brettw@chromium.orgcbde69a2010-07-31 04:28:44 +0900247 'string_number_conversions.cc',
248 'string_number_conversions.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900249 'string_piece.cc',
250 'string_piece.h',
timsteele@google.com22058212010-01-22 04:29:25 +0900251 'string_split.cc',
252 'string_split.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900253 'string_tokenizer.h',
254 'string_util.cc',
255 'string_util.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +0900256 'string_util_posix.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900257 'string_util_win.h',
joi@chromium.orgeb2b72d2010-11-18 11:15:12 +0900258 'stringize_macros.h',
brettw@chromium.org67cbde42010-08-17 12:45:37 +0900259 'stringprintf.cc',
260 'stringprintf.h',
brettw@chromium.org5238c7d2011-01-02 15:05:39 +0900261 'synchronization/cancellation_flag.cc',
262 'synchronization/cancellation_flag.h',
brettw@chromium.orge439a962011-01-02 08:16:20 +0900263 'synchronization/condition_variable.h',
264 'synchronization/condition_variable_posix.cc',
265 'synchronization/condition_variable_win.cc',
266 'synchronization/lock.cc',
267 'synchronization/lock.h',
268 'synchronization/lock_impl.h',
269 'synchronization/lock_impl_posix.cc',
270 'synchronization/lock_impl_win.cc',
brettw@chromium.org5238c7d2011-01-02 15:05:39 +0900271 'synchronization/waitable_event.h',
272 'synchronization/waitable_event_posix.cc',
273 'synchronization/waitable_event_watcher.h',
274 'synchronization/waitable_event_watcher_posix.cc',
275 'synchronization/waitable_event_watcher_win.cc',
276 'synchronization/waitable_event_win.cc',
willchan@chromium.org0fbb8682011-05-18 16:29:56 +0900277 'system_monitor/system_monitor.cc',
278 'system_monitor/system_monitor.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900279 'system_monitor/system_monitor_android.cc',
willchan@chromium.org0fbb8682011-05-18 16:29:56 +0900280 'system_monitor/system_monitor_mac.mm',
281 'system_monitor/system_monitor_posix.cc',
282 'system_monitor/system_monitor_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900283 'sys_info.h',
284 'sys_info_chromeos.cc',
285 'sys_info_freebsd.cc',
286 'sys_info_linux.cc',
287 'sys_info_mac.cc',
288 'sys_info_openbsd.cc',
289 'sys_info_posix.cc',
290 'sys_info_win.cc',
291 'sys_string_conversions.h',
292 'sys_string_conversions_linux.cc',
293 'sys_string_conversions_mac.mm',
294 'sys_string_conversions_win.cc',
erg@chromium.org493f5f62010-07-16 06:03:54 +0900295 'task.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900296 'task.h',
levin@chromium.orgf4cb1742010-08-26 15:09:38 +0900297 'task_queue.cc',
298 'task_queue.h',
willchan@chromium.orgb9b021a2010-06-16 04:39:24 +0900299 'template_util.h',
brettw@chromium.org088ae932011-01-01 13:48:49 +0900300 'threading/non_thread_safe.h',
joi@chromium.orgb5d63f72011-03-04 08:38:51 +0900301 'threading/non_thread_safe_impl.cc',
302 'threading/non_thread_safe_impl.h',
brettw@chromium.org61391822011-01-01 05:02:16 +0900303 'threading/platform_thread.h',
304 'threading/platform_thread_mac.mm',
305 'threading/platform_thread_posix.cc',
306 'threading/platform_thread_win.cc',
joi@chromium.orgca327c72011-10-15 02:30:37 +0900307 'threading/post_task_and_reply_impl.cc',
308 'threading/post_task_and_reply_impl.h',
brettw@chromium.org34f964f2010-12-31 03:08:36 +0900309 'threading/simple_thread.cc',
310 'threading/simple_thread.h',
brettw@chromium.org5b5f5e02011-01-01 10:01:06 +0900311 'threading/thread.cc',
312 'threading/thread.h',
brettw@chromium.org61391822011-01-01 05:02:16 +0900313 'threading/thread_checker.h',
joi@chromium.orgb5d63f72011-03-04 08:38:51 +0900314 'threading/thread_checker_impl.cc',
315 'threading/thread_checker_impl.h',
brettw@chromium.org5b5f5e02011-01-01 10:01:06 +0900316 'threading/thread_collision_warner.cc',
317 'threading/thread_collision_warner.h',
brettw@chromium.org63965582010-12-31 07:18:56 +0900318 'threading/thread_local.h',
319 'threading/thread_local_posix.cc',
320 'threading/thread_local_storage.h',
321 'threading/thread_local_storage_posix.cc',
322 'threading/thread_local_storage_win.cc',
323 'threading/thread_local_win.cc',
brettw@chromium.org5b5f5e02011-01-01 10:01:06 +0900324 'threading/thread_restrictions.h',
325 'threading/thread_restrictions.cc',
brettw@chromium.org34f964f2010-12-31 03:08:36 +0900326 'threading/watchdog.cc',
327 'threading/watchdog.h',
328 'threading/worker_pool.h',
joi@chromium.orgca327c72011-10-15 02:30:37 +0900329 'threading/worker_pool.cc',
brettw@chromium.org34f964f2010-12-31 03:08:36 +0900330 'threading/worker_pool_posix.cc',
331 'threading/worker_pool_posix.h',
332 'threading/worker_pool_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900333 'time.cc',
334 'time.h',
335 'time_win.cc',
336 'timer.cc',
337 'timer.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900338 'tracked_objects.cc',
339 'tracked_objects.h',
joi@chromium.org523ca432011-11-08 19:46:48 +0900340 'tracking_info.cc',
341 'tracking_info.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900342 'tuple.h',
343 'utf_offset_string_conversions.cc',
344 'utf_offset_string_conversions.h',
345 'utf_string_conversion_utils.cc',
346 'utf_string_conversion_utils.h',
347 'utf_string_conversions.cc',
348 'utf_string_conversions.h',
robertshield@chromium.org9fb9e372010-03-23 05:12:50 +0900349 'values.cc',
350 'values.h',
bauerb@chromium.orgfe9f8532011-03-15 18:51:50 +0900351 'value_conversions.cc',
352 'value_conversions.h',
robertshield@chromium.orga9914a32010-11-11 02:02:19 +0900353 'version.cc',
354 'version.h',
akalin@chromium.orgf0ee79c2010-09-30 04:26:36 +0900355 'vlog.cc',
356 'vlog.h',
tfarina@chromium.org9be76e52011-06-25 21:18:51 +0900357 'nix/xdg_util.cc',
358 'nix/xdg_util.h',
siggi@chromium.org7913ed62010-11-07 00:39:40 +0900359 'win/event_trace_consumer.h',
360 'win/event_trace_controller.cc',
361 'win/event_trace_controller.h',
362 'win/event_trace_provider.cc',
363 'win/event_trace_provider.h',
rvargas@google.com57a43962011-04-05 07:42:46 +0900364 'win/i18n.cc',
365 'win/i18n.h',
tfarina@chromium.org9be76e52011-06-25 21:18:51 +0900366 'win/iat_patch_function.cc',
367 'win/iat_patch_function.h',
rvargas@google.com57a43962011-04-05 07:42:46 +0900368 'win/object_watcher.cc',
369 'win/object_watcher.h',
brettw@chromium.orgb3a7c3e2010-10-17 13:41:54 +0900370 'win/registry.cc',
371 'win/registry.h',
tony@chromium.org60658e12011-08-26 07:58:36 +0900372 'win/resource_util.cc',
373 'win/resource_util.h',
brettw@chromium.org45352272010-10-16 12:46:05 +0900374 'win/scoped_bstr.cc',
375 'win/scoped_bstr.h',
tommi@chromium.org84908322011-10-21 16:00:22 +0900376 'win/scoped_co_mem.h',
tfarina@chromium.org9be76e52011-06-25 21:18:51 +0900377 'win/scoped_com_initializer.h',
brettw@chromium.org45352272010-10-16 12:46:05 +0900378 'win/scoped_comptr.h',
379 'win/scoped_gdi_object.h',
380 'win/scoped_handle.h',
381 'win/scoped_hdc.h',
382 'win/scoped_hglobal.h',
yosin@chromium.org67db53e2011-10-04 13:43:12 +0900383 'win/scoped_select_object.h',
brettw@chromium.org45352272010-10-16 12:46:05 +0900384 'win/scoped_variant.cc',
385 'win/scoped_variant.h',
tfarina@chromium.org533d02c2011-06-25 10:38:59 +0900386 'win/windows_version.cc',
387 'win/windows_version.h',
tfarina@chromium.org9be76e52011-06-25 21:18:51 +0900388 'win/win_util.cc',
389 'win/win_util.h',
rvargas@google.comed1496e2011-03-17 09:34:09 +0900390 'win/wrapped_window_proc.cc',
391 'win/wrapped_window_proc.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900392 ],
darin@chromium.org37acbb12011-07-21 03:38:24 +0900393 'defines': [
394 'BASE_IMPLEMENTATION',
395 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900396 'include_dirs': [
397 '..',
398 ],
399 # These warnings are needed for the files in third_party\dmg_fp.
400 'msvs_disabled_warnings': [
401 4244, 4554, 4018, 4102,
402 ],
403 'mac_framework_dirs': [
404 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
405 ],
406 'conditions': [
dnicoara@chromium.org63a7b5d2011-08-12 03:20:22 +0900407 [ 'use_wayland == 1', {
408 'sources!': [
409 'message_pump_gtk.cc',
410 'message_pump_x.cc',
411 ],
412 }],
sadrul@chromium.org847a5722011-09-21 09:17:19 +0900413 [ 'use_glib==0', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900414 'sources/': [
brettw@chromium.orge47345a2010-10-16 13:56:06 +0900415 ['exclude', '^nix/'],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900416 ],
417 'sources!': [
418 'atomicops_internals_x86_gcc.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900419 'message_pump_glib.cc',
sadrul@chromium.orgf7f3b262011-06-25 05:10:25 +0900420 'message_pump_x.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900421 ],
tony@chromium.org9f7a86f2010-04-14 10:46:43 +0900422 }],
sadrul@chromium.org847a5722011-09-21 09:17:19 +0900423 [ 'toolkit_uses_gtk==0', {
424 'sources!': [ 'message_pump_gtk.cc', ],
425 }],
sky@chromium.orgad4fb902011-09-22 01:31:11 +0900426 [ '(touchui==0 and use_aura==0) or OS == "win"', {
sadrul@chromium.orgf7f3b262011-06-25 05:10:25 +0900427 'sources!' : [ 'message_pump_x.cc', ],
428 }, {
429 'sources!' : [ 'message_pump_gtk.cc', ],
sadrul@chromium.org847a5722011-09-21 09:17:19 +0900430 'sources/' : [ [ 'include', 'message_pump_x.cc', ] ],
sadrul@chromium.orgf7f3b262011-06-25 05:10:25 +0900431 }],
robert.nagy@gmail.comea54e462011-10-25 07:05:27 +0900432 [ 'OS != "linux" and OS != "openbsd"', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900433 'sources!': [
434 # Not automatically excluded by the *linux.cc rules.
evan@chromium.org73aec0e2010-04-23 08:28:05 +0900435 'linux_util.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900436 ],
437 },
438 ],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900439 [ 'OS == "android"', {
jrg@chromium.org7a15cdd2011-11-02 03:13:50 +0900440 'sources!': [
441 'files/file_path_watcher_kqueue.cc',
442 'debug/stack_trace.cc',
443 'debug/stack_trace_posix.cc',
444 'system_monitor/system_monitor_posix.cc',
445 ],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900446 'sources/': [
jrg@chromium.org7a15cdd2011-11-02 03:13:50 +0900447 ['include', '^native_library_linux\\.cc$'],
448 ['include', '^process_util_linux\\.cc$'],
449 ['include', '^sys_info_linux\\.cc$'],
450 ['include', '^sys_string_conversions_linux\\.cc$'],
451 ['include', '^worker_pool_linux\\.cc$'],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900452 # TODO(michaelbai): The below files are excluded because of the
453 # missing JNI, add them back when JNI is ready.
454 ['exclude', '^android/'],
jrg@chromium.org7a15cdd2011-11-02 03:13:50 +0900455 ['exclude', '^message_pump_android\\.cc$'],
456 ['exclude', '^base_paths_android\\.cc$'],
457 ['exclude', '^debug/stack_trace_android\\.cc$'],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900458 ],
459 }],
rsesek@chromium.org56a552f2010-08-14 00:24:53 +0900460 [ 'OS != "mac"', {
461 'sources!': [
sadrul@chromium.org9bb2c1a2011-05-25 09:20:42 +0900462 'mac/scoped_aedesc.h'
rsesek@chromium.org56a552f2010-08-14 00:24:53 +0900463 ],
464 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900465 # For now, just test the *BSD platforms enough to exclude them.
466 # Subsequent changes will include them further.
467 [ 'OS != "freebsd"', {
468 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
469 },
470 ],
471 [ 'OS != "openbsd"', {
472 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
473 },
474 ],
brettw@chromium.org45352272010-10-16 12:46:05 +0900475 ['OS != "win"', {
476 'sources/': [ ['exclude', '^win/'] ],
477 },
478 ],
bulach@chromium.org32050d82011-08-09 01:13:54 +0900479 ['OS != "android"', {
480 'sources/': [ ['exclude', '^android/'] ],
481 },
482 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900483 [ 'OS == "win"', {
brettw@chromium.orgacb14c22010-10-15 10:59:15 +0900484 'include_dirs': [
485 '<(DEPTH)/third_party/wtl/include',
486 ],
487 'sources!': [
488 'event_recorder_stubs.cc',
489 'file_descriptor_shuffle.cc',
robert.nagy@gmail.combd7a6ad2011-10-26 08:35:27 +0900490 'files/file_path_watcher_kqueue.cc',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900491 'files/file_path_watcher_stub.cc',
brettw@chromium.orgacb14c22010-10-15 10:59:15 +0900492 'message_pump_libevent.cc',
493 # Not using sha1_win.cc because it may have caused a
494 # regression to page cycler moz.
495 'sha1_win.cc',
496 'string16.cc',
brettw@chromium.orgacb14c22010-10-15 10:59:15 +0900497 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900498 },],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900499 [ 'OS == "linux"', {
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900500 'sources!': [
robert.nagy@gmail.combd7a6ad2011-10-26 08:35:27 +0900501 'files/file_path_watcher_kqueue.cc',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900502 'files/file_path_watcher_stub.cc',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900503 ],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900504 }],
505 [ 'OS == "mac"', {
506 'sources!': [
mark@chromium.org639d3b52011-05-13 03:18:34 +0900507 'files/file_path_watcher_stub.cc',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900508 ],
509 }],
mark@chromium.org2e9e81c2011-10-13 13:23:22 +0900510 [ 'OS == "openbsd"', {
511 'sources/': [
robert.nagy@gmail.comea54e462011-10-25 07:05:27 +0900512 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
robert.nagy@gmail.combd7a6ad2011-10-26 08:35:27 +0900513 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
robert.nagy@gmail.comea54e462011-10-25 07:05:27 +0900514 ['exclude', '^file_util_linux\\.cc$'],
515 ['exclude', '^process_linux\\.cc$'],
516 ['exclude', '^process_util_linux\\.cc$'],
517 ['exclude', '^sys_info_linux\\.cc$'],
mark@chromium.org2e9e81c2011-10-13 13:23:22 +0900518 ],
519 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900520 ],
521 }],
522 ],
523 },
524 'targets': [
525 {
526 'target_name': 'base',
rvargas@google.comf3387ef2011-04-29 03:51:48 +0900527 'type': '<(component)',
pkasting@chromium.org2680a0a2011-09-16 06:17:32 +0900528 'toolsets': ['host', 'target'],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900529 'variables': {
530 'base_target': 1,
531 },
532 'dependencies': [
rvargas@google.com29b10092011-05-27 07:03:28 +0900533 'base_static',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900534 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
tony@chromium.org2ddfe8c2010-05-19 17:33:37 +0900535 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900536 ],
537 # TODO(gregoryd): direct_dependent_settings should be shared with the
538 # 64-bit target, but it doesn't work due to a bug in gyp
539 'direct_dependent_settings': {
540 'include_dirs': [
541 '..',
542 ],
543 },
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900544 'conditions': [
sadrul@chromium.org847a5722011-09-21 09:17:19 +0900545 [ 'use_glib==1', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900546 'conditions': [
jam@chromium.org7de295e2010-12-02 05:22:49 +0900547 [ 'chromeos==1', {
548 'sources/': [ ['include', '_chromeos\\.cc$'] ]
549 },
550 ],
thestig@chromium.orgbbe65c62010-07-02 10:12:18 +0900551 [ 'linux_use_tcmalloc==0', {
552 'defines': [
553 'NO_TCMALLOC',
554 ],
555 'direct_dependent_settings': {
556 'defines': [
557 'NO_TCMALLOC',
558 ],
559 },
560 },
561 ],
sadrul@chromium.org847a5722011-09-21 09:17:19 +0900562 [ 'toolkit_uses_gtk==1', {
563 'dependencies': [
564 '../build/linux/system.gyp:gtk',
565 ],
566 'export_dependent_settings': [
567 '../build/linux/system.gyp:gtk',
568 ],
569 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900570 ],
571 'dependencies': [
jam@chromium.orgef265dd2010-06-12 06:30:37 +0900572 'symbolize',
piman@chromium.org52d78622011-09-20 04:20:38 +0900573 '../build/util/build_util.gyp:lastchange#target',
sadrul@chromium.org847a5722011-09-21 09:17:19 +0900574 '../build/linux/system.gyp:glib',
rjkroege@google.com3080f442010-10-23 01:17:47 +0900575 '../build/linux/system.gyp:x11',
evan@chromium.orgc4bcf872010-02-03 11:11:40 +0900576 'xdg_mime',
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900577 ],
jam@chromium.org7de295e2010-12-02 05:22:49 +0900578 'defines': [
579 'USE_SYMBOLIZE',
580 ],
581 'cflags': [
582 '-Wno-write-strings',
583 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900584 'export_dependent_settings': [
sadrul@chromium.org847a5722011-09-21 09:17:19 +0900585 '../build/linux/system.gyp:glib',
rjkroege@google.com3080f442010-10-23 01:17:47 +0900586 '../build/linux/system.gyp:x11',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900587 ],
sadrul@chromium.org847a5722011-09-21 09:17:19 +0900588 }, { # use_glib!=1
jam@chromium.org7de295e2010-12-02 05:22:49 +0900589 'sources/': [
590 ['exclude', '/xdg_user_dirs/'],
591 ['exclude', '_nss\.cc$'],
592 ],
593 }],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900594 [ 'OS == "android"', {
595 'dependencies': [
596 'symbolize',
597 '../third_party/ashmem/ashmem.gyp:ashmem#target',
598 ],
599 'defines': [
600 'USE_SYMBOLIZE',
601 ],
602 'link_settings': {
603 'libraries': [
604 '-llog',
605 ],
606 },
607 'conditions': [
608 [ '_toolset=="host" and host_os=="linux"', {
609 'dependencies': [
610 '../build/linux/system.gyp:glib',
611 ],
612 }],
613 ],
614 }],
jam@chromium.orgf497c952010-06-11 14:41:00 +0900615 [ 'OS == "freebsd" or OS == "openbsd"', {
mark@chromium.org2e9e81c2011-10-13 13:23:22 +0900616 'include_dirs': [
617 '/usr/local/include',
618 ],
jam@chromium.orgef265dd2010-06-12 06:30:37 +0900619 'link_settings': {
620 'libraries': [
621 '-L/usr/local/lib -lexecinfo',
jam@chromium.orgf497c952010-06-11 14:41:00 +0900622 ],
623 },
624 },
625 ],
bradnelson@google.com65d8cbf2010-06-12 07:45:37 +0900626 [ 'OS == "linux"', {
627 'link_settings': {
628 'libraries': [
629 # We need rt for clock_gettime().
630 '-lrt',
631 # For 'native_library_linux.cc'
632 '-ldl',
633 ],
634 },
635 }],
jam@chromium.orgf497c952010-06-11 14:41:00 +0900636 [ 'OS == "mac"', {
jam@chromium.orgef265dd2010-06-12 06:30:37 +0900637 'link_settings': {
638 'libraries': [
639 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
640 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
641 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
642 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
643 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
644 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
645 ],
646 },
rsesek@chromium.org3b26fdb2011-08-19 05:23:04 +0900647 'dependencies': [
648 '../third_party/mach_override/mach_override.gyp:mach_override',
649 ],
jam@chromium.org7de295e2010-12-02 05:22:49 +0900650 }],
rvargas@google.com29b10092011-05-27 07:03:28 +0900651 [ 'OS != "win"', {
652 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
wtc@chromium.org6e6b7832010-01-28 04:36:22 +0900653 },],
evan@chromium.org75d1cb32011-04-30 05:45:22 +0900654 [ 'component=="shared_library"', {
evan@chromium.org75d1cb32011-04-30 05:45:22 +0900655 'conditions': [
656 ['OS=="win"', {
evan@chromium.org75d1cb32011-04-30 05:45:22 +0900657 'sources!': [
658 'debug/debug_on_start_win.cc',
659 ],
evan@chromium.org75d1cb32011-04-30 05:45:22 +0900660 }],
rvargas@google.comf3387ef2011-04-29 03:51:48 +0900661 ],
rvargas@google.comf3387ef2011-04-29 03:51:48 +0900662 }],
jam@chromium.org7de295e2010-12-02 05:22:49 +0900663 ],
664 'sources': [
jam@chromium.org7de295e2010-12-02 05:22:49 +0900665 'third_party/nspr/prcpucfg.h',
666 'third_party/nspr/prcpucfg_win.h',
667 'third_party/nspr/prtypes.h',
jam@chromium.org7de295e2010-12-02 05:22:49 +0900668 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
669 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
670 'auto_reset.h',
671 'base64.cc',
672 'base64.h',
jam@chromium.org7de295e2010-12-02 05:22:49 +0900673 'event_recorder.h',
674 'event_recorder_stubs.cc',
tony@chromium.orgdef5e2e2011-08-23 02:31:43 +0900675 'event_recorder_win.cc',
jam@chromium.org7de295e2010-12-02 05:22:49 +0900676 'file_descriptor_shuffle.cc',
677 'file_descriptor_shuffle.h',
jam@chromium.org7de295e2010-12-02 05:22:49 +0900678 'linux_util.cc',
679 'linux_util.h',
680 'md5.cc',
681 'md5.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900682 'message_pump_android.cc',
683 'message_pump_android.h',
jam@chromium.org7de295e2010-12-02 05:22:49 +0900684 'message_pump_glib.cc',
685 'message_pump_glib.h',
sadrul@chromium.orgf7f3b262011-06-25 05:10:25 +0900686 'message_pump_gtk.cc',
687 'message_pump_gtk.h',
oshima@google.com9b786a52011-10-06 02:14:33 +0900688 'message_pump_observer.h',
sadrul@chromium.orgf7f3b262011-06-25 05:10:25 +0900689 'message_pump_x.cc',
690 'message_pump_x.h',
jam@chromium.org7de295e2010-12-02 05:22:49 +0900691 'message_pump_libevent.cc',
692 'message_pump_libevent.h',
693 'message_pump_mac.h',
694 'message_pump_mac.mm',
dnicoara@chromium.org63a7b5d2011-08-12 03:20:22 +0900695 'message_pump_wayland.cc',
696 'message_pump_wayland.h',
jam@chromium.org7de295e2010-12-02 05:22:49 +0900697 'metrics/field_trial.cc',
698 'metrics/field_trial.h',
jam@chromium.org7de295e2010-12-02 05:22:49 +0900699 'string16.cc',
700 'string16.h',
701 'sync_socket.h',
702 'sync_socket_win.cc',
703 'sync_socket_posix.cc',
704 'time_mac.cc',
705 'time_posix.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900706 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900707 },
708 ],
709 'conditions': [
710 [ 'OS == "win"', {
711 'targets': [
712 {
713 'target_name': 'base_nacl_win64',
darin@chromium.org86d9f942011-07-14 05:41:28 +0900714 'type': '<(component)',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900715 'variables': {
716 'base_target': 1,
717 },
timurrrr@chromium.orgf39c3ff2010-05-14 17:24:42 +0900718 'dependencies': [
rvargas@google.com57a43962011-04-05 07:42:46 +0900719 'base_static_win64',
tony@chromium.org2ddfe8c2010-05-19 17:33:37 +0900720 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
timurrrr@chromium.orgf39c3ff2010-05-14 17:24:42 +0900721 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900722 # TODO(gregoryd): direct_dependent_settings should be shared with the
723 # 32-bit target, but it doesn't work due to a bug in gyp
724 'direct_dependent_settings': {
725 'include_dirs': [
726 '..',
727 ],
728 },
729 'defines': [
730 '<@(nacl_win64_defines)',
731 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900732 'configurations': {
gregoryd@google.comacc30ba2009-12-23 07:57:37 +0900733 'Common_Base': {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900734 'msvs_target_platform': 'x64',
735 },
736 },
darin@chromium.org86d9f942011-07-14 05:41:28 +0900737 'conditions': [
738 [ 'component == "shared_library"', {
darin@chromium.org86d9f942011-07-14 05:41:28 +0900739 'sources!': [
740 'debug/debug_on_start_win.cc',
741 ],
742 }],
743 ],
744 },
745 {
746 'target_name': 'base_i18n_nacl_win64',
rvargas@google.comc4b016b2011-09-01 07:15:48 +0900747 'type': '<(component)',
darin@chromium.org86d9f942011-07-14 05:41:28 +0900748 # TODO(gregoryd): direct_dependent_settings should be shared with the
749 # 32-bit target, but it doesn't work due to a bug in gyp
750 'direct_dependent_settings': {
751 'include_dirs': [
752 '..',
753 ],
754 },
755 'defines': [
756 '<@(nacl_win64_defines)',
rvargas@google.comc4b016b2011-09-01 07:15:48 +0900757 'BASE_I18N_IMPLEMENTATION',
darin@chromium.org86d9f942011-07-14 05:41:28 +0900758 ],
759 'include_dirs': [
760 '..',
761 ],
762 'sources': [
763 'i18n/icu_util_nacl_win64.cc',
764 ],
765 'configurations': {
766 'Common_Base': {
767 'msvs_target_platform': 'x64',
768 },
769 },
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900770 },
771 ],
772 }],
mark@chromium.org639d3b52011-05-13 03:18:34 +0900773 [ 'os_posix==1 and OS!="mac"', {
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900774 'targets': [
775 {
776 'target_name': 'symbolize',
evan@chromium.org0b930f22011-05-20 08:18:53 +0900777 'type': 'static_library',
pkasting@chromium.org2680a0a2011-09-16 06:17:32 +0900778 'toolsets': ['host', 'target'],
mark@chromium.org9cc09262010-02-17 04:13:36 +0900779 'variables': {
780 'chromium_code': 0,
781 },
evan@chromium.org089339c2010-04-01 09:35:15 +0900782 'conditions': [
783 [ 'OS == "solaris"', {
784 'include_dirs': [
785 '/usr/gnu/include',
786 '/usr/gnu/include/libelf',
787 ],
788 },],
789 ],
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900790 'cflags': [
791 '-Wno-sign-compare',
792 ],
evan@chromium.orga6768f52010-02-06 07:23:20 +0900793 'cflags!': [
794 '-Wextra',
795 ],
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900796 'sources': [
797 'third_party/symbolize/symbolize.cc',
798 'third_party/symbolize/demangle.cc',
799 ],
mark@chromium.org495e1ba2011-10-19 02:41:07 +0900800 'include_dirs': [
801 '..',
802 ],
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900803 },
evan@chromium.orgc4bcf872010-02-03 11:11:40 +0900804 {
805 'target_name': 'xdg_mime',
evan@chromium.org0b930f22011-05-20 08:18:53 +0900806 'type': 'static_library',
pkasting@chromium.org2680a0a2011-09-16 06:17:32 +0900807 'toolsets': ['host', 'target'],
mark@chromium.org9cc09262010-02-17 04:13:36 +0900808 'variables': {
809 'chromium_code': 0,
810 },
evan@chromium.orga6768f52010-02-06 07:23:20 +0900811 'cflags!': [
812 '-Wextra',
813 ],
evan@chromium.orgc4bcf872010-02-03 11:11:40 +0900814 'sources': [
815 'third_party/xdg_mime/xdgmime.c',
816 'third_party/xdg_mime/xdgmime.h',
817 'third_party/xdg_mime/xdgmimealias.c',
818 'third_party/xdg_mime/xdgmimealias.h',
819 'third_party/xdg_mime/xdgmimecache.c',
820 'third_party/xdg_mime/xdgmimecache.h',
821 'third_party/xdg_mime/xdgmimeglob.c',
822 'third_party/xdg_mime/xdgmimeglob.h',
823 'third_party/xdg_mime/xdgmimeicon.c',
824 'third_party/xdg_mime/xdgmimeicon.h',
825 'third_party/xdg_mime/xdgmimeint.c',
826 'third_party/xdg_mime/xdgmimeint.h',
827 'third_party/xdg_mime/xdgmimemagic.c',
828 'third_party/xdg_mime/xdgmimemagic.h',
829 'third_party/xdg_mime/xdgmimeparent.c',
830 'third_party/xdg_mime/xdgmimeparent.h',
831 ],
832 },
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900833 ],
834 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900835 ],
836}