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

Side by Side Diff: plugin/plugin.gyp

Issue 131116: This adds in the GYP files needed for our GYP build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 6 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 | « plugin/idl/idl.gyp ('k') | plugin/version_info.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'includes': [
10 '../build/common.gypi',
11 ],
12 'target_defaults': {
13 'include_dirs': [
14 '..',
15 '../..',
16 '../../<(gtestdir)',
17 ],
18 'defines': [
19 'O3D_PLUGIN_NAME="<!(python version_info.py --name)"',
20 'O3D_PLUGIN_DESCRIPTION="<!(python version_info.py --description)"',
21 'O3D_PLUGIN_MIME_TYPE="<!(python version_info.py --mimetype)"',
22 ],
23 },
24 'targets': [
25 {
26 'target_name': 'npo3dautoplugin',
27 'type': 'shared_library',
28 'dependencies': [
29 '../../<(antlrdir)/antlr.gyp:antlr3c',
30 '../../<(jpegdir)/libjpeg.gyp:libjpeg',
31 '../../<(pngdir)/libpng.gyp:libpng',
32 '../../<(zlibdir)/zlib.gyp:zlib',
33 '../../base/base.gyp:base',
34 '../../skia/skia.gyp:skia',
35 '../../v8/tools/gyp/v8.gyp:v8',
36 '../compiler/technique/technique.gyp:technique',
37 '../core/core.gyp:o3dCore',
38 '../core/core.gyp:o3dCorePlatform',
39 '../import/import.gyp:o3dArchive',
40 '../import/import.gyp:o3dImport',
41 '../serializer/serializer.gyp:o3dSerializer',
42 '../utils/utils.gyp:o3dUtils',
43 '../build/nacl.gyp:build_nacl',
44 'idl/idl.gyp:o3dPluginIdl',
45 ],
46 'sources': [
47 'cross/async_loading.cc',
48 'cross/async_loading.h',
49 'cross/blacklist.cc',
50 'cross/config.h',
51 'cross/config_common.cc',
52 'cross/download_stream.h',
53 'cross/main.cc',
54 'cross/main.h',
55 'cross/marshaling_utils.h',
56 'cross/np_v8_bridge.cc',
57 'cross/np_v8_bridge.h',
58 'cross/out_of_memory.cc',
59 'cross/out_of_memory.h',
60 'cross/plugin_logging.h',
61 'cross/plugin_main.h',
62 'cross/stream_manager.cc',
63 'cross/stream_manager.h',
64 ],
65 'conditions' : [
66 ['OS != "linux"',
67 {
68 'dependencies': [
69 '../statsreport/statsreport.gyp:o3dStatsReport',
70 'add_version',
71 'o3dPluginLogging',
72 ],
73 },
74 ],
75 ['OS == "mac"',
76 {
77 'sources': [
78 'mac/config_mac.mm',
79 'mac/main_mac.mm',
80 'mac/o3d_plugin.r',
81 'mac/plugin_logging-mac.mm',
82 'mac/plugin_mac.h',
83 'mac/plugin_mac.mm',
84 ],
85 'link_settings': {
86 'libraries': [
87 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
88 ],
89 },
90 },
91 ],
92 ['OS == "win"',
93 {
94 'dependencies': [
95 '../breakpad/breakpad.gyp:o3dBreakpad',
96 ],
97 'sources': [
98 'win/config.cc',
99 'win/logger_main.cc',
100 'win/main_win.cc',
101 'win/o3dPlugin.def',
102 'win/o3dPlugin.rc',
103 'win/plugin_logging-win32.cc',
104 'win/resource.h',
105 'win/update_lock.cc',
106 'win/update_lock.h',
107 ],
108 'msvs_settings': {
109 'VCLinkerTool': {
110 'AdditionalDependencies': [
111 '"$(DXSDK_DIR)/Lib/x86/DxErr9.lib"',
112 '"$(DXSDK_DIR)/Lib/x86/d3dx9.lib"',
113 '../../<(cgdir)/lib/cg.lib',
114 '../../<(cgdir)/lib/cgGL.lib',
115 'd3d9.lib',
116 'rpcrt4.lib',
117 ],
118 # Set /SUBSYSTEM:CONSOLE for converter.exe, since
119 # it is a console app.
120 'SubSystem': '1',
121 },
122 },
123 },
124 ],
125 ],
126 },
127 ],
128 'conditions': [
129 ['OS != "linux"',
130 {
131 'targets': [
132 {
133 'target_name': 'o3dPluginLogging',
134 'type': 'static_library',
135 'conditions': [
136 ['OS=="win"',
137 {
138 'sources': [
139 'win/plugin_metrics-win32.cc',
140 'win/plugin_logging-win32.cc',
141 ],
142 },
143 ],
144 ['OS=="mac"',
145 {
146 'sources': [
147 'mac/plugin_metrics-mac.cc',
148 'mac/plugin_logging-mac.mm',
149 ],
150 },
151 ],
152 ],
153 },
154 {
155 'target_name': 'add_version',
156 'type': 'none',
157 'actions': [
158 {
159 'action_name': 'add_version',
160 'inputs': [
161 'version_info.py',
162 ],
163 'conditions': [
164 ['OS=="win"',
165 {
166 'inputs': [
167 'win/o3dPlugin.rc_template',
168 ],
169 'outputs': [
170 'win/o3dPlugin.rc'
171 ],
172 'action': ['python',
173 'version_info.py',
174 'win/o3dPlugin.rc_template',
175 'win/o3dPlugin.rc'],
176 },
177 ],
178 ['OS=="mac"',
179 {
180 'inputs': [
181 'mac/processed/Info.plist',
182 ],
183 'outputs': [
184 'mac/Info.plist',
185 ],
186 'action': ['python',
187 'version_info.py',
188 'mac/processed/Info.plist',
189 'mac/Info.plist'],
190 },
191 ],
192 ],
193 },
194 ],
195 },
196 ],
197 },
198 ],
199 ],
200 }
OLDNEW
« no previous file with comments | « plugin/idl/idl.gyp ('k') | plugin/version_info.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698