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 'base_extra_target': 0, | 9 'base_extra_target': 0, |
10 }, | 10 }, |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 'version.cc', | 456 'version.cc', |
457 'version.h', | 457 'version.h', |
458 ], | 458 ], |
459 'conditions': [ | 459 'conditions': [ |
460 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { | 460 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
461 'conditions': [ | 461 'conditions': [ |
462 [ 'chromeos==1', { | 462 [ 'chromeos==1', { |
463 'sources/': [ ['include', '_chromeos\\.cc$'] ] | 463 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
464 }, | 464 }, |
465 ], | 465 ], |
466 [ 'linux_use_tcmalloc==0', { | |
467 'defines': [ | |
468 'NO_TCMALLOC', | |
469 ], | |
470 'direct_dependent_settings': { | |
471 'defines': [ | |
472 'NO_TCMALLOC', | |
473 ], | |
474 }, | |
475 }, | |
476 ], | |
477 ], | 466 ], |
478 'defines': [ | 467 'defines': [ |
479 'USE_SYMBOLIZE', | 468 'USE_SYMBOLIZE', |
480 ], | 469 ], |
481 'cflags': [ | 470 'cflags': [ |
482 '-Wno-write-strings', | 471 '-Wno-write-strings', |
483 ], | 472 ], |
484 },], | 473 },], |
485 [ 'OS != "win"', { | 474 [ 'OS != "win"', { |
486 'sources!': [ | 475 'sources!': [ |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 # TODO(gregoryd): direct_dependent_settings should be shared with the | 512 # TODO(gregoryd): direct_dependent_settings should be shared with the |
524 # 64-bit target, but it doesn't work due to a bug in gyp | 513 # 64-bit target, but it doesn't work due to a bug in gyp |
525 'direct_dependent_settings': { | 514 'direct_dependent_settings': { |
526 'include_dirs': [ | 515 'include_dirs': [ |
527 '..', | 516 '..', |
528 ], | 517 ], |
529 }, | 518 }, |
530 'conditions': [ | 519 'conditions': [ |
531 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { | 520 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
532 'conditions': [ | 521 'conditions': [ |
| 522 [ 'linux_use_tcmalloc==0', { |
| 523 'defines': [ |
| 524 'NO_TCMALLOC', |
| 525 ], |
| 526 'direct_dependent_settings': { |
| 527 'defines': [ |
| 528 'NO_TCMALLOC', |
| 529 ], |
| 530 }, |
| 531 }, |
| 532 ], |
533 [ 'linux_use_tcmalloc==1', { | 533 [ 'linux_use_tcmalloc==1', { |
534 'dependencies': [ | 534 'dependencies': [ |
535 'allocator/allocator.gyp:allocator', | 535 'allocator/allocator.gyp:allocator', |
536 ], | 536 ], |
537 }, | 537 }, |
538 ], | 538 ], |
539 ], | 539 ], |
540 'dependencies': [ | 540 'dependencies': [ |
541 'symbolize', | 541 'symbolize', |
542 '../build/util/build_util.gyp:lastchange', | 542 '../build/util/build_util.gyp:lastchange', |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 'third_party/xdg_mime/xdgmimemagic.c', | 731 'third_party/xdg_mime/xdgmimemagic.c', |
732 'third_party/xdg_mime/xdgmimemagic.h', | 732 'third_party/xdg_mime/xdgmimemagic.h', |
733 'third_party/xdg_mime/xdgmimeparent.c', | 733 'third_party/xdg_mime/xdgmimeparent.c', |
734 'third_party/xdg_mime/xdgmimeparent.h', | 734 'third_party/xdg_mime/xdgmimeparent.h', |
735 ], | 735 ], |
736 }, | 736 }, |
737 ], | 737 ], |
738 }], | 738 }], |
739 ], | 739 ], |
740 } | 740 } |
OLD | NEW |