OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/common.gypi', | 10 '../build/common.gypi', |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 'scoped_nsautorelease_pool.h', | 254 'scoped_nsautorelease_pool.h', |
255 'scoped_nsautorelease_pool.mm', | 255 'scoped_nsautorelease_pool.mm', |
256 'scoped_nsdisable_screen_updates.h', | 256 'scoped_nsdisable_screen_updates.h', |
257 'scoped_nsobject.h', | 257 'scoped_nsobject.h', |
258 'scoped_ptr.h', | 258 'scoped_ptr.h', |
259 'scoped_temp_dir.cc', | 259 'scoped_temp_dir.cc', |
260 'scoped_temp_dir.h', | 260 'scoped_temp_dir.h', |
261 'scoped_variant_win.cc', | 261 'scoped_variant_win.cc', |
262 'scoped_variant_win.h', | 262 'scoped_variant_win.h', |
263 'scoped_vector.h', | 263 'scoped_vector.h', |
| 264 'setproctitle_linux.c', |
| 265 'setproctitle_linux.h', |
264 'sha2.cc', | 266 'sha2.cc', |
265 'sha2.h', | 267 'sha2.h', |
266 'shared_memory.h', | 268 'shared_memory.h', |
267 'shared_memory_posix.cc', | 269 'shared_memory_posix.cc', |
268 'shared_memory_win.cc', | 270 'shared_memory_win.cc', |
269 'simple_thread.cc', | 271 'simple_thread.cc', |
270 'simple_thread.h', | 272 'simple_thread.h', |
271 'singleton.h', | 273 'singleton.h', |
272 'spin_wait.h', | 274 'spin_wait.h', |
273 'stack_container.h', | 275 'stack_container.h', |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 ], | 393 ], |
392 ], | 394 ], |
393 'dependencies': [ | 395 'dependencies': [ |
394 '../build/util/build_util.gyp:lastchange', | 396 '../build/util/build_util.gyp:lastchange', |
395 '../build/linux/system.gyp:gtk', | 397 '../build/linux/system.gyp:gtk', |
396 '../build/linux/system.gyp:nss', | 398 '../build/linux/system.gyp:nss', |
397 ], | 399 ], |
398 'cflags': [ | 400 'cflags': [ |
399 '-Wno-write-strings', | 401 '-Wno-write-strings', |
400 ], | 402 ], |
401 » 'link_settings': { | 403 'link_settings': { |
402 » 'libraries': [ | 404 'libraries': [ |
403 # We need rt for clock_gettime(). | 405 # We need rt for clock_gettime(). |
404 '-lrt', | 406 '-lrt', |
405 ], | 407 ], |
406 }, | 408 }, |
407 'export_dependent_settings': [ | 409 'export_dependent_settings': [ |
408 '../build/linux/system.gyp:gtk', | 410 '../build/linux/system.gyp:gtk', |
409 ], | 411 ], |
410 }, | 412 }, |
411 { # else: OS != "linux" && OS != "freebsd" | 413 { # else: OS != "linux" && OS != "freebsd" |
412 'sources/': [ | 414 'sources/': [ |
413 ['exclude', '/xdg_mime/'], | 415 ['exclude', '/xdg_mime/'], |
414 ], | 416 ], |
415 'sources!': [ | 417 'sources!': [ |
416 'crypto/signature_verifier_nss.cc', | 418 'crypto/signature_verifier_nss.cc', |
417 'atomicops_internals_x86_gcc.cc', | 419 'atomicops_internals_x86_gcc.cc', |
418 'directory_watcher_inotify.cc', | 420 'directory_watcher_inotify.cc', |
419 'hmac_nss.cc', | 421 'hmac_nss.cc', |
420 'idle_timer_none.cc', | 422 'idle_timer_none.cc', |
421 'linux_util.cc', | 423 'linux_util.cc', |
422 'message_pump_glib.cc', | 424 'message_pump_glib.cc', |
423 'nss_init.cc', | 425 'nss_init.cc', |
424 'nss_init.h', | 426 'nss_init.h', |
425 'time_posix.cc', | 427 'time_posix.cc', |
426 ], | 428 ], |
427 } | 429 }, |
| 430 ], |
| 431 [ 'OS != "linux"', { |
| 432 'sources!': [ |
| 433 # Not automatically excluded by the *linux.cc rules. |
| 434 'setproctitle_linux.c', |
| 435 'setproctitle_linux.h', |
| 436 ], |
| 437 }, |
428 ], | 438 ], |
429 [ 'GENERATOR == "quentin"', { | 439 [ 'GENERATOR == "quentin"', { |
430 # Quentin builds don't have a recent enough glibc to include the | 440 # Quentin builds don't have a recent enough glibc to include the |
431 # inotify headers | 441 # inotify headers |
432 'sources!': [ | 442 'sources!': [ |
433 'directory_watcher_inotify.cc', | 443 'directory_watcher_inotify.cc', |
434 ], | 444 ], |
435 'sources': [ | 445 'sources': [ |
436 'directory_watcher_stub.cc', | 446 'directory_watcher_stub.cc', |
437 ], | 447 ], |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
863 '<@(_outputs)', | 873 '<@(_outputs)', |
864 ], | 874 ], |
865 'message': 'Generating version information', | 875 'message': 'Generating version information', |
866 }, | 876 }, |
867 ], | 877 ], |
868 }, | 878 }, |
869 ], | 879 ], |
870 }], | 880 }], |
871 ], | 881 ], |
872 } | 882 } |
OLD | NEW |