blob: b77b4d8ee995408af1671e23e366353750b6d505 [file] [log] [blame]
jhawkins@chromium.org4a310212012-01-04 04:36:57 +09001# Copyright (c) 2012 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',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090018 'third_party/icu/icu_utf.cc',
19 'third_party/icu/icu_utf.h',
20 'third_party/nspr/prtime.cc',
21 'third_party/nspr/prtime.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +090022 'third_party/nspr/prcpucfg_linux.h',
23 'third_party/xdg_mime/xdgmime.h',
jamesr@chromium.org31407542012-04-28 11:56:38 +090024 'allocator/allocator_extension.cc',
25 'allocator/allocator_extension.h',
tedchoc@chromium.org9842fef2012-04-25 12:18:46 +090026 'android/base_jni_registrar.cc',
27 'android/base_jni_registrar.h',
carlosvaldivia@google.com2a5b0832012-04-11 07:52:44 +090028 'android/build_info.cc',
29 'android/build_info.h',
joth@chromium.orged27f3a2011-09-09 19:17:35 +090030 'android/scoped_java_ref.cc',
31 'android/scoped_java_ref.h',
32 'android/jni_android.cc',
33 'android/jni_android.h',
34 'android/jni_array.cc',
35 'android/jni_array.h',
tedchoc@chromium.org9842fef2012-04-25 12:18:46 +090036 'android/jni_helper.cc',
37 'android/jni_helper.h',
38 'android/jni_registrar.cc',
39 'android/jni_registrar.h',
joth@chromium.orged27f3a2011-09-09 19:17:35 +090040 'android/jni_string.cc',
41 'android/jni_string.h',
wangxianzhu@chromium.orga6031a92012-05-05 12:11:38 +090042 'android/locale_utils.cc',
43 'android/locale_utils.h',
joth@chromium.orged27f3a2011-09-09 19:17:35 +090044 'android/path_utils.cc',
45 'android/path_utils.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090046 'at_exit.cc',
47 'at_exit.h',
48 'atomic_ref_count.h',
49 'atomic_sequence_num.h',
50 'atomicops.h',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +090051 'atomicops_internals_x86_gcc.cc',
ensonic@google.com24ba1962011-09-29 01:28:40 +090052 'atomicops_internals_x86_gcc.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090053 'atomicops_internals_x86_msvc.h',
darin@chromium.orge585bed2011-08-06 00:34:00 +090054 'base_export.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090055 'base_paths.cc',
56 'base_paths.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +090057 'base_paths_android.cc',
avi@chromium.orga7d1df92012-03-23 06:44:31 +090058 'base_paths_android.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090059 'base_paths_mac.h',
60 'base_paths_mac.mm',
mark@chromium.orga8f9a692011-11-15 04:15:25 +090061 'base_paths_posix.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090062 'base_paths_win.cc',
63 'base_paths_win.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +090064 'base_switches.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090065 'basictypes.h',
ajwong@chromium.orge2cca632011-02-15 10:27:38 +090066 'bind.h',
ajwong@chromium.orge4f3dc32012-01-07 07:12:28 +090067 'bind_helpers.cc',
ajwong@chromium.orge2cca632011-02-15 10:27:38 +090068 'bind_helpers.h',
69 'bind_internal.h',
ajwong@chromium.orgcb175342011-02-27 10:25:59 +090070 'bind_internal_win.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090071 'bits.h',
agl@chromium.orgb9206f42011-11-12 01:09:31 +090072 'build_time.cc',
73 'build_time.h',
akalin@chromium.org6ed4f882010-02-19 12:15:59 +090074 'callback.h',
fischman@chromium.orgdc221a72012-03-25 05:37:27 +090075 'callback_helpers.h',
ajwong@chromium.orgfa0ff432011-02-19 08:29:31 +090076 'callback_internal.cc',
77 'callback_internal.h',
jhawkins@chromium.org78936ff2011-11-24 13:12:04 +090078 'cancelable_callback.h',
avi@chromium.orga7d1df92012-03-23 06:44:31 +090079 'chromeos/chromeos_version.cc',
80 'chromeos/chromeos_version.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090081 'command_line.cc',
82 'command_line.h',
83 'compiler_specific.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090084 'cpu.cc',
85 'cpu.h',
apatrick@chromium.org87164042011-05-20 07:28:25 +090086 'debug/alias.cc',
87 'debug/alias.h',
brettw@chromium.org28078b62011-01-02 04:55:22 +090088 'debug/debug_on_start_win.cc',
89 'debug/debug_on_start_win.h',
brettw@chromium.org2f49b122010-10-26 13:07:50 +090090 'debug/debugger.cc',
91 'debug/debugger.h',
92 'debug/debugger_posix.cc',
93 'debug/debugger_win.cc',
94 'debug/leak_annotations.h',
95 'debug/leak_tracker.h',
davemoore@chromium.orgeeb51f72011-02-02 08:35:25 +090096 'debug/profiler.cc',
97 'debug/profiler.h',
brettw@chromium.org2f49b122010-10-26 13:07:50 +090098 'debug/stack_trace.cc',
99 'debug/stack_trace.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900100 'debug/stack_trace_android.cc',
brettw@chromium.org2f49b122010-10-26 13:07:50 +0900101 'debug/stack_trace_posix.cc',
102 'debug/stack_trace_win.cc',
brettw@chromium.org2f49b122010-10-26 13:07:50 +0900103 'debug/trace_event.cc',
104 'debug/trace_event.h',
jbates@chromium.orgd3bee532012-01-24 06:03:49 +0900105 'debug/trace_event_impl.cc',
106 'debug/trace_event_impl.h',
107 'debug/trace_event_win.cc',
agl@chromium.org4300a312010-03-12 00:25:54 +0900108 'dir_reader_fallback.h',
109 'dir_reader_linux.h',
110 'dir_reader_posix.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +0900111 'eintr_wrapper.h',
tfarina@chromium.org6d36c5d2010-08-03 12:00:50 +0900112 'environment.cc',
113 'environment.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +0900114 'file_descriptor_posix.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900115 'file_path.cc',
116 'file_path.h',
117 'file_util.cc',
118 'file_util.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900119 'file_util_android.cc',
evan@chromium.org33b77052010-08-20 09:36:01 +0900120 'file_util_linux.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900121 'file_util_mac.mm',
122 'file_util_posix.cc',
123 'file_util_win.cc',
dumi@chromium.orgc980e402010-08-21 07:42:50 +0900124 'file_util_proxy.cc',
125 'file_util_proxy.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900126 'file_version_info.h',
tony@chromium.org9f7a86f2010-04-14 10:46:43 +0900127 'file_version_info_mac.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900128 'file_version_info_mac.mm',
tony@chromium.org9f7a86f2010-04-14 10:46:43 +0900129 'file_version_info_win.cc',
130 'file_version_info_win.h',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900131 'files/file_path_watcher.cc',
132 'files/file_path_watcher.h',
robert.nagy@gmail.combd7a6ad2011-10-26 08:35:27 +0900133 'files/file_path_watcher_kqueue.cc',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900134 'files/file_path_watcher_linux.cc',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900135 'files/file_path_watcher_stub.cc',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900136 'files/file_path_watcher_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900137 'float_util.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +0900138 'format_macros.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900139 'global_descriptors_posix.cc',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900140 'global_descriptors_posix.h',
phajdan.jr@chromium.orgdd43b732010-06-01 23:30:51 +0900141 'gtest_prod_util.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900142 'hash_tables.h',
jam@chromium.org81e9e992012-06-05 04:33:56 +0900143 'hi_res_timer_manager_posix.cc',
144 'hi_res_timer_manager_win.cc',
145 'hi_res_timer_manager.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900146 'id_map.h',
bbudge@chromium.org218cd872012-02-27 05:26:42 +0900147 'json/json_file_value_serializer.cc',
148 'json/json_file_value_serializer.h',
rsesek@chromium.orgc2d2b202012-05-17 00:23:30 +0900149 'json/json_parser.cc',
150 'json/json_parser.h',
erg@google.com8aca7272010-08-19 03:33:57 +0900151 'json/json_reader.cc',
152 'json/json_reader.h',
bbudge@chromium.org218cd872012-02-27 05:26:42 +0900153 'json/json_string_value_serializer.cc',
154 'json/json_string_value_serializer.h',
mukai@chromium.org55292e42011-12-23 03:31:47 +0900155 'json/json_value_converter.h',
erg@google.com8aca7272010-08-19 03:33:57 +0900156 'json/json_writer.cc',
157 'json/json_writer.h',
158 'json/string_escape.cc',
159 'json/string_escape.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900160 'lazy_instance.cc',
161 'lazy_instance.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900162 'linked_list.h',
ajwong@chromium.org8e2e3002011-09-22 03:05:41 +0900163 'location.cc',
164 'location.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900165 'logging.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900166 'logging.h',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900167 'logging_win.cc',
rvargas@google.comc3b65182011-03-29 08:48:44 +0900168 'logging_win.h',
lambroslambrou@chromium.org3fb62442012-03-22 05:55:05 +0900169 'mac/authorization_util.h',
170 'mac/authorization_util.mm',
jeremy@chromium.org3c9aa4b2012-01-12 06:35:51 +0900171 'mac/bundle_locations.h',
172 'mac/bundle_locations.mm',
brettw@chromium.org624f07962010-12-23 09:43:36 +0900173 'mac/cocoa_protocols.h',
jeremy@chromium.org4bed1f32011-09-11 20:29:49 +0900174 'mac/crash_logging.h',
175 'mac/crash_logging.mm',
bauerb@chromium.orgfe9f8532011-03-15 18:51:50 +0900176 'mac/foundation_util.h',
177 'mac/foundation_util.mm',
lambroslambrou@chromium.org49a69582012-03-30 01:57:53 +0900178 'mac/launchd.cc',
179 'mac/launchd.h',
mark@chromium.orge4d0c3f2012-01-28 08:06:49 +0900180 'mac/mac_logging.h',
181 'mac/mac_logging.cc',
brettw@chromium.org92d954b2011-01-02 03:20:14 +0900182 'mac/mac_util.h',
183 'mac/mac_util.mm',
mark@chromium.org2a9b20f2011-04-21 07:30:35 +0900184 'mac/objc_property_releaser.h',
185 'mac/objc_property_releaser.mm',
brettw@google.comb39f6c02011-01-02 01:08:52 +0900186 'mac/os_crash_dumps.cc',
187 'mac/os_crash_dumps.h',
brettw@chromium.org0d4a0352010-10-18 11:47:39 +0900188 'mac/scoped_aedesc.h',
lambroslambrou@chromium.org3fb62442012-03-22 05:55:05 +0900189 'mac/scoped_authorizationref.h',
joth@chromium.orgb72c5f52010-11-12 21:03:54 +0900190 'mac/scoped_cftyperef.h',
thakis@chromium.org829d71a2012-03-24 03:17:33 +0900191 'mac/scoped_ioobject.h',
lambroslambrou@chromium.org49a69582012-03-30 01:57:53 +0900192 'mac/scoped_launch_data.h',
brettw@chromium.org0d4a0352010-10-18 11:47:39 +0900193 'mac/scoped_nsautorelease_pool.h',
194 'mac/scoped_nsautorelease_pool.mm',
shess@chromium.org0318f412011-05-25 07:07:05 +0900195 'mac/scoped_nsexception_enabler.h',
196 'mac/scoped_nsexception_enabler.mm',
shess@chromium.orgcb3d4fe2011-12-02 08:56:17 +0900197 'mac/scoped_sending_event.h',
198 'mac/scoped_sending_event.mm',
thakis@chromium.org281e2102010-01-12 09:39:15 +0900199 'mach_ipc_mac.h',
200 'mach_ipc_mac.mm',
levin@chromium.org5c528682011-03-28 10:54:15 +0900201 'memory/linked_ptr.h',
agayev@chromium.org751c2272011-04-28 03:37:03 +0900202 'memory/mru_cache.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900203 'memory/raw_scoped_refptr_mismatch_checker.h',
204 'memory/ref_counted.cc',
205 'memory/ref_counted.h',
206 'memory/ref_counted_memory.cc',
207 'memory/ref_counted_memory.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900208 'memory/scoped_handle.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900209 'memory/scoped_nsobject.h',
210 'memory/scoped_open_process.h',
sail@chromium.org3fd8dbe2012-06-02 17:17:37 +0900211 'memory/scoped_policy.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900212 'memory/scoped_ptr.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900213 'memory/scoped_vector.h',
joth@chromium.orgc4285cd2011-11-07 20:11:51 +0900214 'memory/singleton.cc',
levin@chromium.org5c528682011-03-28 10:54:15 +0900215 'memory/singleton.h',
216 'memory/weak_ptr.cc',
217 'memory/weak_ptr.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900218 'message_loop.cc',
219 'message_loop.h',
akalin@chromium.org062f9682012-02-15 10:43:19 +0900220 'message_loop_helpers.h',
erg@google.com71915232010-09-29 07:54:58 +0900221 'message_loop_proxy.cc',
sanjeevr@chromium.org11e02e62010-04-29 12:31:34 +0900222 'message_loop_proxy.h',
sanjeevr@chromium.orgd393cc42010-05-07 03:34:24 +0900223 'message_loop_proxy_impl.cc',
224 'message_loop_proxy_impl.h',
erg@google.com71915232010-09-29 07:54:58 +0900225 'message_pump.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900226 'message_pump.h',
michaelbai@chromium.org31a01702012-05-24 05:37:27 +0900227 'message_pump_android.cc',
228 'message_pump_android.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900229 'message_pump_default.cc',
230 'message_pump_default.h',
231 'message_pump_win.cc',
232 'message_pump_win.h',
brettw@chromium.org275c2ec2010-10-14 13:38:38 +0900233 'metrics/histogram.cc',
234 'metrics/histogram.h',
235 'metrics/stats_counters.cc',
236 'metrics/stats_counters.h',
237 'metrics/stats_table.cc',
238 'metrics/stats_table.h',
ajwong@chromium.org59f1fbb2012-01-20 09:03:45 +0900239 'move.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900240 'native_library.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900241 'native_library_mac.mm',
mark@chromium.orga8f9a692011-11-15 04:15:25 +0900242 'native_library_posix.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900243 'native_library_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900244 'observer_list.h',
245 'observer_list_threadsafe.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900246 'os_compat_android.cc',
247 'os_compat_android.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900248 'path_service.cc',
249 'path_service.h',
jhawkins@chromium.org2af12f22011-11-16 08:36:30 +0900250 'pending_task.cc',
251 'pending_task.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900252 'pickle.cc',
253 'pickle.h',
erg@google.comd5fffd42011-01-08 03:06:45 +0900254 'platform_file.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900255 'platform_file.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900256 'platform_file_posix.cc',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900257 'platform_file_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900258 'port.h',
jam@chromium.org81e9e992012-06-05 04:33:56 +0900259 'posix/unix_domain_socket.cc',
260 'posix/unix_domain_socket.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900261 'process.h',
262 'process_linux.cc',
263 'process_posix.cc',
maruel@chromium.org9cf11e82010-04-30 02:44:42 +0900264 'process_util.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900265 'process_util.h',
robert.nagy@gmail.com538fe7a2011-12-04 23:19:41 +0900266 'process_util_freebsd.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900267 'process_util_linux.cc',
268 'process_util_mac.mm',
mark@chromium.org2e9e81c2011-10-13 13:23:22 +0900269 'process_util_openbsd.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900270 'process_util_posix.cc',
271 'process_util_win.cc',
272 'process_win.cc',
jar@chromium.org27cf2972011-11-09 02:09:21 +0900273 'profiler/scoped_profile.cc',
274 'profiler/scoped_profile.h',
jar@chromium.org4626ccb2012-02-16 08:05:01 +0900275 'profiler/alternate_timer.cc',
276 'profiler/alternate_timer.h',
jar@chromium.org27cf2972011-11-09 02:09:21 +0900277 'profiler/tracked_time.cc',
278 'profiler/tracked_time.h',
jam@chromium.org5beeeaf2011-11-23 09:58:23 +0900279 'property_bag.cc',
280 'property_bag.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900281 'rand_util.cc',
282 'rand_util.h',
283 'rand_util_posix.cc',
284 'rand_util_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900285 'safe_strerror_posix.cc',
286 'safe_strerror_posix.h',
thakis@chromium.org927d7282011-05-20 08:34:17 +0900287 'scoped_native_library.cc',
288 'scoped_native_library.h',
289 'scoped_temp_dir.cc',
290 'scoped_temp_dir.h',
akalin@chromium.org062f9682012-02-15 10:43:19 +0900291 'sequenced_task_runner.cc',
292 'sequenced_task_runner.h',
293 'sequenced_task_runner_helpers.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900294 'sha1.h',
wtc@chromium.orgd828db42010-06-24 06:41:40 +0900295 'sha1_portable.cc',
296 'sha1_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900297 'shared_memory.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900298 'shared_memory_android.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900299 'shared_memory_posix.cc',
300 'shared_memory_win.cc',
akalin@chromium.org062f9682012-02-15 10:43:19 +0900301 'single_thread_task_runner.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900302 'stack_container.h',
dilmah@chromium.orgdc4b9702011-07-20 07:13:24 +0900303 'stl_util.h',
brettw@chromium.orgcbde69a2010-07-31 04:28:44 +0900304 'string_number_conversions.cc',
305 'string_number_conversions.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900306 'string_piece.cc',
307 'string_piece.h',
timsteele@google.com22058212010-01-22 04:29:25 +0900308 'string_split.cc',
309 'string_split.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900310 'string_tokenizer.h',
311 'string_util.cc',
312 'string_util.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +0900313 'string_util_posix.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900314 'string_util_win.h',
joi@chromium.orgeb2b72d2010-11-18 11:15:12 +0900315 'stringize_macros.h',
brettw@chromium.org67cbde42010-08-17 12:45:37 +0900316 'stringprintf.cc',
317 'stringprintf.h',
jam@chromium.org533df722012-02-16 07:07:34 +0900318 'supports_user_data.cc',
319 'supports_user_data.h',
brettw@chromium.org5238c7d2011-01-02 15:05:39 +0900320 'synchronization/cancellation_flag.cc',
321 'synchronization/cancellation_flag.h',
brettw@chromium.orge439a962011-01-02 08:16:20 +0900322 'synchronization/condition_variable.h',
323 'synchronization/condition_variable_posix.cc',
324 'synchronization/condition_variable_win.cc',
325 'synchronization/lock.cc',
326 'synchronization/lock.h',
327 'synchronization/lock_impl.h',
328 'synchronization/lock_impl_posix.cc',
329 'synchronization/lock_impl_win.cc',
rsleevi@chromium.orge3b52c62012-02-22 03:11:47 +0900330 'synchronization/spin_wait.h',
brettw@chromium.org5238c7d2011-01-02 15:05:39 +0900331 'synchronization/waitable_event.h',
332 'synchronization/waitable_event_posix.cc',
333 'synchronization/waitable_event_watcher.h',
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900334 'synchronization/waitable_event_watcher_posix.cc',
brettw@chromium.org5238c7d2011-01-02 15:05:39 +0900335 'synchronization/waitable_event_watcher_win.cc',
336 'synchronization/waitable_event_win.cc',
willchan@chromium.org0fbb8682011-05-18 16:29:56 +0900337 'system_monitor/system_monitor.cc',
338 'system_monitor/system_monitor.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900339 'system_monitor/system_monitor_android.cc',
willchan@chromium.org0fbb8682011-05-18 16:29:56 +0900340 'system_monitor/system_monitor_mac.mm',
341 'system_monitor/system_monitor_posix.cc',
342 'system_monitor/system_monitor_win.cc',
isherman@chromium.org333d7fd2011-12-29 08:18:21 +0900343 'sys_byteorder.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900344 'sys_info.h',
ulan@chromium.org8ac7ea02012-05-26 00:31:37 +0900345 'sys_info_android.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900346 'sys_info_chromeos.cc',
347 'sys_info_freebsd.cc',
348 'sys_info_linux.cc',
349 'sys_info_mac.cc',
350 'sys_info_openbsd.cc',
351 'sys_info_posix.cc',
352 'sys_info_win.cc',
353 'sys_string_conversions.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900354 'sys_string_conversions_mac.mm',
mark@chromium.orga8f9a692011-11-15 04:15:25 +0900355 'sys_string_conversions_posix.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900356 'sys_string_conversions_win.cc',
akalin@chromium.org062f9682012-02-15 10:43:19 +0900357 'task_runner.cc',
358 'task_runner.h',
battre@chromium.org6d025972012-04-17 11:48:06 +0900359 'task_runner_util.h',
willchan@chromium.orgb9b021a2010-06-16 04:39:24 +0900360 'template_util.h',
sergeyu@chromium.org675d8882012-05-10 05:16:14 +0900361 'thread_task_runner_handle.cc',
362 'thread_task_runner_handle.h',
brettw@chromium.org088ae932011-01-01 13:48:49 +0900363 'threading/non_thread_safe.h',
joi@chromium.orgb5d63f72011-03-04 08:38:51 +0900364 'threading/non_thread_safe_impl.cc',
365 'threading/non_thread_safe_impl.h',
brettw@chromium.org61391822011-01-01 05:02:16 +0900366 'threading/platform_thread.h',
367 'threading/platform_thread_mac.mm',
368 'threading/platform_thread_posix.cc',
369 'threading/platform_thread_win.cc',
joi@chromium.orgca327c72011-10-15 02:30:37 +0900370 'threading/post_task_and_reply_impl.cc',
371 'threading/post_task_and_reply_impl.h',
brettw@chromium.org03d32fd2012-01-01 14:42:34 +0900372 'threading/sequenced_worker_pool.cc',
373 'threading/sequenced_worker_pool.h',
brettw@chromium.org34f964f2010-12-31 03:08:36 +0900374 'threading/simple_thread.cc',
375 'threading/simple_thread.h',
brettw@chromium.org5b5f5e02011-01-01 10:01:06 +0900376 'threading/thread.cc',
377 'threading/thread.h',
brettw@chromium.org61391822011-01-01 05:02:16 +0900378 'threading/thread_checker.h',
joi@chromium.orgb5d63f72011-03-04 08:38:51 +0900379 'threading/thread_checker_impl.cc',
380 'threading/thread_checker_impl.h',
brettw@chromium.org5b5f5e02011-01-01 10:01:06 +0900381 'threading/thread_collision_warner.cc',
382 'threading/thread_collision_warner.h',
brettw@chromium.org63965582010-12-31 07:18:56 +0900383 'threading/thread_local.h',
384 'threading/thread_local_posix.cc',
385 'threading/thread_local_storage.h',
386 'threading/thread_local_storage_posix.cc',
387 'threading/thread_local_storage_win.cc',
388 'threading/thread_local_win.cc',
brettw@chromium.org5b5f5e02011-01-01 10:01:06 +0900389 'threading/thread_restrictions.h',
390 'threading/thread_restrictions.cc',
brettw@chromium.org34f964f2010-12-31 03:08:36 +0900391 'threading/watchdog.cc',
392 'threading/watchdog.h',
393 'threading/worker_pool.h',
joi@chromium.orgca327c72011-10-15 02:30:37 +0900394 'threading/worker_pool.cc',
brettw@chromium.org34f964f2010-12-31 03:08:36 +0900395 'threading/worker_pool_posix.cc',
396 'threading/worker_pool_posix.h',
397 'threading/worker_pool_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900398 'time.cc',
399 'time.h',
400 'time_win.cc',
401 'timer.cc',
402 'timer.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900403 'tracked_objects.cc',
404 'tracked_objects.h',
jar@chromium.org27cf2972011-11-09 02:09:21 +0900405 'tracking_info.cc',
406 'tracking_info.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900407 'tuple.h',
408 'utf_offset_string_conversions.cc',
409 'utf_offset_string_conversions.h',
410 'utf_string_conversion_utils.cc',
411 'utf_string_conversion_utils.h',
412 'utf_string_conversions.cc',
413 'utf_string_conversions.h',
robertshield@chromium.org9fb9e372010-03-23 05:12:50 +0900414 'values.cc',
415 'values.h',
bauerb@chromium.orgfe9f8532011-03-15 18:51:50 +0900416 'value_conversions.cc',
417 'value_conversions.h',
robertshield@chromium.orga9914a32010-11-11 02:02:19 +0900418 'version.cc',
419 'version.h',
akalin@chromium.orgf0ee79c2010-09-30 04:26:36 +0900420 'vlog.cc',
421 'vlog.h',
thestig@chromium.org3a6c57e2011-11-12 05:41:21 +0900422 'nix/mime_util_xdg.cc',
423 'nix/mime_util_xdg.h',
tfarina@chromium.org9be76e52011-06-25 21:18:51 +0900424 'nix/xdg_util.cc',
425 'nix/xdg_util.h',
dmazzoni@chromium.orgb1bdde42011-12-03 13:31:13 +0900426 'win/enum_variant.h',
427 'win/enum_variant.cc',
siggi@chromium.org7913ed62010-11-07 00:39:40 +0900428 'win/event_trace_consumer.h',
429 'win/event_trace_controller.cc',
430 'win/event_trace_controller.h',
431 'win/event_trace_provider.cc',
432 'win/event_trace_provider.h',
rvargas@google.com57a43962011-04-05 07:42:46 +0900433 'win/i18n.cc',
434 'win/i18n.h',
tfarina@chromium.org9be76e52011-06-25 21:18:51 +0900435 'win/iat_patch_function.cc',
436 'win/iat_patch_function.h',
dmazzoni@chromium.orgb1bdde42011-12-03 13:31:13 +0900437 'win/iunknown_impl.h',
438 'win/iunknown_impl.cc',
ananta@chromium.org225296f2012-04-10 06:32:48 +0900439 'win/metro.cc',
440 'win/metro.h',
rvargas@google.com57a43962011-04-05 07:42:46 +0900441 'win/object_watcher.cc',
442 'win/object_watcher.h',
brettw@chromium.orgb3a7c3e2010-10-17 13:41:54 +0900443 'win/registry.cc',
444 'win/registry.h',
tony@chromium.org60658e12011-08-26 07:58:36 +0900445 'win/resource_util.cc',
446 'win/resource_util.h',
siggi@chromium.orgdb0946f2011-12-08 06:44:28 +0900447 'win/sampling_profiler.cc',
448 'win/sampling_profiler.h',
brettw@chromium.org45352272010-10-16 12:46:05 +0900449 'win/scoped_bstr.cc',
450 'win/scoped_bstr.h',
tommi@chromium.org84908322011-10-21 16:00:22 +0900451 'win/scoped_co_mem.h',
tfarina@chromium.org9be76e52011-06-25 21:18:51 +0900452 'win/scoped_com_initializer.h',
brettw@chromium.org45352272010-10-16 12:46:05 +0900453 'win/scoped_comptr.h',
454 'win/scoped_gdi_object.h',
rvargas@chromium.org365619a2012-05-31 14:04:18 +0900455 'win/scoped_handle.cc',
brettw@chromium.org45352272010-10-16 12:46:05 +0900456 'win/scoped_handle.h',
457 'win/scoped_hdc.h',
458 'win/scoped_hglobal.h',
erikwright@chromium.org82223842012-04-05 04:57:50 +0900459 'win/scoped_process_information.cc',
460 'win/scoped_process_information.h',
yosin@chromium.org67db53e2011-10-04 13:43:12 +0900461 'win/scoped_select_object.h',
brettw@chromium.org45352272010-10-16 12:46:05 +0900462 'win/scoped_variant.cc',
463 'win/scoped_variant.h',
tfarina@chromium.org533d02c2011-06-25 10:38:59 +0900464 'win/windows_version.cc',
465 'win/windows_version.h',
tfarina@chromium.org9be76e52011-06-25 21:18:51 +0900466 'win/win_util.cc',
467 'win/win_util.h',
rvargas@google.comed1496e2011-03-17 09:34:09 +0900468 'win/wrapped_window_proc.cc',
469 'win/wrapped_window_proc.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900470 ],
darin@chromium.org37acbb12011-07-21 03:38:24 +0900471 'defines': [
472 'BASE_IMPLEMENTATION',
473 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900474 'include_dirs': [
475 '..',
476 ],
477 # These warnings are needed for the files in third_party\dmg_fp.
478 'msvs_disabled_warnings': [
479 4244, 4554, 4018, 4102,
480 ],
481 'mac_framework_dirs': [
482 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
483 ],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900484 'target_conditions': [
485 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900486 'sources/': [
brettw@chromium.orge47345a2010-10-16 13:56:06 +0900487 ['exclude', '^nix/'],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900488 ],
489 'sources!': [
490 'atomicops_internals_x86_gcc.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900491 'message_pump_glib.cc',
erg@chromium.org07dcf702012-05-30 08:25:38 +0900492 'message_pump_aurax11.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900493 ],
tony@chromium.org9f7a86f2010-04-14 10:46:43 +0900494 }],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900495 ['<(toolkit_uses_gtk)==0 or >(nacl_untrusted_build)==1', {
496 'sources!': ['message_pump_gtk.cc'],
sadrul@chromium.org847a5722011-09-21 09:17:19 +0900497 }],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900498 ['(OS != "linux" and <(os_bsd) != 1) or >(nacl_untrusted_build)==1', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900499 'sources!': [
500 # Not automatically excluded by the *linux.cc rules.
evan@chromium.org73aec0e2010-04-23 08:28:05 +0900501 'linux_util.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900502 ],
503 },
504 ],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900505 ['>(nacl_untrusted_build)==1', {
506 'sources!': [
507 'file_util.cc',
508 'files/file_path_watcher_kqueue.cc',
509 ],
510 }],
511 ['OS == "android" and >(nacl_untrusted_build)==0', {
jrg@chromium.org7a15cdd2011-11-02 03:13:50 +0900512 'sources!': [
513 'files/file_path_watcher_kqueue.cc',
jrg@chromium.org7a15cdd2011-11-02 03:13:50 +0900514 'system_monitor/system_monitor_posix.cc',
515 ],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900516 'sources/': [
jrg@chromium.org7a15cdd2011-11-02 03:13:50 +0900517 ['include', '^process_util_linux\\.cc$'],
518 ['include', '^sys_info_linux\\.cc$'],
bulach@chromium.org7e19ef32011-11-23 00:33:20 +0900519 ['include', '^sys_string_conversions_posix\\.cc$'],
jrg@chromium.org7a15cdd2011-11-02 03:13:50 +0900520 ['include', '^worker_pool_linux\\.cc$'],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900521 ],
522 }],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900523 ['OS != "mac" or >(nacl_untrusted_build)==1', {
rsesek@chromium.org56a552f2010-08-14 00:24:53 +0900524 'sources!': [
sadrul@chromium.org9bb2c1a2011-05-25 09:20:42 +0900525 'mac/scoped_aedesc.h'
rsesek@chromium.org56a552f2010-08-14 00:24:53 +0900526 ],
527 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900528 # For now, just test the *BSD platforms enough to exclude them.
529 # Subsequent changes will include them further.
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900530 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900531 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
532 },
533 ],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900534 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900535 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
536 },
537 ],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900538 ['OS != "win" or >(nacl_untrusted_build)==1', {
brettw@chromium.org45352272010-10-16 12:46:05 +0900539 'sources/': [ ['exclude', '^win/'] ],
540 },
541 ],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900542 ['OS != "android" or >(nacl_untrusted_build)==1', {
bulach@chromium.org32050d82011-08-09 01:13:54 +0900543 'sources/': [ ['exclude', '^android/'] ],
544 },
545 ],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900546 ['OS == "win" and >(nacl_untrusted_build)==0', {
brettw@chromium.orgacb14c22010-10-15 10:59:15 +0900547 'include_dirs': [
548 '<(DEPTH)/third_party/wtl/include',
549 ],
550 'sources!': [
551 'event_recorder_stubs.cc',
552 'file_descriptor_shuffle.cc',
robert.nagy@gmail.combd7a6ad2011-10-26 08:35:27 +0900553 'files/file_path_watcher_kqueue.cc',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900554 'files/file_path_watcher_stub.cc',
brettw@chromium.orgacb14c22010-10-15 10:59:15 +0900555 'message_pump_libevent.cc',
556 # Not using sha1_win.cc because it may have caused a
557 # regression to page cycler moz.
558 'sha1_win.cc',
559 'string16.cc',
brettw@chromium.orgacb14c22010-10-15 10:59:15 +0900560 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900561 },],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900562 ['OS == "linux" and >(nacl_untrusted_build)==0', {
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900563 'sources!': [
robert.nagy@gmail.combd7a6ad2011-10-26 08:35:27 +0900564 'files/file_path_watcher_kqueue.cc',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900565 'files/file_path_watcher_stub.cc',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900566 ],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900567 }],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900568 ['OS == "mac" and >(nacl_untrusted_build)==0', {
mark@chromium.orga8f9a692011-11-15 04:15:25 +0900569 'sources/': [
570 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
571 ['exclude', '^base_paths_posix\\.cc$'],
572 ['exclude', '^native_library_posix\\.cc$'],
573 ['exclude', '^sys_string_conversions_posix\\.cc$'],
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900574 ],
575 }],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900576 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
mark@chromium.org2e9e81c2011-10-13 13:23:22 +0900577 'sources/': [
robert.nagy@gmail.comea54e462011-10-25 07:05:27 +0900578 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
robert.nagy@gmail.combd7a6ad2011-10-26 08:35:27 +0900579 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
robert.nagy@gmail.comea54e462011-10-25 07:05:27 +0900580 ['exclude', '^file_util_linux\\.cc$'],
581 ['exclude', '^process_linux\\.cc$'],
582 ['exclude', '^process_util_linux\\.cc$'],
583 ['exclude', '^sys_info_linux\\.cc$'],
mark@chromium.org2e9e81c2011-10-13 13:23:22 +0900584 ],
585 }],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900586 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', {
oshima@chromium.org0c45de52012-03-17 08:01:02 +0900587 'sources/': [
588 ['exclude', '^chromeos/'],
589 ],
590 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900591 ],
592 }],
593 ],
594 },
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900595}