Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Side by Side Diff: chrome/chrome.gyp

Issue 7726007: Don't build the main executable binaries as Objective-C (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/app/chrome_main_posix.cc ('k') | chrome/chrome_exe.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1729 'destination': '<(PRODUCT_DIR)', 1737 'destination': '<(PRODUCT_DIR)',
1730 'files': [ 1738 'files': [
1731 '<(INTERMEDIATE_DIR)/repack/chrome.pak' 1739 '<(INTERMEDIATE_DIR)/repack/chrome.pak'
1732 ], 1740 ],
1733 }, 1741 },
1734 ], 1742 ],
1735 }], # targets 1743 }], # targets
1736 }], # OS != "mac" 1744 }], # OS != "mac"
1737 ], # 'conditions' 1745 ], # 'conditions'
1738 } 1746 }
OLDNEW
« no previous file with comments | « chrome/app/chrome_main_posix.cc ('k') | chrome/chrome_exe.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698