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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 [ 'chromeos==1', { | 384 [ 'chromeos==1', { |
385 'sources/': [ ['include', '_chromeos\\.cc$'] ] | 385 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
386 }, | 386 }, |
387 ], | 387 ], |
388 [ 'linux_use_tcmalloc==1', { | 388 [ 'linux_use_tcmalloc==1', { |
389 'dependencies': [ | 389 'dependencies': [ |
390 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', | 390 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
391 ], | 391 ], |
392 }, | 392 }, |
393 ], | 393 ], |
| 394 [ 'OS == "linux"', { |
| 395 'link_settings': { |
| 396 'libraries': [ |
| 397 # We need rt for clock_gettime(). |
| 398 '-lrt', |
| 399 ], |
| 400 }, |
| 401 }, |
| 402 ], |
394 ], | 403 ], |
395 'dependencies': [ | 404 'dependencies': [ |
396 '../build/util/build_util.gyp:lastchange', | 405 '../build/util/build_util.gyp:lastchange', |
397 '../build/linux/system.gyp:gtk', | 406 '../build/linux/system.gyp:gtk', |
398 '../build/linux/system.gyp:nss', | 407 '../build/linux/system.gyp:nss', |
399 ], | 408 ], |
400 'cflags': [ | 409 'cflags': [ |
401 '-Wno-write-strings', | 410 '-Wno-write-strings', |
402 ], | 411 ], |
403 'link_settings': { | |
404 'libraries': [ | |
405 # We need rt for clock_gettime(). | |
406 '-lrt', | |
407 ], | |
408 }, | |
409 'export_dependent_settings': [ | 412 'export_dependent_settings': [ |
410 '../build/linux/system.gyp:gtk', | 413 '../build/linux/system.gyp:gtk', |
411 ], | 414 ], |
412 }, | 415 }, |
413 { # else: OS != "linux" && OS != "freebsd" | 416 { # else: OS != "linux" && OS != "freebsd" |
414 'sources/': [ | 417 'sources/': [ |
415 ['exclude', '/xdg_mime/'], | 418 ['exclude', '/xdg_mime/'], |
416 ], | 419 ], |
417 'sources!': [ | 420 'sources!': [ |
418 'crypto/signature_verifier_nss.cc', | 421 'crypto/signature_verifier_nss.cc', |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 '<@(_outputs)', | 876 '<@(_outputs)', |
874 ], | 877 ], |
875 'message': 'Generating version information', | 878 'message': 'Generating version information', |
876 }, | 879 }, |
877 ], | 880 ], |
878 }, | 881 }, |
879 ], | 882 ], |
880 }], | 883 }], |
881 ], | 884 ], |
882 } | 885 } |
OLD | NEW |