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

Side by Side Diff: chrome/chrome.gyp

Issue 8224021: Move the following files to content\public\plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
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 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 ], 1070 ],
1071 'outputs': [ 1071 'outputs': [
1072 '<(PRODUCT_DIR)/<(branding).dmg', 1072 '<(PRODUCT_DIR)/<(branding).dmg',
1073 ], 1073 ],
1074 'action_name': 'build_app_dmg', 1074 'action_name': 'build_app_dmg',
1075 'action': ['<(build_app_dmg_script_path)', '<@(branding)'], 1075 'action': ['<(build_app_dmg_script_path)', '<@(branding)'],
1076 }, 1076 },
1077 ], # 'actions' 1077 ], # 'actions'
1078 }, 1078 },
1079 { 1079 {
1080 # Dummy target to allow chrome to require plugin_carbon_interpose to 1080 # Dummy target to allow chrome to require plugin_carbon_interpose to
jam 2011/10/11 02:08:39 would all embedders want this magic? i.e. should t
Avi (use Gerrit) 2011/10/11 15:58:22 All embedders require the carbon interpose library
1081 # build without actually linking to the resulting library. 1081 # build without actually linking to the resulting library.
1082 'target_name': 'interpose_dependency_shim', 1082 'target_name': 'interpose_dependency_shim',
1083 'type': 'executable', 1083 'type': 'executable',
1084 'dependencies': [ 1084 'dependencies': [
1085 'plugin_carbon_interpose', 1085 '../content/content.gyp:content_plugin:plugin_carbon_interpose',
1086 ], 1086 ],
1087 # In release, we end up with a strip step that is unhappy if there is 1087 # In release, we end up with a strip step that is unhappy if there is
1088 # no binary. Rather than check in a new file for this temporary hack, 1088 # no binary. Rather than check in a new file for this temporary hack,
1089 # just generate a source file on the fly. 1089 # just generate a source file on the fly.
1090 'actions': [ 1090 'actions': [
1091 { 1091 {
1092 'action_name': 'generate_stub_main', 1092 'action_name': 'generate_stub_main',
1093 'process_outputs_as_sources': 1, 1093 'process_outputs_as_sources': 1,
1094 'inputs': [], 1094 'inputs': [],
1095 'outputs': [ '<(INTERMEDIATE_DIR)/dummy_main.c' ], 1095 'outputs': [ '<(INTERMEDIATE_DIR)/dummy_main.c' ],
1096 'action': [ 1096 'action': [
1097 'bash', '-c', 1097 'bash', '-c',
1098 'echo "int main() { return 0; }" > <(INTERMEDIATE_DIR)/dummy_mai n.c' 1098 'echo "int main() { return 0; }" > <(INTERMEDIATE_DIR)/dummy_mai n.c'
1099 ], 1099 ],
1100 }, 1100 },
1101 ], 1101 ],
1102 }, 1102 },
1103 { 1103 {
1104 # dylib for interposing Carbon calls in the plugin process.
1105 'target_name': 'plugin_carbon_interpose',
1106 'type': 'shared_library',
1107 'dependencies': [
1108 'chrome_dll',
1109 ],
1110 'sources': [
1111 'browser/plugin_carbon_interpose_mac.cc',
1112 ],
1113 'include_dirs': [
1114 '..',
1115 ],
1116 'link_settings': {
1117 'libraries': [
1118 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
1119 ],
1120 },
1121 'xcode_settings': {
1122 'DYLIB_COMPATIBILITY_VERSION': '<(version_mac_dylib)',
1123 'DYLIB_CURRENT_VERSION': '<(version_mac_dylib)',
1124 'DYLIB_INSTALL_NAME_BASE': '@executable_path/../../..',
1125 },
1126 'postbuilds': [
1127 {
1128 # The framework (chrome_dll) defines its load-time path
1129 # (DYLIB_INSTALL_NAME_BASE) relative to the main executable
1130 # (chrome). A different relative path needs to be used in
1131 # plugin_carbon_interpose, which runs in the helper_app.
1132 'postbuild_name': 'Fix Framework Link',
1133 'action': [
1134 'install_name_tool',
1135 '-change',
1136 '@executable_path/../Versions/<(version_full)/<(mac_product_name ) Framework.framework/<(mac_product_name) Framework',
1137 '@executable_path/../../../<(mac_product_name) Framework.framewo rk/<(mac_product_name) Framework',
1138 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
1139 ],
1140 },
1141 ],
1142 },
1143 {
1144 'target_name': 'infoplist_strings_tool', 1104 'target_name': 'infoplist_strings_tool',
1145 'type': 'executable', 1105 'type': 'executable',
1146 'dependencies': [ 1106 'dependencies': [
1147 'chrome_strings', 1107 'chrome_strings',
1148 '../base/base.gyp:base', 1108 '../base/base.gyp:base',
1149 '../ui/ui.gyp:ui', 1109 '../ui/ui.gyp:ui',
1150 ], 1110 ],
1151 'include_dirs': [ 1111 'include_dirs': [
1152 '<(grit_out_dir)', 1112 '<(grit_out_dir)',
1153 ], 1113 ],
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
1719 'destination': '<(PRODUCT_DIR)/default_apps', 1679 'destination': '<(PRODUCT_DIR)/default_apps',
1720 'files': ['<@(default_apps_list)'] 1680 'files': ['<@(default_apps_list)']
1721 }, 1681 },
1722 ], 1682 ],
1723 }], 1683 }],
1724 ], 1684 ],
1725 }], # targets 1685 }], # targets
1726 }], # OS != "mac" 1686 }], # OS != "mac"
1727 ], # 'conditions' 1687 ], # 'conditions'
1728 } 1688 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698