OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 | 7 |
8 'variables': { | 8 'variables': { |
9 'version_py_path': 'tools/build/version.py', | 9 'version_py_path': 'tools/build/version.py', |
10 'version_path': 'VERSION', | 10 'version_path': 'VERSION', |
(...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 { | 936 { |
937 'target_name': 'helper_app', | 937 'target_name': 'helper_app', |
938 'type': 'executable', | 938 'type': 'executable', |
939 'product_name': '<(mac_product_name) Helper', | 939 'product_name': '<(mac_product_name) Helper', |
940 'mac_bundle': 1, | 940 'mac_bundle': 1, |
941 'dependencies': [ | 941 'dependencies': [ |
942 'chrome_dll', | 942 'chrome_dll', |
943 'infoplist_strings_tool', | 943 'infoplist_strings_tool', |
944 ], | 944 ], |
945 'sources': [ | 945 'sources': [ |
946 # chrome_exe_main_mac.mm's main() is the entry point for | 946 # chrome_exe_main_mac.cc's main() is the entry point for |
947 # the "chrome" (browser app) target. All it does is jump | 947 # the "chrome" (browser app) target. All it does is jump |
948 # to chrome_dll's ChromeMain. This is appropriate for | 948 # to chrome_dll's ChromeMain. This is appropriate for |
949 # helper processes too, because the logic to discriminate | 949 # helper processes too, because the logic to discriminate |
950 # between process types at run time is actually directed | 950 # between process types at run time is actually directed |
951 # by the --type command line argument processed by | 951 # by the --type command line argument processed by |
952 # ChromeMain. Sharing chrome_exe_main_mac.mm with the | 952 # ChromeMain. Sharing chrome_exe_main_mac.cc with the |
953 # browser app will suffice for now. | 953 # browser app will suffice for now. |
954 'app/chrome_exe_main_mac.mm', | 954 'app/chrome_exe_main_mac.cc', |
955 'app/helper-Info.plist', | 955 'app/helper-Info.plist', |
956 ], | 956 ], |
957 # TODO(mark): Come up with a fancier way to do this. It should only | 957 # TODO(mark): Come up with a fancier way to do this. It should only |
958 # be necessary to list helper-Info.plist once, not the three times it | 958 # be necessary to list helper-Info.plist once, not the three times it |
959 # is listed here. | 959 # is listed here. |
960 'mac_bundle_resources!': [ | 960 'mac_bundle_resources!': [ |
961 'app/helper-Info.plist', | 961 'app/helper-Info.plist', |
962 ], | 962 ], |
963 # TODO(mark): For now, don't put any resources into this app. Its | 963 # TODO(mark): For now, don't put any resources into this app. Its |
964 # resources directory will be a symbolic link to the browser app's | 964 # resources directory will be a symbolic link to the browser app's |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 # Breakpad, Keystone, and Subersion keys are never placed into | 1010 # Breakpad, Keystone, and Subersion keys are never placed into |
1011 # the helper. | 1011 # the helper. |
1012 'postbuild_name': 'Tweak Info.plist', | 1012 'postbuild_name': 'Tweak Info.plist', |
1013 'action': ['<(tweak_info_plist_path)', | 1013 'action': ['<(tweak_info_plist_path)', |
1014 '-b0', | 1014 '-b0', |
1015 '-k0', | 1015 '-k0', |
1016 '-s0', | 1016 '-s0', |
1017 '<(branding)', | 1017 '<(branding)', |
1018 '<(mac_bundle_id)'], | 1018 '<(mac_bundle_id)'], |
1019 }, | 1019 }, |
| 1020 { |
| 1021 # Make sure there isn't any Objective-C in the helper app's |
| 1022 # executable. |
| 1023 'postbuild_name': 'Verify No Objective-C', |
| 1024 'action': [ |
| 1025 'tools/build/mac/verify_no_objc.sh', |
| 1026 ], |
| 1027 }, |
1020 ], | 1028 ], |
1021 'conditions': [ | 1029 'conditions': [ |
1022 ['mac_breakpad==1', { | 1030 ['mac_breakpad==1', { |
1023 'variables': { | 1031 'variables': { |
1024 # A real .dSYM is needed for dump_syms to operate on. | 1032 # A real .dSYM is needed for dump_syms to operate on. |
1025 'mac_real_dsym': 1, | 1033 'mac_real_dsym': 1, |
1026 }, | 1034 }, |
1027 'xcode_settings': { | 1035 'xcode_settings': { |
1028 # With mac_real_dsym set, strip_from_xcode won't be used. | 1036 # With mac_real_dsym set, strip_from_xcode won't be used. |
1029 # Specify CHROMIUM_STRIP_SAVE_FILE directly to Xcode. | 1037 # Specify CHROMIUM_STRIP_SAVE_FILE directly to Xcode. |
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1714 'destination': '<(PRODUCT_DIR)', | 1722 'destination': '<(PRODUCT_DIR)', |
1715 'files': [ | 1723 'files': [ |
1716 '<(INTERMEDIATE_DIR)/repack/chrome.pak' | 1724 '<(INTERMEDIATE_DIR)/repack/chrome.pak' |
1717 ], | 1725 ], |
1718 }, | 1726 }, |
1719 ], | 1727 ], |
1720 }], # targets | 1728 }], # targets |
1721 }], # OS != "mac" | 1729 }], # OS != "mac" |
1722 ], # 'conditions' | 1730 ], # 'conditions' |
1723 } | 1731 } |
OLD | NEW |