| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 '../build/common.gypi', | 10 '../build/common.gypi', |
| 11 ], | 11 ], |
| 12 'target_defaults': { | 12 'target_defaults': { |
| 13 'include_dirs': [ | 13 'include_dirs': [ |
| 14 '..', | 14 '..', |
| 15 '../..', | 15 '../..', |
| 16 '../../<(gtestdir)', | 16 '../../<(gtestdir)', |
| 17 ], | 17 ], |
| 18 'defines': [ | 18 'defines': [ |
| 19 'O3D_PLUGIN_NAME="<!(python version_info.py --name)"', | 19 'O3D_PLUGIN_NAME="<!(python version_info.py --name)"', |
| 20 'O3D_PLUGIN_DESCRIPTION="<!(python version_info.py --description)"', | 20 'O3D_PLUGIN_DESCRIPTION="<!(python version_info.py --description)"', |
| 21 'O3D_PLUGIN_MIME_TYPE="<!(python version_info.py --mimetype)"', | 21 'O3D_PLUGIN_MIME_TYPE="<!(python version_info.py --mimetype)"', |
| 22 ], | 22 ], |
| 23 }, | 23 }, |
| 24 |
| 24 'targets': [ | 25 'targets': [ |
| 25 { | 26 { |
| 26 'target_name': 'npo3dautoplugin', | 27 'target_name': 'npo3dautoplugin', |
| 27 'type': 'shared_library', | 28 'type': 'shared_library', |
| 28 'dependencies': [ | 29 'dependencies': [ |
| 29 '../../<(antlrdir)/antlr.gyp:antlr3c', | 30 '../../<(antlrdir)/antlr.gyp:antlr3c', |
| 30 '../../<(jpegdir)/libjpeg.gyp:libjpeg', | 31 '../../<(jpegdir)/libjpeg.gyp:libjpeg', |
| 31 '../../<(pngdir)/libpng.gyp:libpng', | 32 '../../<(pngdir)/libpng.gyp:libpng', |
| 32 '../../<(zlibdir)/zlib.gyp:zlib', | 33 '../../<(zlibdir)/zlib.gyp:zlib', |
| 33 '../../base/base.gyp:base', | 34 '../../base/base.gyp:base', |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 'win/o3dPlugin.def', | 102 'win/o3dPlugin.def', |
| 102 'win/o3dPlugin.rc', | 103 'win/o3dPlugin.rc', |
| 103 'win/plugin_logging-win32.cc', | 104 'win/plugin_logging-win32.cc', |
| 104 'win/resource.h', | 105 'win/resource.h', |
| 105 'win/update_lock.cc', | 106 'win/update_lock.cc', |
| 106 'win/update_lock.h', | 107 'win/update_lock.h', |
| 107 ], | 108 ], |
| 108 'msvs_settings': { | 109 'msvs_settings': { |
| 109 'VCLinkerTool': { | 110 'VCLinkerTool': { |
| 110 'AdditionalDependencies': [ | 111 'AdditionalDependencies': [ |
| 112 'rpcrt4.lib', |
| 113 ], |
| 114 }, |
| 115 }, |
| 116 }, |
| 117 ], |
| 118 ['OS == "win" and renderer == "d3d9"', |
| 119 { |
| 120 'msvs_settings': { |
| 121 'VCLinkerTool': { |
| 122 'AdditionalDependencies': [ |
| 111 '"$(DXSDK_DIR)/Lib/x86/DxErr9.lib"', | 123 '"$(DXSDK_DIR)/Lib/x86/DxErr9.lib"', |
| 112 '"$(DXSDK_DIR)/Lib/x86/d3dx9.lib"', | 124 '"$(DXSDK_DIR)/Lib/x86/d3dx9.lib"', |
| 113 '../../<(cgdir)/lib/cg.lib', | |
| 114 '../../<(cgdir)/lib/cgGL.lib', | |
| 115 'd3d9.lib', | 125 'd3d9.lib', |
| 116 'rpcrt4.lib', | |
| 117 ], | 126 ], |
| 118 # Set /SUBSYSTEM:CONSOLE for converter.exe, since | |
| 119 # it is a console app. | |
| 120 'SubSystem': '1', | |
| 121 }, | 127 }, |
| 122 }, | 128 }, |
| 123 }, | 129 }, |
| 124 ], | 130 ], |
| 125 ], | 131 ], |
| 126 }, | 132 }, |
| 127 ], | 133 ], |
| 128 'conditions': [ | 134 'conditions': [ |
| 129 ['OS != "linux"', | 135 ['OS != "linux"', |
| 130 { | 136 { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 ], | 197 ], |
| 192 ], | 198 ], |
| 193 }, | 199 }, |
| 194 ], | 200 ], |
| 195 }, | 201 }, |
| 196 ], | 202 ], |
| 197 }, | 203 }, |
| 198 ], | 204 ], |
| 199 ], | 205 ], |
| 200 } | 206 } |
| OLD | NEW |