| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'content_shell_product_name': 'Content Shell', | 7 'content_shell_product_name': 'Content Shell', |
| 8 # The "19" is so that sites that sniff for version think that this is | 8 # The "19" is so that sites that sniff for version think that this is |
| 9 # something reasonably current; the "77.34.5" is a hint that this isn't a | 9 # something reasonably current; the "77.34.5" is a hint that this isn't a |
| 10 # standard Chrome. | 10 # standard Chrome. |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Frameworks', | 557 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Frameworks', |
| 558 ], | 558 ], |
| 559 }, | 559 }, |
| 560 { | 560 { |
| 561 # Modify the Info.plist as needed. | 561 # Modify the Info.plist as needed. |
| 562 'postbuild_name': 'Tweak Info.plist', | 562 'postbuild_name': 'Tweak Info.plist', |
| 563 'action': ['../build/mac/tweak_info_plist.py', | 563 'action': ['../build/mac/tweak_info_plist.py', |
| 564 '--scm=1', | 564 '--scm=1', |
| 565 '--version=<(content_shell_version)'], | 565 '--version=<(content_shell_version)'], |
| 566 }, | 566 }, |
| 567 { | |
| 568 # This postbuid step is responsible for creating the following | |
| 569 # helpers: | |
| 570 # | |
| 571 # Content Shell Helper EH.app and Content Shell Helper NP.app are | |
| 572 # created from Content Shell Helper.app. | |
| 573 # | |
| 574 # The EH helper is marked for an executable heap. The NP helper | |
| 575 # is marked for no PIE (ASLR). | |
| 576 'postbuild_name': 'Make More Helpers', | |
| 577 'action': [ | |
| 578 '../build/mac/make_more_helpers.sh', | |
| 579 'Frameworks', | |
| 580 '<(content_shell_product_name)', | |
| 581 ], | |
| 582 }, | |
| 583 { | |
| 584 # Make sure there isn't any Objective-C in the shell's | |
| 585 # executable. | |
| 586 'postbuild_name': 'Verify No Objective-C', | |
| 587 'action': [ | |
| 588 '../build/mac/verify_no_objc.sh', | |
| 589 ], | |
| 590 }, | |
| 591 ], | 567 ], |
| 592 }], # OS=="mac" | 568 }], # OS=="mac" |
| 593 ['OS=="android"', { | 569 ['OS=="android"', { |
| 594 'dependencies': [ | 570 'dependencies': [ |
| 595 '../tools/imagediff/image_diff.gyp:image_diff#host', | 571 '../tools/imagediff/image_diff.gyp:image_diff#host', |
| 596 ], | 572 ], |
| 597 'dependencies!': [ | 573 'dependencies!': [ |
| 598 '../tools/imagediff/image_diff.gyp:image_diff', | 574 '../tools/imagediff/image_diff.gyp:image_diff', |
| 599 ], | 575 ], |
| 600 }], # OS=="android" | 576 }], # OS=="android" |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0 | 826 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0 |
| 851 # are used because Breakpad, Keystone, and SCM keys are | 827 # are used because Breakpad, Keystone, and SCM keys are |
| 852 # never placed into the helper. | 828 # never placed into the helper. |
| 853 'postbuild_name': 'Tweak Info.plist', | 829 'postbuild_name': 'Tweak Info.plist', |
| 854 'action': ['../build/mac/tweak_info_plist.py', | 830 'action': ['../build/mac/tweak_info_plist.py', |
| 855 '--breakpad=0', | 831 '--breakpad=0', |
| 856 '--keystone=0', | 832 '--keystone=0', |
| 857 '--scm=0', | 833 '--scm=0', |
| 858 '--version=<(content_shell_version)'], | 834 '--version=<(content_shell_version)'], |
| 859 }, | 835 }, |
| 860 { | |
| 861 # Make sure there isn't any Objective-C in the helper app's | |
| 862 # executable. | |
| 863 'postbuild_name': 'Verify No Objective-C', | |
| 864 'action': [ | |
| 865 '../build/mac/verify_no_objc.sh', | |
| 866 ], | |
| 867 }, | |
| 868 ], | 836 ], |
| 869 'conditions': [ | 837 'conditions': [ |
| 870 ['component=="shared_library"', { | 838 ['component=="shared_library"', { |
| 871 'xcode_settings': { | 839 'xcode_settings': { |
| 872 'LD_RUNPATH_SEARCH_PATHS': [ | 840 'LD_RUNPATH_SEARCH_PATHS': [ |
| 873 # Get back from Content Shell.app/Contents/Frameworks/ | 841 # Get back from Content Shell.app/Contents/Frameworks/ |
| 874 # Helper.app/Contents/MacOS | 842 # Helper.app/Contents/MacOS |
| 875 '@loader_path/../../../../../..', | 843 '@loader_path/../../../../../..', |
| 876 ], | 844 ], |
| 877 }, | 845 }, |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1050 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', | 1018 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', |
| 1051 '--destination_dir', '<(dest_dir)', | 1019 '--destination_dir', '<(dest_dir)', |
| 1052 ], | 1020 ], |
| 1053 }, | 1021 }, |
| 1054 ], | 1022 ], |
| 1055 }, | 1023 }, |
| 1056 ], | 1024 ], |
| 1057 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" | 1025 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" |
| 1058 ] | 1026 ] |
| 1059 } | 1027 } |
| OLD | NEW |