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 # Define the common dependencies that contain all the actual | 9 # Define the common dependencies that contain all the actual |
10 # Chromium functionality. This list gets pulled in below by | 10 # Chromium functionality. This list gets pulled in below by |
(...skipping 3306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3317 'tools/build/linux/sed.sh', | 3317 'tools/build/linux/sed.sh', |
3318 'app/resources/manpage.1.in', | 3318 'app/resources/manpage.1.in', |
3319 '<@(_outputs)', | 3319 '<@(_outputs)', |
3320 '-e', 's/@@NAME@@/<(name)/', | 3320 '-e', 's/@@NAME@@/<(name)/', |
3321 '-e', 's/@@FILENAME@@/<(filename)/', | 3321 '-e', 's/@@FILENAME@@/<(filename)/', |
3322 '-e', 's/@@CONFDIR@@/<(confdir)/', | 3322 '-e', 's/@@CONFDIR@@/<(confdir)/', |
3323 ], | 3323 ], |
3324 'message': 'Generating manpage' | 3324 'message': 'Generating manpage' |
3325 }, | 3325 }, |
3326 ], | 3326 ], |
3327 | |
3328 'conditions': [ | |
3329 # All Chrome builds have breakpad symbols, but only process the | |
3330 # symbols from official builds. | |
3331 # TODO(mmoss) dump_syms segfaults on x64. Enable once dump_syms and | |
3332 # crash server handle 64-bit symbols. | |
3333 ['branding=="Chrome" and buildtype=="Official" and' | |
3334 ' target_arch=="ia32"', { | |
3335 'actions': [ | |
3336 { | |
3337 'action_name': 'dump_symbols', | |
3338 'inputs': [ | |
3339 '<(DEPTH)/build/linux/dump_app_syms', | |
3340 '<(DEPTH)/build/linux/dump_signature.py', | |
3341 '<(PRODUCT_DIR)/dump_syms', | |
3342 '<(PRODUCT_DIR)/chrome', | |
3343 ], | |
3344 'outputs': [ | |
3345 '<(PRODUCT_DIR)/chrome.breakpad.<(target_arch)', | |
3346 ], | |
3347 'action': ['<(DEPTH)/build/linux/dump_app_syms', | |
3348 '<(PRODUCT_DIR)/dump_syms', | |
3349 '<(PRODUCT_DIR)/chrome', '<@(_outputs)'], | |
3350 'message': 'Dumping breakpad symbols to <(_outputs)' | |
3351 }, | |
3352 ], | |
3353 }], | |
3354 ], | |
3355 'dependencies': [ | 3327 'dependencies': [ |
3356 # On Linux, link the dependencies (libraries) that make up actual | 3328 # On Linux, link the dependencies (libraries) that make up actual |
3357 # Chromium functionality directly into the executable. | 3329 # Chromium functionality directly into the executable. |
3358 '<@(chromium_dependencies)', | 3330 '<@(chromium_dependencies)', |
3359 # Needed for chrome_dll_main.cc #include of gtk/gtk.h | 3331 # Needed for chrome_dll_main.cc #include of gtk/gtk.h |
3360 '../build/linux/system.gyp:gtk', | 3332 '../build/linux/system.gyp:gtk', |
3361 ], | 3333 ], |
3362 'sources': [ | 3334 'sources': [ |
3363 'app/chrome_dll_main.cc', | 3335 'app/chrome_dll_main.cc', |
3364 'app/chrome_dll_resource.h', | 3336 'app/chrome_dll_resource.h', |
(...skipping 2261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5626 '../testing/gtest.gyp:gtest', | 5598 '../testing/gtest.gyp:gtest', |
5627 ], | 5599 ], |
5628 'include_dirs': [ | 5600 'include_dirs': [ |
5629 '..', | 5601 '..', |
5630 ], | 5602 ], |
5631 'sources': [ | 5603 'sources': [ |
5632 'test/reliability/page_load_test.cc', | 5604 'test/reliability/page_load_test.cc', |
5633 'test/reliability/page_load_test.h', | 5605 'test/reliability/page_load_test.h', |
5634 ], | 5606 ], |
5635 }, | 5607 }, |
| 5608 { |
| 5609 'target_name': 'linux_symbols', |
| 5610 'type': 'none', |
| 5611 'conditions': [ |
| 5612 ['linux_dump_symbols==1', { |
| 5613 'actions': [ |
| 5614 { |
| 5615 'action_name': 'dump_symbols', |
| 5616 'inputs': [ |
| 5617 '<(DEPTH)/build/linux/dump_app_syms', |
| 5618 '<(DEPTH)/build/linux/dump_signature.py', |
| 5619 '<(PRODUCT_DIR)/dump_syms', |
| 5620 '<(PRODUCT_DIR)/chrome', |
| 5621 ], |
| 5622 'outputs': [ |
| 5623 '<(PRODUCT_DIR)/chrome.breakpad.<(target_arch)', |
| 5624 ], |
| 5625 'action': ['<(DEPTH)/build/linux/dump_app_syms', |
| 5626 '<(PRODUCT_DIR)/dump_syms', |
| 5627 '<(PRODUCT_DIR)/chrome', '<@(_outputs)'], |
| 5628 'message': 'Dumping breakpad symbols to <(_outputs)' |
| 5629 }, |
| 5630 ], |
| 5631 'dependencies': [ |
| 5632 'chrome', |
| 5633 '../breakpad/breakpad.gyp:dump_syms', |
| 5634 ], |
| 5635 }], |
| 5636 ], |
| 5637 } |
5636 ], | 5638 ], |
5637 },], # OS=="linux" | 5639 },], # OS=="linux" |
5638 ['OS!="win"', | 5640 ['OS!="win"', |
5639 { 'targets': [ | 5641 { 'targets': [ |
5640 { | 5642 { |
5641 # Executable that runs each browser test in a new process. | 5643 # Executable that runs each browser test in a new process. |
5642 'target_name': 'browser_tests', | 5644 'target_name': 'browser_tests', |
5643 'type': 'executable', | 5645 'type': 'executable', |
5644 'dependencies': [ | 5646 'dependencies': [ |
5645 'browser', | 5647 'browser', |
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6790 'defines': [ | 6792 'defines': [ |
6791 'POSIX', | 6793 'POSIX', |
6792 ], | 6794 ], |
6793 }], | 6795 }], |
6794 ], | 6796 ], |
6795 }, | 6797 }, |
6796 ], # targets when chrome_personalization==1 | 6798 ], # targets when chrome_personalization==1 |
6797 }], | 6799 }], |
6798 ], # 'conditions' | 6800 ], # 'conditions' |
6799 } | 6801 } |
OLD | NEW |