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

Side by Side Diff: trunk/gyp/debugger.gyp

Issue 12544011: Gyp changes for NaCl debugger (Closed) Base URL: http://skia.googlecode.com/svn/
Patch Set: Created 7 years, 9 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 | « trunk/gyp/core.gyp ('k') | trunk/gyp/everything.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 'variables': { 2 'variables': {
3 'conditions': [ 3 'conditions': [
4 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { 4 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
5 # Use the systemwide Qt libs by default 5 # Use the systemwide Qt libs by default
6 'variables': { 6 'variables': {
7 'qt_sdk%': '/usr', 7 'qt_sdk%': '/usr',
8 }, 8 },
9 'qt_sdk': '<(qt_sdk)', 9 'qt_sdk': '<(qt_sdk)',
10 'qt_moc%': 'moc', 10 'qt_moc%': 'moc',
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 { 72 {
73 'target_name': 'debugger', 73 'target_name': 'debugger',
74 'type': 'executable', 74 'type': 'executable',
75 'mac_bundle': 1, 75 'mac_bundle': 1,
76 'mac_framework_dirs': [ 76 'mac_framework_dirs': [
77 '/Library/Frameworks', 77 '/Library/Frameworks',
78 ], 78 ],
79 'include_dirs' : [ 79 'include_dirs' : [
80 '../src/core', 80 '../src/core',
81 '../debugger', # To pull SkDebugger.h 81 '../debugger', # To pull SkDebugger.h
82 '../debugger/QT', # For all the QT UI Goodies
83 '../src/gpu', # To pull gl/GrGLUtil.h 82 '../src/gpu', # To pull gl/GrGLUtil.h
84 '../src/ports', # To pull SkFontDescriptor.h 83 '../src/ports', # To pull SkFontDescriptor.h
85 '../bench', 84 '../bench',
86 '../tools', 85 '../tools',
87 '<@(qt_includes)',
88 ], 86 ],
89 'sources': [ 87 'sources': [
90 '../debugger/debuggermain.cpp',
91 '../debugger/SkDebugCanvas.h', 88 '../debugger/SkDebugCanvas.h',
92 '../debugger/SkDebugCanvas.cpp', 89 '../debugger/SkDebugCanvas.cpp',
93 '../debugger/SkDebugger.cpp', 90 '../debugger/SkDebugger.cpp',
94 '../debugger/SkDrawCommand.h', 91 '../debugger/SkDrawCommand.h',
95 '../debugger/SkDrawCommand.cpp', 92 '../debugger/SkDrawCommand.cpp',
96 '../debugger/SkObjectParser.h', 93 '../debugger/SkObjectParser.h',
97 '../debugger/SkObjectParser.cpp', 94 '../debugger/SkObjectParser.cpp',
98 '../debugger/QT/SkDebuggerGUI.cpp',
99 '../debugger/QT/SkDebuggerGUI.h',
100 '../debugger/QT/SkCanvasWidget.cpp',
101 '../debugger/QT/SkCanvasWidget.h',
102 '../debugger/QT/SkInspectorWidget.h',
103 '../debugger/QT/SkInspectorWidget.cpp',
104 '../debugger/QT/SkListWidget.h',
105 '../debugger/QT/SkListWidget.cpp',
106 '../debugger/QT/SkSettingsWidget.h',
107 '../debugger/QT/SkSettingsWidget.cpp',
108 '../debugger/QT/SkGLWidget.h',
109 '../debugger/QT/SkGLWidget.cpp',
110 '../debugger/QT/SkRasterWidget.h',
111 '../debugger/QT/SkRasterWidget.cpp',
112 '../debugger/QT/SkImageWidget.h',
113 '../debugger/QT/SkImageWidget.cpp',
114
115 # To update this file edit SkIcons.qrc and rerun rcc to generate cpp
116 '../debugger/QT/qrc_SkIcons.cpp',
117
118 # Generated MOC files
119 '<(moc_gen_dir)/moc_SkCanvasWidget.cpp',
120 '<(moc_gen_dir)/moc_SkDebuggerGUI.cpp',
121 '<(moc_gen_dir)/moc_SkInspectorWidget.cpp',
122 '<(moc_gen_dir)/moc_SkSettingsWidget.cpp',
123 '<(moc_gen_dir)/moc_SkRasterWidget.cpp',
124 '<(moc_gen_dir)/moc_SkImageWidget.cpp',
125 '<(moc_gen_dir)/moc_SkGLWidget.cpp',
126 ], 95 ],
127 'dependencies': [ 96 'dependencies': [
128 'skia_base_libs.gyp:skia_base_libs', 97 'skia_base_libs.gyp:skia_base_libs',
129 'images.gyp:images', 98 'images.gyp:images',
130 'effects.gyp:effects', 99 'effects.gyp:effects',
131 'bench.gyp:bench_timer', 100 'bench.gyp:bench_timer',
132 'tools.gyp:picture_renderer', 101 'tools.gyp:picture_renderer',
133 'debugger_mocs',
134 ], 102 ],
135 'link_settings': { 103 'conditions': [
136 'libraries': [ 104 [ 'skia_os == "nacl"', {
137 '<@(qt_libs)', 105 'dependencies': [
138 ], 106 'utils.gyp:utils', # For SkBase64.h
139 }, 107 ],
140 }, 108 'include_dirs': [
141 { 109 '../src/utils',
142 'target_name': 'debugger_mocs', 110 ],
143 'type': 'none', 111 'sources': [
144 'sources': [ 112 '../../nacl/src/nacl_debugger.cpp',
145 '<(moc_src_dir)/SkCanvasWidget.h', 113 ],
146 '<(moc_src_dir)/SkDebuggerGUI.h', 114 }, { # skia_os != "nacl"
147 '<(moc_src_dir)/SkInspectorWidget.h', 115 'include_dirs': [
148 '<(moc_src_dir)/SkSettingsWidget.h', 116 '../debugger/QT', # For all the QT UI Goodies
149 '<(moc_src_dir)/SkRasterWidget.h', 117 '<@(qt_includes)',
150 '<(moc_src_dir)/SkImageWidget.h', 118 ],
151 '<(moc_src_dir)/SkGLWidget.h', 119 'sources': [
152 ], 120 '../debugger/debuggermain.cpp',
153 'rules': [ 121 '../debugger/QT/SkDebuggerGUI.cpp',
154 { 122 '../debugger/QT/SkDebuggerGUI.h',
155 'rule_name': 'generate_moc', 123 '../debugger/QT/SkCanvasWidget.cpp',
156 'extension': 'h', 124 '../debugger/QT/SkCanvasWidget.h',
157 'outputs': [ '<(moc_gen_dir)/moc_<(RULE_INPUT_ROOT).cpp' ], 125 '../debugger/QT/SkInspectorWidget.h',
158 'action': [ '<(qt_moc)', '-DSK_SUPPORT_GPU=<(skia_gpu)', '<(RULE_INPUT _PATH)', '-o', '<(moc_gen_dir)/moc_<(RULE_INPUT_ROOT).cpp' ], 126 '../debugger/QT/SkInspectorWidget.cpp',
159 'message': 'Generating <(RULE_INPUT_ROOT).cpp.', 127 '../debugger/QT/SkListWidget.h',
160 }, 128 '../debugger/QT/SkListWidget.cpp',
129 '../debugger/QT/SkSettingsWidget.h',
130 '../debugger/QT/SkSettingsWidget.cpp',
131 '../debugger/QT/SkGLWidget.h',
132 '../debugger/QT/SkGLWidget.cpp',
133 '../debugger/QT/SkRasterWidget.h',
134 '../debugger/QT/SkRasterWidget.cpp',
135 '../debugger/QT/SkImageWidget.h',
136 '../debugger/QT/SkImageWidget.cpp',
137
138 # To update this file edit SkIcons.qrc and rerun rcc to generate cpp
139 '../debugger/QT/qrc_SkIcons.cpp',
140
141 # Generated MOC files
142 '<(moc_gen_dir)/moc_SkCanvasWidget.cpp',
143 '<(moc_gen_dir)/moc_SkDebuggerGUI.cpp',
144 '<(moc_gen_dir)/moc_SkInspectorWidget.cpp',
145 '<(moc_gen_dir)/moc_SkSettingsWidget.cpp',
146 '<(moc_gen_dir)/moc_SkRasterWidget.cpp',
147 '<(moc_gen_dir)/moc_SkImageWidget.cpp',
148 '<(moc_gen_dir)/moc_SkGLWidget.cpp',
149 ],
150 'dependencies': [
151 'debugger_qt_mocs',
152 ],
153 'link_settings': {
154 'libraries': [
155 '<@(qt_libs)',
156 ],
157 },
158 }],
161 ], 159 ],
162 }, 160 },
163 ], 161 ],
162 'conditions': [
163 [ 'skia_os != "nacl"', {
164 'targets': [
165 {
166 'target_name': 'debugger_qt_mocs',
167 'type': 'none',
168 'sources': [
169 '<(moc_src_dir)/SkCanvasWidget.h',
170 '<(moc_src_dir)/SkDebuggerGUI.h',
171 '<(moc_src_dir)/SkInspectorWidget.h',
172 '<(moc_src_dir)/SkSettingsWidget.h',
173 '<(moc_src_dir)/SkRasterWidget.h',
174 '<(moc_src_dir)/SkImageWidget.h',
175 '<(moc_src_dir)/SkGLWidget.h',
176 ],
177 'rules': [
178 {
179 'rule_name': 'generate_moc',
180 'extension': 'h',
181 'outputs': [ '<(moc_gen_dir)/moc_<(RULE_INPUT_ROOT).cpp' ],
182 'action': [ '<(qt_moc)', '-DSK_SUPPORT_GPU=<(skia_gpu)',
183 '<(RULE_INPUT_PATH)',
184 '-o', '<(moc_gen_dir)/moc_<(RULE_INPUT_ROOT).cpp' ],
185 'message': 'Generating <(RULE_INPUT_ROOT).cpp.',
186 },
187 ],
188 },
189 ],
190 }],
191 ],
164 } 192 }
165 193
166 # Local Variables: 194 # Local Variables:
167 # tab-width:2 195 # tab-width:2
168 # indent-tabs-mode:nil 196 # indent-tabs-mode:nil
169 # End: 197 # End:
170 # vim: set expandtab tabstop=2 shiftwidth=2: 198 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « trunk/gyp/core.gyp ('k') | trunk/gyp/everything.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698