summaryrefslogtreecommitdiffstats
path: root/o3d/plugin/plugin.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/plugin/plugin.gyp')
-rw-r--r--o3d/plugin/plugin.gyp9
1 files changed, 5 insertions, 4 deletions
diff --git a/o3d/plugin/plugin.gyp b/o3d/plugin/plugin.gyp
index 4bb27e2..1f162bf 100644
--- a/o3d/plugin/plugin.gyp
+++ b/o3d/plugin/plugin.gyp
@@ -138,7 +138,7 @@
{
'mac_bundle': 1,
'product_extension': 'plugin',
- 'product_name': 'O3D',
+ 'product_name': '<(plugin_npapi_filename)',
'dependencies': [
'../../breakpad/breakpad.gyp:breakpad',
],
@@ -201,7 +201,7 @@
'copy_frameworks_path': 'mac/plugin_copy_frameworks.sh',
},
'postbuild_name': 'Copy Frameworks',
- 'action': ['<(copy_frameworks_path)'],
+ 'action': ['<(copy_frameworks_path)', '<(plugin_npapi_filename)'],
},
{
'postbuild_name': 'Process Resource File',
@@ -217,7 +217,7 @@
'postbuild_name': 'Compile Resource File',
'action': ['/usr/bin/Rez',
'-o',
- '${BUILT_PRODUCTS_DIR}/O3D.plugin/Contents/Resources/O3D.rsrc',
+ '${BUILT_PRODUCTS_DIR}/<(plugin_npapi_filename).plugin/Contents/Resources/<(plugin_npapi_filename).rsrc',
'${BUILT_PRODUCTS_DIR}/O3D.r',
],
},
@@ -362,7 +362,7 @@
{
'mac_bundle': 1,
'product_extension': 'plugin',
- 'product_name': 'O3D',
+ 'product_name': '<(plugin_npapi_filename)',
'dependencies': [
'../../breakpad/breakpad.gyp:breakpad',
],
@@ -550,6 +550,7 @@
'action': ['python',
'version_info.py',
'--set_name=<(plugin_name)',
+ '--set_npapi_filename=<(plugin_npapi_filename)',
'--set_npapi_mimetype=<(plugin_npapi_mimetype)',
'mac/Info.plist',
'<(SHARED_INTERMEDIATE_DIR)/plugin/Info.plist',