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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 ], | 283 ], |
284 'conditions': [ | 284 'conditions': [ |
285 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd"', { | 285 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd"', { |
286 'sources/': [ | 286 'sources/': [ |
287 ['exclude', '/xdg_user_dirs/'], | 287 ['exclude', '/xdg_user_dirs/'], |
288 ['exclude', '_nss\.cc$'], | 288 ['exclude', '_nss\.cc$'], |
289 ], | 289 ], |
290 'sources!': [ | 290 'sources!': [ |
291 'atomicops_internals_x86_gcc.cc', | 291 'atomicops_internals_x86_gcc.cc', |
292 'base_paths_posix.cc', | 292 'base_paths_posix.cc', |
| 293 'file_watcher_inotify.cc', |
293 'linux_util.cc', | 294 'linux_util.cc', |
294 'message_pump_glib.cc', | 295 'message_pump_glib.cc', |
295 ], | 296 ], |
296 },], | 297 },], |
297 [ 'OS != "linux"', { | 298 [ 'OS != "linux"', { |
298 'sources!': [ | 299 'sources!': [ |
299 # Not automatically excluded by the *linux.cc rules. | 300 # Not automatically excluded by the *linux.cc rules. |
300 'setproctitle_linux.c', | 301 'setproctitle_linux.c', |
301 'setproctitle_linux.h', | 302 'setproctitle_linux.h', |
302 ], | 303 ], |
303 }, | 304 }, |
304 ], | 305 ], |
305 # For now, just test the *BSD platforms enough to exclude them. | 306 # For now, just test the *BSD platforms enough to exclude them. |
306 # Subsequent changes will include them further. | 307 # Subsequent changes will include them further. |
307 [ 'OS != "freebsd"', { | 308 [ 'OS != "freebsd"', { |
308 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], | 309 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], |
309 }, | 310 }, |
310 ], | 311 ], |
311 [ 'OS != "openbsd"', { | 312 [ 'OS != "openbsd"', { |
312 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], | 313 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], |
313 }, | 314 }, |
314 ], | 315 ], |
| 316 [ 'GENERATOR == "quentin"', { |
| 317 # Quentin builds don't have a recent enough glibc to include the |
| 318 # inotify headers |
| 319 'sources!': [ |
| 320 'file_watcher_inotify.cc', |
| 321 ], |
| 322 'sources': [ |
| 323 'file_watcher_stub.cc', |
| 324 ], |
| 325 }, |
| 326 ], |
315 [ 'OS == "mac"', { | 327 [ 'OS == "mac"', { |
316 'sources!': [ | 328 'sources!': [ |
317 # TODO(wtc): Remove nss_util.{cc,h} when http://crbug.com/30689 | 329 # TODO(wtc): Remove nss_util.{cc,h} when http://crbug.com/30689 |
318 # is fixed. | 330 # is fixed. |
319 'nss_util.cc', | 331 'nss_util.cc', |
320 'nss_util.h', | 332 'nss_util.h', |
321 ], | 333 ], |
322 }, { # OS != "mac" | 334 }, { # OS != "mac" |
323 'sources!': [ | 335 'sources!': [ |
324 'crypto/cssm_init.cc', | 336 'crypto/cssm_init.cc', |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 'USE_SYMBOLIZE', | 411 'USE_SYMBOLIZE', |
400 ], | 412 ], |
401 'cflags': [ | 413 'cflags': [ |
402 '-Wno-write-strings', | 414 '-Wno-write-strings', |
403 ], | 415 ], |
404 'export_dependent_settings': [ | 416 'export_dependent_settings': [ |
405 '../build/linux/system.gyp:gtk', | 417 '../build/linux/system.gyp:gtk', |
406 ], | 418 ], |
407 },], | 419 },], |
408 [ 'OS == "freebsd"', { | 420 [ 'OS == "freebsd"', { |
| 421 'sources!': [ |
| 422 'file_watcher_inotify.cc', |
| 423 ], |
| 424 'sources': [ |
| 425 'file_watcher_stub.cc', |
| 426 ], |
409 'link_settings': { | 427 'link_settings': { |
410 'libraries': [ | 428 'libraries': [ |
411 '-L/usr/local/lib -lexecinfo', | 429 '-L/usr/local/lib -lexecinfo', |
412 ], | 430 ], |
413 }, | 431 }, |
414 }, | 432 }, |
415 ], | 433 ], |
416 [ 'OS == "mac"', { | 434 [ 'OS == "mac"', { |
417 'link_settings': { | 435 'link_settings': { |
418 'libraries': [ | 436 'libraries': [ |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', | 496 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', |
479 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', | 497 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', |
480 'auto_reset.h', | 498 'auto_reset.h', |
481 'base64.cc', | 499 'base64.cc', |
482 'base64.h', | 500 'base64.h', |
483 'base_drag_source.cc', | 501 'base_drag_source.cc', |
484 'base_drag_source.h', | 502 'base_drag_source.h', |
485 'base_drop_target.cc', | 503 'base_drop_target.cc', |
486 'base_drop_target.h', | 504 'base_drop_target.h', |
487 'data_pack.cc', | 505 'data_pack.cc', |
| 506 'file_watcher.h', |
| 507 'file_watcher_inotify.cc', |
| 508 'file_watcher_mac.cc', |
| 509 'file_watcher_win.cc', |
488 'dynamic_annotations.h', | 510 'dynamic_annotations.h', |
489 'dynamic_annotations.cc', | 511 'dynamic_annotations.cc', |
490 'event_recorder.cc', | 512 'event_recorder.cc', |
491 'event_recorder.h', | 513 'event_recorder.h', |
492 'event_recorder_stubs.cc', | 514 'event_recorder_stubs.cc', |
493 'field_trial.cc', | 515 'field_trial.cc', |
494 'field_trial.h', | 516 'field_trial.h', |
495 'file_descriptor_shuffle.cc', | 517 'file_descriptor_shuffle.cc', |
496 'file_descriptor_shuffle.h', | 518 'file_descriptor_shuffle.h', |
497 'gfx/point.cc', | 519 'gfx/point.cc', |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 'third_party/xdg_mime/xdgmimemagic.c', | 646 'third_party/xdg_mime/xdgmimemagic.c', |
625 'third_party/xdg_mime/xdgmimemagic.h', | 647 'third_party/xdg_mime/xdgmimemagic.h', |
626 'third_party/xdg_mime/xdgmimeparent.c', | 648 'third_party/xdg_mime/xdgmimeparent.c', |
627 'third_party/xdg_mime/xdgmimeparent.h', | 649 'third_party/xdg_mime/xdgmimeparent.h', |
628 ], | 650 ], |
629 }, | 651 }, |
630 ], | 652 ], |
631 }], | 653 }], |
632 ], | 654 ], |
633 } | 655 } |
OLD | NEW |