OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'target_defaults': { | 6 'target_defaults': { |
7 'variables': { | 7 'variables': { |
8 'base_target': 0, | 8 'base_target': 0, |
9 }, | 9 }, |
10 'target_conditions': [ | 10 'target_conditions': [ |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 ], | 286 ], |
287 'conditions': [ | 287 'conditions': [ |
288 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd"', { | 288 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd"', { |
289 'sources/': [ | 289 'sources/': [ |
290 ['exclude', '/xdg_user_dirs/'], | 290 ['exclude', '/xdg_user_dirs/'], |
291 ['exclude', '_nss\.cc$'], | 291 ['exclude', '_nss\.cc$'], |
292 ], | 292 ], |
293 'sources!': [ | 293 'sources!': [ |
294 'atomicops_internals_x86_gcc.cc', | 294 'atomicops_internals_x86_gcc.cc', |
295 'base_paths_posix.cc', | 295 'base_paths_posix.cc', |
296 'file_watcher_inotify.cc', | |
297 'linux_util.cc', | 296 'linux_util.cc', |
298 'message_pump_glib.cc', | 297 'message_pump_glib.cc', |
299 ], | 298 ], |
300 },], | 299 },], |
301 [ 'OS != "linux"', { | 300 [ 'OS != "linux"', { |
302 'sources!': [ | 301 'sources!': [ |
303 # Not automatically excluded by the *linux.cc rules. | 302 # Not automatically excluded by the *linux.cc rules. |
304 'setproctitle_linux.c', | 303 'setproctitle_linux.c', |
305 'setproctitle_linux.h', | 304 'setproctitle_linux.h', |
306 ], | 305 ], |
307 }, | 306 }, |
308 ], | 307 ], |
309 # For now, just test the *BSD platforms enough to exclude them. | 308 # For now, just test the *BSD platforms enough to exclude them. |
310 # Subsequent changes will include them further. | 309 # Subsequent changes will include them further. |
311 [ 'OS != "freebsd"', { | 310 [ 'OS != "freebsd"', { |
312 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], | 311 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], |
313 }, | 312 }, |
314 ], | 313 ], |
315 [ 'OS != "openbsd"', { | 314 [ 'OS != "openbsd"', { |
316 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], | 315 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], |
317 }, | 316 }, |
318 ], | 317 ], |
319 [ 'GENERATOR == "quentin"', { | |
320 # Quentin builds don't have a recent enough glibc to include the | |
321 # inotify headers | |
322 'sources!': [ | |
323 'file_watcher_inotify.cc', | |
324 ], | |
325 'sources': [ | |
326 'file_watcher_stub.cc', | |
327 ], | |
328 }, | |
329 ], | |
330 [ 'OS == "mac"', { | 318 [ 'OS == "mac"', { |
331 'sources!': [ | 319 'sources!': [ |
332 # TODO(wtc): Remove nss_util.{cc,h} when http://crbug.com/30689 | 320 # TODO(wtc): Remove nss_util.{cc,h} when http://crbug.com/30689 |
333 # is fixed. | 321 # is fixed. |
334 'nss_util.cc', | 322 'nss_util.cc', |
335 'nss_util.h', | 323 'nss_util.h', |
336 ], | 324 ], |
337 }, { # OS != "mac" | 325 }, { # OS != "mac" |
338 'sources!': [ | 326 'sources!': [ |
339 'crypto/cssm_init.cc', | 327 'crypto/cssm_init.cc', |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 'USE_SYMBOLIZE', | 402 'USE_SYMBOLIZE', |
415 ], | 403 ], |
416 'cflags': [ | 404 'cflags': [ |
417 '-Wno-write-strings', | 405 '-Wno-write-strings', |
418 ], | 406 ], |
419 'export_dependent_settings': [ | 407 'export_dependent_settings': [ |
420 '../build/linux/system.gyp:gtk', | 408 '../build/linux/system.gyp:gtk', |
421 ], | 409 ], |
422 },], | 410 },], |
423 [ 'OS == "freebsd" or OS == "openbsd"', { | 411 [ 'OS == "freebsd" or OS == "openbsd"', { |
424 'sources!': [ | |
425 'file_watcher_inotify.cc', | |
426 ], | |
427 'sources': [ | |
428 'file_watcher_stub.cc', | |
429 ], | |
430 'link_settings': { | 412 'link_settings': { |
431 'libraries': [ | 413 'libraries': [ |
432 '-L/usr/local/lib -lexecinfo', | 414 '-L/usr/local/lib -lexecinfo', |
433 ], | 415 ], |
434 }, | 416 }, |
435 }, | 417 }, |
436 ], | 418 ], |
437 [ 'OS == "mac"', { | 419 [ 'OS == "mac"', { |
438 'link_settings': { | 420 'link_settings': { |
439 'libraries': [ | 421 'libraries': [ |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', | 481 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', |
500 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', | 482 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', |
501 'auto_reset.h', | 483 'auto_reset.h', |
502 'base64.cc', | 484 'base64.cc', |
503 'base64.h', | 485 'base64.h', |
504 'base_drag_source.cc', | 486 'base_drag_source.cc', |
505 'base_drag_source.h', | 487 'base_drag_source.h', |
506 'base_drop_target.cc', | 488 'base_drop_target.cc', |
507 'base_drop_target.h', | 489 'base_drop_target.h', |
508 'data_pack.cc', | 490 'data_pack.cc', |
509 'file_watcher.h', | |
510 'file_watcher_inotify.cc', | |
511 'file_watcher_mac.cc', | |
512 'file_watcher_win.cc', | |
513 'dynamic_annotations.h', | 491 'dynamic_annotations.h', |
514 'dynamic_annotations.cc', | 492 'dynamic_annotations.cc', |
515 'event_recorder.cc', | 493 'event_recorder.cc', |
516 'event_recorder.h', | 494 'event_recorder.h', |
517 'event_recorder_stubs.cc', | 495 'event_recorder_stubs.cc', |
518 'field_trial.cc', | 496 'field_trial.cc', |
519 'field_trial.h', | 497 'field_trial.h', |
520 'file_descriptor_shuffle.cc', | 498 'file_descriptor_shuffle.cc', |
521 'file_descriptor_shuffle.h', | 499 'file_descriptor_shuffle.h', |
522 'hmac.h', | 500 'hmac.h', |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 'third_party/xdg_mime/xdgmimemagic.c', | 621 'third_party/xdg_mime/xdgmimemagic.c', |
644 'third_party/xdg_mime/xdgmimemagic.h', | 622 'third_party/xdg_mime/xdgmimemagic.h', |
645 'third_party/xdg_mime/xdgmimeparent.c', | 623 'third_party/xdg_mime/xdgmimeparent.c', |
646 'third_party/xdg_mime/xdgmimeparent.h', | 624 'third_party/xdg_mime/xdgmimeparent.h', |
647 ], | 625 ], |
648 }, | 626 }, |
649 ], | 627 ], |
650 }], | 628 }], |
651 ], | 629 ], |
652 } | 630 } |
OLD | NEW |