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 # PLEASE NOTE: This file contains the targets for generating the | 5 # PLEASE NOTE: This file contains the targets for generating the |
6 # plugin two different ways -- once as a shared library, and once as a | 6 # plugin two different ways -- once as a shared library, and once as a |
7 # static library. The static library is only built if we are inside | 7 # static library. The static library is only built if we are inside |
8 # of a Chrome tree, and it gets built with different defined symbols, | 8 # of a Chrome tree, and it gets built with different defined symbols, |
9 # and without the packaging code on the Mac. The shared library gets | 9 # and without the packaging code on the Mac. The shared library gets |
10 # built in an o3d tree, or in a chrome tree when built by an o3d | 10 # built in an o3d tree, or in a chrome tree when built by an o3d |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 '../../breakpad/breakpad.gyp:breakpad', | 143 '../../breakpad/breakpad.gyp:breakpad', |
144 ], | 144 ], |
145 'xcode_settings': { | 145 'xcode_settings': { |
146 'INFOPLIST_FILE': '<(SHARED_INTERMEDIATE_DIR)/plugin/Info.plist', | 146 'INFOPLIST_FILE': '<(SHARED_INTERMEDIATE_DIR)/plugin/Info.plist', |
147 }, | 147 }, |
148 'mac_bundle_resources': [ | 148 'mac_bundle_resources': [ |
149 'mac/Resources/English.lproj', | 149 'mac/Resources/English.lproj', |
150 ], | 150 ], |
151 'sources': [ | 151 'sources': [ |
152 'mac/config_mac.mm', | 152 'mac/config_mac.mm', |
| 153 'mac/o3d_layer.mm', |
153 'mac/o3d_plugin.r', | 154 'mac/o3d_plugin.r', |
154 'mac/plugin_logging-mac.mm', | 155 'mac/plugin_logging-mac.mm', |
155 'mac/plugin_mac.h', | 156 'mac/plugin_mac.h', |
156 'mac/plugin_mac.mm', | 157 'mac/plugin_mac.mm', |
157 'mac/graphics_utils_mac.mm', | 158 'mac/graphics_utils_mac.mm', |
158 'mac/main_mac.mm', | 159 'mac/main_mac.mm', |
159 ], | 160 ], |
160 'mac_framework_dirs': [ | 161 'mac_framework_dirs': [ |
161 '../../<(cgdir)', | 162 '../../<(cgdir)', |
162 ], | 163 ], |
163 'include_dirs': [ | 164 'include_dirs': [ |
164 '../../breakpad/src/client/mac/Framework', | 165 '../../breakpad/src/client/mac/Framework', |
165 ], | 166 ], |
166 'defines': [ | 167 'defines': [ |
167 'XP_MACOSX=1', | 168 'XP_MACOSX=1', |
168 ], | 169 ], |
169 'link_settings': { | 170 'link_settings': { |
170 'libraries': [ | 171 'libraries': [ |
| 172 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
171 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', | 173 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
172 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | 174 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
173 '$(SDKROOT)/System/Library/Frameworks/AGL.framework', | 175 '$(SDKROOT)/System/Library/Frameworks/AGL.framework', |
174 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 176 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
175 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', | 177 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
176 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 178 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
177 '$(SDKROOT)/System/Library/Frameworks/QuickTime.framework', | 179 '$(SDKROOT)/System/Library/Frameworks/QuickTime.framework', |
178 'libbreakpad.a', | 180 'libbreakpad.a', |
179 'libbreakpad_utilities.a', | 181 'libbreakpad_utilities.a', |
180 '../../third_party/glew/files/lib/libMacStaticGLEW.a', | 182 '../../third_party/glew/files/lib/libMacStaticGLEW.a', |
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 }, | 721 }, |
720 ], | 722 ], |
721 ], | 723 ], |
722 } | 724 } |
723 | 725 |
724 # Local Variables: | 726 # Local Variables: |
725 # tab-width:2 | 727 # tab-width:2 |
726 # indent-tabs-mode:nil | 728 # indent-tabs-mode:nil |
727 # End: | 729 # End: |
728 # vim: set expandtab tabstop=2 shiftwidth=2: | 730 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |