blob: 06522495ef9f8a43b01860b57b2d4fd2e156b39b [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',
benm@chromium.orgfa2d5d82012-08-07 02:56:04 +090044 'android/path_service_android.cc',
45 'android/path_service_android.h',
joth@chromium.orged27f3a2011-09-09 19:17:35 +090046 'android/path_utils.cc',
47 'android/path_utils.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090048 'at_exit.cc',
49 'at_exit.h',
50 'atomic_ref_count.h',
51 'atomic_sequence_num.h',
52 'atomicops.h',
bbudge@chromium.org407d3b52012-08-23 03:22:03 +090053 'atomicops_internals_gcc.h',
leng@chromium.org98cd05c2012-07-14 01:49:44 +090054 'atomicops_internals_mac.h',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +090055 'atomicops_internals_x86_gcc.cc',
ensonic@google.com24ba1962011-09-29 01:28:40 +090056 'atomicops_internals_x86_gcc.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090057 'atomicops_internals_x86_msvc.h',
darin@chromium.orge585bed2011-08-06 00:34:00 +090058 'base_export.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090059 'base_paths.cc',
60 'base_paths.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +090061 'base_paths_android.cc',
avi@chromium.orga7d1df92012-03-23 06:44:31 +090062 'base_paths_android.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090063 'base_paths_mac.h',
64 'base_paths_mac.mm',
mark@chromium.orga8f9a692011-11-15 04:15:25 +090065 'base_paths_posix.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090066 'base_paths_win.cc',
67 'base_paths_win.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +090068 'base_switches.h',
sergeyu@chromium.orge2585912012-07-27 07:53:13 +090069 'base64.cc',
70 'base64.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090071 'basictypes.h',
ajwong@chromium.orge2cca632011-02-15 10:27:38 +090072 'bind.h',
ajwong@chromium.orge4f3dc32012-01-07 07:12:28 +090073 'bind_helpers.cc',
ajwong@chromium.orge2cca632011-02-15 10:27:38 +090074 'bind_helpers.h',
75 'bind_internal.h',
ajwong@chromium.orgcb175342011-02-27 10:25:59 +090076 'bind_internal_win.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090077 'bits.h',
agl@chromium.orgb9206f42011-11-12 01:09:31 +090078 'build_time.cc',
79 'build_time.h',
akalin@chromium.org6ed4f882010-02-19 12:15:59 +090080 'callback.h',
fischman@chromium.orgdc221a72012-03-25 05:37:27 +090081 'callback_helpers.h',
ajwong@chromium.orgfa0ff432011-02-19 08:29:31 +090082 'callback_internal.cc',
83 'callback_internal.h',
jhawkins@chromium.org78936ff2011-11-24 13:12:04 +090084 'cancelable_callback.h',
avi@chromium.orga7d1df92012-03-23 06:44:31 +090085 'chromeos/chromeos_version.cc',
86 'chromeos/chromeos_version.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090087 'command_line.cc',
88 'command_line.h',
89 'compiler_specific.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090090 'cpu.cc',
91 'cpu.h',
chenyu@chromium.org4c63e782012-08-02 00:42:16 +090092 'critical_closure.h',
93 'critical_closure_ios.mm',
apatrick@chromium.org87164042011-05-20 07:28:25 +090094 'debug/alias.cc',
95 'debug/alias.h',
brettw@chromium.org28078b62011-01-02 04:55:22 +090096 'debug/debug_on_start_win.cc',
97 'debug/debug_on_start_win.h',
brettw@chromium.org2f49b122010-10-26 13:07:50 +090098 'debug/debugger.cc',
99 'debug/debugger.h',
100 'debug/debugger_posix.cc',
101 'debug/debugger_win.cc',
102 'debug/leak_annotations.h',
103 'debug/leak_tracker.h',
davemoore@chromium.orgeeb51f72011-02-02 08:35:25 +0900104 'debug/profiler.cc',
105 'debug/profiler.h',
brettw@chromium.org2f49b122010-10-26 13:07:50 +0900106 'debug/stack_trace.cc',
107 'debug/stack_trace.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900108 'debug/stack_trace_android.cc',
brettw@chromium.org2f49b122010-10-26 13:07:50 +0900109 'debug/stack_trace_posix.cc',
110 'debug/stack_trace_win.cc',
brettw@chromium.org2f49b122010-10-26 13:07:50 +0900111 'debug/trace_event.cc',
112 'debug/trace_event.h',
jbates@chromium.orgd3bee532012-01-24 06:03:49 +0900113 'debug/trace_event_impl.cc',
114 'debug/trace_event_impl.h',
115 'debug/trace_event_win.cc',
ensonic@google.com24ba1962011-09-29 01:28:40 +0900116 'eintr_wrapper.h',
tfarina@chromium.org6d36c5d2010-08-03 12:00:50 +0900117 'environment.cc',
118 'environment.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +0900119 'file_descriptor_posix.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900120 'file_path.cc',
121 'file_path.h',
122 'file_util.cc',
123 'file_util.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900124 'file_util_android.cc',
evan@chromium.org33b77052010-08-20 09:36:01 +0900125 'file_util_linux.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900126 'file_util_mac.mm',
127 'file_util_posix.cc',
128 'file_util_win.cc',
dumi@chromium.orgc980e402010-08-21 07:42:50 +0900129 'file_util_proxy.cc',
130 'file_util_proxy.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900131 'file_version_info.h',
tony@chromium.org9f7a86f2010-04-14 10:46:43 +0900132 'file_version_info_mac.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900133 'file_version_info_mac.mm',
tony@chromium.org9f7a86f2010-04-14 10:46:43 +0900134 'file_version_info_win.cc',
135 'file_version_info_win.h',
brettw@chromium.orgbf3eb522012-06-30 06:09:14 +0900136 'files/dir_reader_fallback.h',
137 'files/dir_reader_linux.h',
138 'files/dir_reader_posix.h',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900139 'files/file_path_watcher.cc',
140 'files/file_path_watcher.h',
robert.nagy@gmail.combd7a6ad2011-10-26 08:35:27 +0900141 'files/file_path_watcher_kqueue.cc',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900142 'files/file_path_watcher_linux.cc',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900143 'files/file_path_watcher_stub.cc',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900144 'files/file_path_watcher_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900145 'float_util.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +0900146 'format_macros.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900147 'global_descriptors_posix.cc',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900148 'global_descriptors_posix.h',
phajdan.jr@chromium.orgdd43b732010-06-01 23:30:51 +0900149 'gtest_prod_util.h',
marja@chromium.org9158ee02012-06-14 23:22:07 +0900150 'guid.cc',
151 'guid.h',
152 'guid_posix.cc',
153 'guid_win.cc',
jbates@chromium.org68c7aea2012-09-01 09:55:09 +0900154 'hash.cc',
155 'hash.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900156 'hash_tables.h',
jam@chromium.org81e9e992012-06-05 04:33:56 +0900157 'hi_res_timer_manager_posix.cc',
158 'hi_res_timer_manager_win.cc',
159 'hi_res_timer_manager.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900160 'id_map.h',
chenyu@chromium.org3f440a42012-08-07 20:03:11 +0900161 'ios/device_util.h',
162 'ios/device_util.mm',
chenyu@chromium.org4c63e782012-08-02 00:42:16 +0900163 'ios/scoped_critical_action.h',
164 'ios/scoped_critical_action.mm',
bbudge@chromium.org218cd872012-02-27 05:26:42 +0900165 'json/json_file_value_serializer.cc',
166 'json/json_file_value_serializer.h',
rsesek@chromium.orgc2d2b202012-05-17 00:23:30 +0900167 'json/json_parser.cc',
168 'json/json_parser.h',
erg@google.com8aca7272010-08-19 03:33:57 +0900169 'json/json_reader.cc',
170 'json/json_reader.h',
bbudge@chromium.org218cd872012-02-27 05:26:42 +0900171 'json/json_string_value_serializer.cc',
172 'json/json_string_value_serializer.h',
mukai@chromium.org55292e42011-12-23 03:31:47 +0900173 'json/json_value_converter.h',
erg@google.com8aca7272010-08-19 03:33:57 +0900174 'json/json_writer.cc',
175 'json/json_writer.h',
176 'json/string_escape.cc',
177 'json/string_escape.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900178 'lazy_instance.cc',
179 'lazy_instance.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900180 'linked_list.h',
ajwong@chromium.org8e2e3002011-09-22 03:05:41 +0900181 'location.cc',
182 'location.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900183 'logging.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900184 'logging.h',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900185 'logging_win.cc',
rvargas@google.comc3b65182011-03-29 08:48:44 +0900186 'logging_win.h',
lambroslambrou@chromium.org3fb62442012-03-22 05:55:05 +0900187 'mac/authorization_util.h',
188 'mac/authorization_util.mm',
noyau@chromium.orgc2ad9492012-07-26 02:47:58 +0900189 'mac/bind_objc_block.h',
190 'mac/bind_objc_block.mm',
jeremy@chromium.org3c9aa4b2012-01-12 06:35:51 +0900191 'mac/bundle_locations.h',
192 'mac/bundle_locations.mm',
brettw@chromium.org624f07962010-12-23 09:43:36 +0900193 'mac/cocoa_protocols.h',
jeremy@chromium.org4bed1f32011-09-11 20:29:49 +0900194 'mac/crash_logging.h',
195 'mac/crash_logging.mm',
bauerb@chromium.orgfe9f8532011-03-15 18:51:50 +0900196 'mac/foundation_util.h',
197 'mac/foundation_util.mm',
lambroslambrou@chromium.org49a69582012-03-30 01:57:53 +0900198 'mac/launchd.cc',
199 'mac/launchd.h',
mark@chromium.orge4d0c3f2012-01-28 08:06:49 +0900200 'mac/mac_logging.h',
201 'mac/mac_logging.cc',
brettw@chromium.org92d954b2011-01-02 03:20:14 +0900202 'mac/mac_util.h',
203 'mac/mac_util.mm',
mark@chromium.org2a9b20f2011-04-21 07:30:35 +0900204 'mac/objc_property_releaser.h',
205 'mac/objc_property_releaser.mm',
brettw@google.comb39f6c02011-01-02 01:08:52 +0900206 'mac/os_crash_dumps.cc',
207 'mac/os_crash_dumps.h',
brettw@chromium.org0d4a0352010-10-18 11:47:39 +0900208 'mac/scoped_aedesc.h',
lambroslambrou@chromium.org3fb62442012-03-22 05:55:05 +0900209 'mac/scoped_authorizationref.h',
joth@chromium.orgb72c5f52010-11-12 21:03:54 +0900210 'mac/scoped_cftyperef.h',
thakis@chromium.org829d71a2012-03-24 03:17:33 +0900211 'mac/scoped_ioobject.h',
lambroslambrou@chromium.org49a69582012-03-30 01:57:53 +0900212 'mac/scoped_launch_data.h',
brettw@chromium.org0d4a0352010-10-18 11:47:39 +0900213 'mac/scoped_nsautorelease_pool.h',
214 'mac/scoped_nsautorelease_pool.mm',
shess@chromium.org0318f412011-05-25 07:07:05 +0900215 'mac/scoped_nsexception_enabler.h',
216 'mac/scoped_nsexception_enabler.mm',
shess@chromium.orgcb3d4fe2011-12-02 08:56:17 +0900217 'mac/scoped_sending_event.h',
218 'mac/scoped_sending_event.mm',
thakis@chromium.org281e2102010-01-12 09:39:15 +0900219 'mach_ipc_mac.h',
220 'mach_ipc_mac.mm',
dalecurtis@chromium.orgee816432012-07-26 11:22:39 +0900221 'memory/aligned_memory.cc',
222 'memory/aligned_memory.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900223 'memory/linked_ptr.h',
agayev@chromium.org751c2272011-04-28 03:37:03 +0900224 'memory/mru_cache.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900225 'memory/raw_scoped_refptr_mismatch_checker.h',
226 'memory/ref_counted.cc',
227 'memory/ref_counted.h',
228 'memory/ref_counted_memory.cc',
229 'memory/ref_counted_memory.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900230 'memory/scoped_handle.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900231 'memory/scoped_nsobject.h',
232 'memory/scoped_open_process.h',
sail@chromium.org3fd8dbe2012-06-02 17:17:37 +0900233 'memory/scoped_policy.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900234 'memory/scoped_ptr.h',
levin@chromium.org5c528682011-03-28 10:54:15 +0900235 'memory/scoped_vector.h',
joth@chromium.orgc4285cd2011-11-07 20:11:51 +0900236 'memory/singleton.cc',
levin@chromium.org5c528682011-03-28 10:54:15 +0900237 'memory/singleton.h',
238 'memory/weak_ptr.cc',
239 'memory/weak_ptr.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900240 'message_loop.cc',
241 'message_loop.h',
erg@google.com71915232010-09-29 07:54:58 +0900242 'message_loop_proxy.cc',
sanjeevr@chromium.org11e02e62010-04-29 12:31:34 +0900243 'message_loop_proxy.h',
sanjeevr@chromium.orgd393cc42010-05-07 03:34:24 +0900244 'message_loop_proxy_impl.cc',
245 'message_loop_proxy_impl.h',
erg@google.com71915232010-09-29 07:54:58 +0900246 'message_pump.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900247 'message_pump.h',
michaelbai@chromium.org31a01702012-05-24 05:37:27 +0900248 'message_pump_android.cc',
249 'message_pump_android.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900250 'message_pump_default.cc',
251 'message_pump_default.h',
252 'message_pump_win.cc',
253 'message_pump_win.h',
kaiwang@chromium.org7c4acad2012-07-26 05:02:48 +0900254 'metrics/bucket_ranges.cc',
255 'metrics/bucket_ranges.h',
brettw@chromium.org275c2ec2010-10-14 13:38:38 +0900256 'metrics/histogram.cc',
257 'metrics/histogram.h',
kaiwang@chromium.org081c0f52012-07-19 14:31:49 +0900258 'metrics/histogram_base.cc',
259 'metrics/histogram_base.h',
rtenneti@google.com1c05d342012-07-13 03:19:45 +0900260 'metrics/histogram_flattener.h',
261 'metrics/histogram_snapshot_manager.cc',
262 'metrics/histogram_snapshot_manager.h',
kaiwang@chromium.org18643672012-08-09 14:14:15 +0900263 'metrics/sparse_histogram.cc',
264 'metrics/sparse_histogram.h',
kaiwang@chromium.org3c57dc62012-07-14 06:48:29 +0900265 'metrics/statistics_recorder.cc',
266 'metrics/statistics_recorder.h',
brettw@chromium.org275c2ec2010-10-14 13:38:38 +0900267 'metrics/stats_counters.cc',
268 'metrics/stats_counters.h',
269 'metrics/stats_table.cc',
270 'metrics/stats_table.h',
ajwong@chromium.org59f1fbb2012-01-20 09:03:45 +0900271 'move.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900272 'native_library.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900273 'native_library_mac.mm',
mark@chromium.orga8f9a692011-11-15 04:15:25 +0900274 'native_library_posix.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900275 'native_library_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900276 'observer_list.h',
277 'observer_list_threadsafe.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900278 'os_compat_android.cc',
279 'os_compat_android.h',
bbudge@chromium.org986e9f72012-06-12 13:02:33 +0900280 'os_compat_nacl.cc',
281 'os_compat_nacl.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900282 'path_service.cc',
283 'path_service.h',
jhawkins@chromium.org2af12f22011-11-16 08:36:30 +0900284 'pending_task.cc',
285 'pending_task.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900286 'pickle.cc',
287 'pickle.h',
erg@google.comd5fffd42011-01-08 03:06:45 +0900288 'platform_file.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900289 'platform_file.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900290 'platform_file_posix.cc',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900291 'platform_file_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900292 'port.h',
jam@chromium.org81e9e992012-06-05 04:33:56 +0900293 'posix/unix_domain_socket.cc',
294 'posix/unix_domain_socket.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900295 'process.h',
jeremy@chromium.orgdb80ccc2012-06-20 02:43:31 +0900296 'process_info.h',
297 'process_info_mac.cc',
298 'process_info_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900299 'process_linux.cc',
300 'process_posix.cc',
maruel@chromium.org9cf11e82010-04-30 02:44:42 +0900301 'process_util.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900302 'process_util.h',
robert.nagy@gmail.com538fe7a2011-12-04 23:19:41 +0900303 'process_util_freebsd.cc',
stuartmorgan@chromium.org11335452012-07-12 00:35:02 +0900304 'process_util_ios.mm',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900305 'process_util_linux.cc',
306 'process_util_mac.mm',
mark@chromium.org2e9e81c2011-10-13 13:23:22 +0900307 'process_util_openbsd.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900308 'process_util_posix.cc',
309 'process_util_win.cc',
310 'process_win.cc',
jar@chromium.org27cf2972011-11-09 02:09:21 +0900311 'profiler/scoped_profile.cc',
312 'profiler/scoped_profile.h',
jar@chromium.org4626ccb2012-02-16 08:05:01 +0900313 'profiler/alternate_timer.cc',
314 'profiler/alternate_timer.h',
jar@chromium.org27cf2972011-11-09 02:09:21 +0900315 'profiler/tracked_time.cc',
316 'profiler/tracked_time.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900317 'rand_util.cc',
318 'rand_util.h',
sergeyu@chromium.orge2585912012-07-27 07:53:13 +0900319 'rand_util_nacl.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900320 'rand_util_posix.cc',
321 'rand_util_win.cc',
jbates@chromium.org5d5b2812012-06-29 07:57:30 +0900322 'run_loop.cc',
323 'run_loop.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900324 'safe_strerror_posix.cc',
325 'safe_strerror_posix.h',
thakis@chromium.org927d7282011-05-20 08:34:17 +0900326 'scoped_native_library.cc',
327 'scoped_native_library.h',
328 'scoped_temp_dir.cc',
329 'scoped_temp_dir.h',
akalin@chromium.org062f9682012-02-15 10:43:19 +0900330 'sequenced_task_runner.cc',
331 'sequenced_task_runner.h',
332 'sequenced_task_runner_helpers.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900333 'sha1.h',
wtc@chromium.orgd828db42010-06-24 06:41:40 +0900334 'sha1_portable.cc',
335 'sha1_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900336 'shared_memory.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900337 'shared_memory_android.cc',
bbudge@chromium.org986e9f72012-06-12 13:02:33 +0900338 'shared_memory_nacl.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900339 'shared_memory_posix.cc',
340 'shared_memory_win.cc',
akalin@chromium.org062f9682012-02-15 10:43:19 +0900341 'single_thread_task_runner.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900342 'stack_container.h',
dilmah@chromium.orgdc4b9702011-07-20 07:13:24 +0900343 'stl_util.h',
brettw@chromium.orgcbde69a2010-07-31 04:28:44 +0900344 'string_number_conversions.cc',
345 'string_number_conversions.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900346 'string_piece.cc',
347 'string_piece.h',
timsteele@google.com22058212010-01-22 04:29:25 +0900348 'string_split.cc',
349 'string_split.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900350 'string_tokenizer.h',
351 'string_util.cc',
352 'string_util.h',
ensonic@google.com24ba1962011-09-29 01:28:40 +0900353 'string_util_posix.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900354 'string_util_win.h',
sergeyu@chromium.orge2585912012-07-27 07:53:13 +0900355 'string16.cc',
356 'string16.h',
joi@chromium.orgeb2b72d2010-11-18 11:15:12 +0900357 'stringize_macros.h',
brettw@chromium.org67cbde42010-08-17 12:45:37 +0900358 'stringprintf.cc',
359 'stringprintf.h',
jam@chromium.org533df722012-02-16 07:07:34 +0900360 'supports_user_data.cc',
361 'supports_user_data.h',
brettw@chromium.org5238c7d2011-01-02 15:05:39 +0900362 'synchronization/cancellation_flag.cc',
363 'synchronization/cancellation_flag.h',
brettw@chromium.orge439a962011-01-02 08:16:20 +0900364 'synchronization/condition_variable.h',
365 'synchronization/condition_variable_posix.cc',
366 'synchronization/condition_variable_win.cc',
367 'synchronization/lock.cc',
368 'synchronization/lock.h',
369 'synchronization/lock_impl.h',
370 'synchronization/lock_impl_posix.cc',
371 'synchronization/lock_impl_win.cc',
rsleevi@chromium.orge3b52c62012-02-22 03:11:47 +0900372 'synchronization/spin_wait.h',
brettw@chromium.org5238c7d2011-01-02 15:05:39 +0900373 'synchronization/waitable_event.h',
374 'synchronization/waitable_event_posix.cc',
375 'synchronization/waitable_event_watcher.h',
jeremy@chromium.orgdb80ccc2012-06-20 02:43:31 +0900376 'synchronization/waitable_event_watcher_posix.cc',
brettw@chromium.org5238c7d2011-01-02 15:05:39 +0900377 'synchronization/waitable_event_watcher_win.cc',
378 'synchronization/waitable_event_win.cc',
willchan@chromium.org0fbb8682011-05-18 16:29:56 +0900379 'system_monitor/system_monitor.cc',
380 'system_monitor/system_monitor.h',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900381 'system_monitor/system_monitor_android.cc',
rohitrao@chromium.org3d298722012-07-11 04:18:21 +0900382 'system_monitor/system_monitor_ios.mm',
willchan@chromium.org0fbb8682011-05-18 16:29:56 +0900383 'system_monitor/system_monitor_mac.mm',
384 'system_monitor/system_monitor_posix.cc',
385 'system_monitor/system_monitor_win.cc',
isherman@chromium.org333d7fd2011-12-29 08:18:21 +0900386 'sys_byteorder.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900387 'sys_info.h',
ulan@chromium.org8ac7ea02012-05-26 00:31:37 +0900388 'sys_info_android.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900389 'sys_info_chromeos.cc',
390 'sys_info_freebsd.cc',
chenyu@chromium.org77c3a622012-07-11 21:15:08 +0900391 'sys_info_ios.mm',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900392 'sys_info_linux.cc',
393 'sys_info_mac.cc',
394 'sys_info_openbsd.cc',
395 'sys_info_posix.cc',
396 'sys_info_win.cc',
397 'sys_string_conversions.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900398 'sys_string_conversions_mac.mm',
mark@chromium.orga8f9a692011-11-15 04:15:25 +0900399 'sys_string_conversions_posix.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900400 'sys_string_conversions_win.cc',
akalin@chromium.org062f9682012-02-15 10:43:19 +0900401 'task_runner.cc',
402 'task_runner.h',
battre@chromium.org6d025972012-04-17 11:48:06 +0900403 'task_runner_util.h',
willchan@chromium.orgb9b021a2010-06-16 04:39:24 +0900404 'template_util.h',
sergeyu@chromium.org675d8882012-05-10 05:16:14 +0900405 'thread_task_runner_handle.cc',
406 'thread_task_runner_handle.h',
brettw@chromium.org088ae932011-01-01 13:48:49 +0900407 'threading/non_thread_safe.h',
joi@chromium.orgb5d63f72011-03-04 08:38:51 +0900408 'threading/non_thread_safe_impl.cc',
409 'threading/non_thread_safe_impl.h',
brettw@chromium.org61391822011-01-01 05:02:16 +0900410 'threading/platform_thread.h',
411 'threading/platform_thread_mac.mm',
412 'threading/platform_thread_posix.cc',
413 'threading/platform_thread_win.cc',
joi@chromium.orgca327c72011-10-15 02:30:37 +0900414 'threading/post_task_and_reply_impl.cc',
415 'threading/post_task_and_reply_impl.h',
brettw@chromium.org03d32fd2012-01-01 14:42:34 +0900416 'threading/sequenced_worker_pool.cc',
417 'threading/sequenced_worker_pool.h',
brettw@chromium.org34f964f2010-12-31 03:08:36 +0900418 'threading/simple_thread.cc',
419 'threading/simple_thread.h',
brettw@chromium.org5b5f5e02011-01-01 10:01:06 +0900420 'threading/thread.cc',
421 'threading/thread.h',
brettw@chromium.org61391822011-01-01 05:02:16 +0900422 'threading/thread_checker.h',
joi@chromium.orgb5d63f72011-03-04 08:38:51 +0900423 'threading/thread_checker_impl.cc',
424 'threading/thread_checker_impl.h',
brettw@chromium.org5b5f5e02011-01-01 10:01:06 +0900425 'threading/thread_collision_warner.cc',
426 'threading/thread_collision_warner.h',
brettw@chromium.org63965582010-12-31 07:18:56 +0900427 'threading/thread_local.h',
428 'threading/thread_local_posix.cc',
429 'threading/thread_local_storage.h',
430 'threading/thread_local_storage_posix.cc',
431 'threading/thread_local_storage_win.cc',
432 'threading/thread_local_win.cc',
brettw@chromium.org5b5f5e02011-01-01 10:01:06 +0900433 'threading/thread_restrictions.h',
434 'threading/thread_restrictions.cc',
brettw@chromium.org34f964f2010-12-31 03:08:36 +0900435 'threading/watchdog.cc',
436 'threading/watchdog.h',
437 'threading/worker_pool.h',
joi@chromium.orgca327c72011-10-15 02:30:37 +0900438 'threading/worker_pool.cc',
brettw@chromium.org34f964f2010-12-31 03:08:36 +0900439 'threading/worker_pool_posix.cc',
440 'threading/worker_pool_posix.h',
441 'threading/worker_pool_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900442 'time.cc',
443 'time.h',
sergeyu@chromium.orge2585912012-07-27 07:53:13 +0900444 'time_mac.cc',
445 'time_posix.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900446 'time_win.cc',
447 'timer.cc',
448 'timer.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900449 'tracked_objects.cc',
450 'tracked_objects.h',
jar@chromium.org27cf2972011-11-09 02:09:21 +0900451 'tracking_info.cc',
452 'tracking_info.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900453 'tuple.h',
454 'utf_offset_string_conversions.cc',
455 'utf_offset_string_conversions.h',
456 'utf_string_conversion_utils.cc',
457 'utf_string_conversion_utils.h',
458 'utf_string_conversions.cc',
459 'utf_string_conversions.h',
robertshield@chromium.org9fb9e372010-03-23 05:12:50 +0900460 'values.cc',
461 'values.h',
bauerb@chromium.orgfe9f8532011-03-15 18:51:50 +0900462 'value_conversions.cc',
463 'value_conversions.h',
robertshield@chromium.orga9914a32010-11-11 02:02:19 +0900464 'version.cc',
465 'version.h',
akalin@chromium.orgf0ee79c2010-09-30 04:26:36 +0900466 'vlog.cc',
467 'vlog.h',
thestig@chromium.org3a6c57e2011-11-12 05:41:21 +0900468 'nix/mime_util_xdg.cc',
469 'nix/mime_util_xdg.h',
tfarina@chromium.org9be76e52011-06-25 21:18:51 +0900470 'nix/xdg_util.cc',
471 'nix/xdg_util.h',
dmazzoni@chromium.orgb1bdde42011-12-03 13:31:13 +0900472 'win/enum_variant.h',
473 'win/enum_variant.cc',
siggi@chromium.org7913ed62010-11-07 00:39:40 +0900474 'win/event_trace_consumer.h',
475 'win/event_trace_controller.cc',
476 'win/event_trace_controller.h',
477 'win/event_trace_provider.cc',
478 'win/event_trace_provider.h',
rvargas@google.com57a43962011-04-05 07:42:46 +0900479 'win/i18n.cc',
480 'win/i18n.h',
tfarina@chromium.org9be76e52011-06-25 21:18:51 +0900481 'win/iat_patch_function.cc',
482 'win/iat_patch_function.h',
dmazzoni@chromium.orgb1bdde42011-12-03 13:31:13 +0900483 'win/iunknown_impl.h',
484 'win/iunknown_impl.cc',
ananta@chromium.org225296f2012-04-10 06:32:48 +0900485 'win/metro.cc',
486 'win/metro.h',
rvargas@google.com57a43962011-04-05 07:42:46 +0900487 'win/object_watcher.cc',
488 'win/object_watcher.h',
brettw@chromium.orgb3a7c3e2010-10-17 13:41:54 +0900489 'win/registry.cc',
490 'win/registry.h',
tony@chromium.org60658e12011-08-26 07:58:36 +0900491 'win/resource_util.cc',
492 'win/resource_util.h',
siggi@chromium.orgdb0946f2011-12-08 06:44:28 +0900493 'win/sampling_profiler.cc',
494 'win/sampling_profiler.h',
brettw@chromium.org45352272010-10-16 12:46:05 +0900495 'win/scoped_bstr.cc',
496 'win/scoped_bstr.h',
tommi@chromium.org84908322011-10-21 16:00:22 +0900497 'win/scoped_co_mem.h',
tfarina@chromium.org9be76e52011-06-25 21:18:51 +0900498 'win/scoped_com_initializer.h',
brettw@chromium.org45352272010-10-16 12:46:05 +0900499 'win/scoped_comptr.h',
500 'win/scoped_gdi_object.h',
rvargas@chromium.org365619a2012-05-31 14:04:18 +0900501 'win/scoped_handle.cc',
brettw@chromium.org45352272010-10-16 12:46:05 +0900502 'win/scoped_handle.h',
503 'win/scoped_hdc.h',
504 'win/scoped_hglobal.h',
erikwright@chromium.org82223842012-04-05 04:57:50 +0900505 'win/scoped_process_information.cc',
506 'win/scoped_process_information.h',
yosin@chromium.org67db53e2011-10-04 13:43:12 +0900507 'win/scoped_select_object.h',
gab@chromium.orgc669f0d2012-09-12 16:14:55 +0900508 'win/shortcut.cc',
509 'win/shortcut.h',
jschuh@chromium.orgc5a4fd92012-08-28 06:19:00 +0900510 'win/startup_information.cc',
511 'win/startup_information.h',
brettw@chromium.org45352272010-10-16 12:46:05 +0900512 'win/scoped_variant.cc',
513 'win/scoped_variant.h',
yoichio@chromium.org2ca5b4d2012-09-09 02:46:13 +0900514 'win/text_services_message_filter.cc',
515 'win/text_services_message_filter.h',
tfarina@chromium.org533d02c2011-06-25 10:38:59 +0900516 'win/windows_version.cc',
517 'win/windows_version.h',
tfarina@chromium.org9be76e52011-06-25 21:18:51 +0900518 'win/win_util.cc',
519 'win/win_util.h',
rvargas@google.comed1496e2011-03-17 09:34:09 +0900520 'win/wrapped_window_proc.cc',
521 'win/wrapped_window_proc.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900522 ],
darin@chromium.org37acbb12011-07-21 03:38:24 +0900523 'defines': [
524 'BASE_IMPLEMENTATION',
525 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900526 'include_dirs': [
527 '..',
528 ],
529 # These warnings are needed for the files in third_party\dmg_fp.
530 'msvs_disabled_warnings': [
531 4244, 4554, 4018, 4102,
532 ],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900533 'target_conditions': [
534 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900535 'sources/': [
brettw@chromium.orge47345a2010-10-16 13:56:06 +0900536 ['exclude', '^nix/'],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900537 ],
538 'sources!': [
539 'atomicops_internals_x86_gcc.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900540 'message_pump_glib.cc',
erg@chromium.org07dcf702012-05-30 08:25:38 +0900541 'message_pump_aurax11.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900542 ],
tony@chromium.org9f7a86f2010-04-14 10:46:43 +0900543 }],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900544 ['<(toolkit_uses_gtk)==0 or >(nacl_untrusted_build)==1', {
545 'sources!': ['message_pump_gtk.cc'],
sadrul@chromium.org847a5722011-09-21 09:17:19 +0900546 }],
nileshagrawal@chromium.orgea123972012-07-18 10:49:22 +0900547 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900548 'sources!': [
549 # Not automatically excluded by the *linux.cc rules.
evan@chromium.org73aec0e2010-04-23 08:28:05 +0900550 'linux_util.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900551 ],
552 },
553 ],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900554 ['>(nacl_untrusted_build)==1', {
555 'sources!': [
bbudge@chromium.org986e9f72012-06-12 13:02:33 +0900556 'base_paths.cc',
557 'command_line.cc',
558 'cpu.cc',
559 'debug/stack_trace_posix.cc',
bbudge@chromium.org986e9f72012-06-12 13:02:33 +0900560 'file_util.cc',
561 'file_util_posix.cc',
562 'file_util_proxy.cc',
563 'files/file_path_watcher_kqueue.cc',
564 'native_library_posix.cc',
565 'path_service.cc',
566 'platform_file_posix.cc',
567 'posix/unix_domain_socket.cc',
568 'process_posix.cc',
569 'process_util.cc',
570 'process_util_posix.cc',
bbudge@chromium.orgb562dcc2012-06-16 09:35:01 +0900571 'rand_util_posix.cc',
bbudge@chromium.org986e9f72012-06-12 13:02:33 +0900572 'scoped_native_library.cc',
573 'scoped_temp_dir.cc',
574 'shared_memory_posix.cc',
575 'sys_info_posix.cc',
576 'threading/sequenced_worker_pool.cc',
577 'third_party/dynamic_annotations/dynamic_annotations.c',
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900578 ],
579 }],
580 ['OS == "android" and >(nacl_untrusted_build)==0', {
jrg@chromium.org7a15cdd2011-11-02 03:13:50 +0900581 'sources!': [
wangxianzhu@chromium.org7bc5c452012-08-15 04:10:34 +0900582 'base_paths_posix.cc',
jrg@chromium.org7a15cdd2011-11-02 03:13:50 +0900583 'files/file_path_watcher_kqueue.cc',
yongsheng.zhu@intel.comd0a65662012-08-31 14:27:16 +0900584 'files/file_path_watcher_stub.cc',
jrg@chromium.org7a15cdd2011-11-02 03:13:50 +0900585 'system_monitor/system_monitor_posix.cc',
586 ],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900587 'sources/': [
yongsheng.zhu@intel.comd0a65662012-08-31 14:27:16 +0900588 ['include', '^files/file_path_watcher_linux\\.cc$'],
jrg@chromium.org7a15cdd2011-11-02 03:13:50 +0900589 ['include', '^process_util_linux\\.cc$'],
590 ['include', '^sys_info_linux\\.cc$'],
bulach@chromium.org7e19ef32011-11-23 00:33:20 +0900591 ['include', '^sys_string_conversions_posix\\.cc$'],
jrg@chromium.org7a15cdd2011-11-02 03:13:50 +0900592 ['include', '^worker_pool_linux\\.cc$'],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900593 ],
594 }],
stuartmorgan@chromium.orgabfb7742012-06-30 18:48:20 +0900595 ['OS == "ios"', {
596 'sources/': [
stuartmorgan@chromium.org0cea4da2012-07-09 23:36:58 +0900597 # Pull in specific Mac files for iOS (which have been filtered out
598 # by file name rules).
leng@chromium.org98cd05c2012-07-14 01:49:44 +0900599 ['include', '^atomicops_internals_mac\\.'],
stuartmorgan@chromium.org0cea4da2012-07-09 23:36:58 +0900600 ['include', '^base_paths_mac\\.'],
601 ['include', '^file_util_mac\\.'],
602 ['include', '^file_version_info_mac\\.'],
noyau@chromium.orgc2ad9492012-07-26 02:47:58 +0900603 ['include', '^mac/bind_objc_block\\.'],
stuartmorgan@chromium.org0cea4da2012-07-09 23:36:58 +0900604 ['include', '^mac/bundle_locations\\.'],
stuartmorgan@chromium.orgd72e5912012-07-12 00:02:30 +0900605 ['include', '^mac/foundation_util\\.'],
606 ['include', '^mac/mac_logging\\.'],
stuartmorgan@chromium.org0cea4da2012-07-09 23:36:58 +0900607 ['include', '^mac/objc_property_releaser\\.'],
608 ['include', '^mac/scoped_nsautorelease_pool\\.'],
609 ['include', '^message_pump_mac\\.'],
stuartmorgan@chromium.org0cea4da2012-07-09 23:36:58 +0900610 ['include', '^threading/platform_thread_mac\\.'],
611 ['include', '^sys_string_conversions_mac\\.'],
612 ['include', '^time_mac\\.'],
613 ['include', '^worker_pool_mac\\.'],
stuartmorgan@chromium.org11335452012-07-12 00:35:02 +0900614 # Exclude all process_util except the minimal implementation
615 # needed on iOS (mostly for unit tests).
stuartmorgan@chromium.orgabfb7742012-06-30 18:48:20 +0900616 ['exclude', '^process_util'],
stuartmorgan@chromium.org11335452012-07-12 00:35:02 +0900617 ['include', '^process_util_ios\\.mm$'],
stuartmorgan@chromium.orgabfb7742012-06-30 18:48:20 +0900618 ],
619 }],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900620 ['OS != "mac" or >(nacl_untrusted_build)==1', {
rsesek@chromium.org56a552f2010-08-14 00:24:53 +0900621 'sources!': [
sadrul@chromium.org9bb2c1a2011-05-25 09:20:42 +0900622 'mac/scoped_aedesc.h'
rsesek@chromium.org56a552f2010-08-14 00:24:53 +0900623 ],
624 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900625 # For now, just test the *BSD platforms enough to exclude them.
626 # Subsequent changes will include them further.
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900627 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900628 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
629 },
630 ],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900631 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900632 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
633 },
634 ],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900635 ['OS != "win" or >(nacl_untrusted_build)==1', {
brettw@chromium.org45352272010-10-16 12:46:05 +0900636 'sources/': [ ['exclude', '^win/'] ],
637 },
638 ],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900639 ['OS != "android" or >(nacl_untrusted_build)==1', {
bulach@chromium.org32050d82011-08-09 01:13:54 +0900640 'sources/': [ ['exclude', '^android/'] ],
641 },
642 ],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900643 ['OS == "win" and >(nacl_untrusted_build)==0', {
brettw@chromium.orgacb14c22010-10-15 10:59:15 +0900644 'include_dirs': [
645 '<(DEPTH)/third_party/wtl/include',
646 ],
647 'sources!': [
648 'event_recorder_stubs.cc',
649 'file_descriptor_shuffle.cc',
robert.nagy@gmail.combd7a6ad2011-10-26 08:35:27 +0900650 'files/file_path_watcher_kqueue.cc',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900651 'files/file_path_watcher_stub.cc',
brettw@chromium.orgacb14c22010-10-15 10:59:15 +0900652 'message_pump_libevent.cc',
653 # Not using sha1_win.cc because it may have caused a
654 # regression to page cycler moz.
655 'sha1_win.cc',
656 'string16.cc',
brettw@chromium.orgacb14c22010-10-15 10:59:15 +0900657 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900658 },],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900659 ['OS == "linux" and >(nacl_untrusted_build)==0', {
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900660 'sources!': [
robert.nagy@gmail.combd7a6ad2011-10-26 08:35:27 +0900661 'files/file_path_watcher_kqueue.cc',
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900662 'files/file_path_watcher_stub.cc',
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900663 ],
michaelbai@google.com7cdf8a52011-10-04 01:25:19 +0900664 }],
stuartmorgan@chromium.orgabfb7742012-06-30 18:48:20 +0900665 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
mark@chromium.orga8f9a692011-11-15 04:15:25 +0900666 'sources/': [
667 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
668 ['exclude', '^base_paths_posix\\.cc$'],
669 ['exclude', '^native_library_posix\\.cc$'],
670 ['exclude', '^sys_string_conversions_posix\\.cc$'],
craig.schlenter@chromium.orgb2d581e2011-04-15 01:56:01 +0900671 ],
672 }],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900673 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
mark@chromium.org2e9e81c2011-10-13 13:23:22 +0900674 'sources/': [
robert.nagy@gmail.comea54e462011-10-25 07:05:27 +0900675 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
robert.nagy@gmail.combd7a6ad2011-10-26 08:35:27 +0900676 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
robert.nagy@gmail.comea54e462011-10-25 07:05:27 +0900677 ['exclude', '^file_util_linux\\.cc$'],
678 ['exclude', '^process_linux\\.cc$'],
679 ['exclude', '^process_util_linux\\.cc$'],
680 ['exclude', '^sys_info_linux\\.cc$'],
mark@chromium.org2e9e81c2011-10-13 13:23:22 +0900681 ],
682 }],
bradnelson@google.com040b1d12012-06-08 10:01:57 +0900683 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', {
oshima@chromium.org0c45de52012-03-17 08:01:02 +0900684 'sources/': [
685 ['exclude', '^chromeos/'],
686 ],
687 }],
hbono@chromium.org04aa7832012-07-25 11:32:11 +0900688 # Remove all unnecessary files for build_nexe.py to avoid exceeding
689 # command-line-string limitation when building NaCl on Windows.
690 ['OS == "win" and >(nacl_untrusted_build)==1', {
691 'sources/': [ ['exclude', '\\.h$'] ],
692 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900693 ],
694 }],
695 ],
696 },
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900697}