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

Side by Side Diff: gyp/debugger.gyp

Issue 1036283002: Remove all code related to NaCl (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 5 years, 8 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
« no previous file with comments | « gyp/common_variables.gypi ('k') | gyp/freetype.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 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 { 5 {
6 'variables': { 6 'variables': {
7 'skia_warnings_as_errors': 0, 7 'skia_warnings_as_errors': 0,
8 'conditions': [ 8 'conditions': [
9 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { 9 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
10 # Use the systemwide Qt libs by default 10 # Use the systemwide Qt libs by default
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 '/Library/Frameworks', 82 '/Library/Frameworks',
83 ], 83 ],
84 'include_dirs' : [ 84 'include_dirs' : [
85 '../src/core', 85 '../src/core',
86 '../src/utils/debugger', 86 '../src/utils/debugger',
87 '../debugger', # To pull SkDebugger.h 87 '../debugger', # To pull SkDebugger.h
88 '../src/gpu', # To pull gl/GrGLUtil.h 88 '../src/gpu', # To pull gl/GrGLUtil.h
89 '../src/ports', # To pull SkFontDescriptor.h 89 '../src/ports', # To pull SkFontDescriptor.h
90 '../bench', 90 '../bench',
91 '../tools', 91 '../tools',
92 '../debugger/QT', # For all the QT UI Goodies
93 '<@(qt_includes)',
92 ], 94 ],
93 'sources': [ 95 'sources': [
94 '../debugger/SkDebugger.cpp', 96 '../debugger/SkDebugger.cpp',
95 '../src/utils/debugger/SkDebugCanvas.h', 97 '../src/utils/debugger/SkDebugCanvas.h',
96 '../src/utils/debugger/SkDebugCanvas.cpp', 98 '../src/utils/debugger/SkDebugCanvas.cpp',
97 '../src/utils/debugger/SkDrawCommand.h', 99 '../src/utils/debugger/SkDrawCommand.h',
98 '../src/utils/debugger/SkDrawCommand.cpp', 100 '../src/utils/debugger/SkDrawCommand.cpp',
99 '../src/utils/debugger/SkObjectParser.h', 101 '../src/utils/debugger/SkObjectParser.h',
100 '../src/utils/debugger/SkObjectParser.cpp', 102 '../src/utils/debugger/SkObjectParser.cpp',
103 '../debugger/debuggermain.cpp',
104 '../debugger/QT/SkDebuggerGUI.cpp',
105 '../debugger/QT/SkDebuggerGUI.h',
106 '../debugger/QT/SkDrawCommandGeometryWidget.h',
107 '../debugger/QT/SkDrawCommandGeometryWidget.cpp',
108 '../debugger/QT/SkCanvasWidget.cpp',
109 '../debugger/QT/SkCanvasWidget.h',
110 '../debugger/QT/SkInspectorWidget.h',
111 '../debugger/QT/SkInspectorWidget.cpp',
112 '../debugger/QT/SkListWidget.h',
113 '../debugger/QT/SkListWidget.cpp',
114 '../debugger/QT/SkSettingsWidget.h',
115 '../debugger/QT/SkSettingsWidget.cpp',
116 '../debugger/QT/SkGLWidget.h',
117 '../debugger/QT/SkGLWidget.cpp',
118 '../debugger/QT/SkRasterWidget.h',
119 '../debugger/QT/SkRasterWidget.cpp',
120
121 # To update this file edit SkIcons.qrc and rerun rcc to generate cpp
122 '../debugger/QT/qrc_SkIcons.cpp',
123
124 # Generated MOC files
125 '<(moc_gen_dir)/moc_SkCanvasWidget.cpp',
126 '<(moc_gen_dir)/moc_SkDebuggerGUI.cpp',
127 '<(moc_gen_dir)/moc_SkDrawCommandGeometryWidget.cpp',
128 '<(moc_gen_dir)/moc_SkInspectorWidget.cpp',
129 '<(moc_gen_dir)/moc_SkSettingsWidget.cpp',
130 '<(moc_gen_dir)/moc_SkRasterWidget.cpp',
131 '<(moc_gen_dir)/moc_SkGLWidget.cpp',
101 ], 132 ],
102 'dependencies': [ 133 'dependencies': [
134 'debugger_qt_mocs',
103 'skia_lib.gyp:skia_lib', 135 'skia_lib.gyp:skia_lib',
104 'tools.gyp:picture_renderer', 136 'tools.gyp:picture_renderer',
105 'tools.gyp:timer', 137 'tools.gyp:timer',
106 ], 138 ],
107 'conditions': [ 139 'cflags': [
108 [ 'skia_os == "nacl"', { 140 # Clang gets confused by QWeakPointer, see http://llvm.org/bugs/show_bug .cgi?id=13127
109 'include_dirs': [ 141 '-Wno-uninitialized',
110 '../src/utils', 142 ],
111 ], 143 'link_settings': {
112 'sources': [ 144 'libraries': [
113 '../platform_tools/nacl/src/nacl_debugger.cpp', 145 '<@(qt_libs)',
114 ], 146 ],
115 }, { # skia_os != "nacl" 147 },
116 'include_dirs': [ 148 },
117 '../debugger/QT', # For all the QT UI Goodies 149 {
118 '<@(qt_includes)', 150 'target_name': 'debugger_qt_mocs',
119 ], 151 'type': 'none',
120 'sources': [ 152 'sources': [
121 '../debugger/debuggermain.cpp', 153 '<(moc_src_dir)/SkCanvasWidget.h',
122 '../debugger/QT/SkDebuggerGUI.cpp', 154 '<(moc_src_dir)/SkDebuggerGUI.h',
123 '../debugger/QT/SkDebuggerGUI.h', 155 '<(moc_src_dir)/SkDrawCommandGeometryWidget.h',
124 '../debugger/QT/SkDrawCommandGeometryWidget.h', 156 '<(moc_src_dir)/SkInspectorWidget.h',
125 '../debugger/QT/SkDrawCommandGeometryWidget.cpp', 157 '<(moc_src_dir)/SkSettingsWidget.h',
126 '../debugger/QT/SkCanvasWidget.cpp', 158 '<(moc_src_dir)/SkRasterWidget.h',
127 '../debugger/QT/SkCanvasWidget.h', 159 '<(moc_src_dir)/SkGLWidget.h',
128 '../debugger/QT/SkInspectorWidget.h', 160 ],
129 '../debugger/QT/SkInspectorWidget.cpp', 161 'rules': [
130 '../debugger/QT/SkListWidget.h', 162 {
131 '../debugger/QT/SkListWidget.cpp', 163 'rule_name': 'generate_moc',
132 '../debugger/QT/SkSettingsWidget.h', 164 'extension': 'h',
133 '../debugger/QT/SkSettingsWidget.cpp', 165 'outputs': [ '<(moc_gen_dir)/moc_<(RULE_INPUT_ROOT).cpp' ],
134 '../debugger/QT/SkGLWidget.h', 166 'action': [ '<(qt_moc)', '-DSK_SUPPORT_GPU=<(skia_gpu)',
135 '../debugger/QT/SkGLWidget.cpp', 167 '<(RULE_INPUT_PATH)',
136 '../debugger/QT/SkRasterWidget.h', 168 '-o', '<(moc_gen_dir)/moc_<(RULE_INPUT_ROOT).cpp' ],
137 '../debugger/QT/SkRasterWidget.cpp', 169 'message': 'Generating <(RULE_INPUT_ROOT).cpp.',
138 170 },
139 # To update this file edit SkIcons.qrc and rerun rcc to generate cpp
140 '../debugger/QT/qrc_SkIcons.cpp',
141
142 # Generated MOC files
143 '<(moc_gen_dir)/moc_SkCanvasWidget.cpp',
144 '<(moc_gen_dir)/moc_SkDebuggerGUI.cpp',
145 '<(moc_gen_dir)/moc_SkDrawCommandGeometryWidget.cpp',
146 '<(moc_gen_dir)/moc_SkInspectorWidget.cpp',
147 '<(moc_gen_dir)/moc_SkSettingsWidget.cpp',
148 '<(moc_gen_dir)/moc_SkRasterWidget.cpp',
149 '<(moc_gen_dir)/moc_SkGLWidget.cpp',
150 ],
151 'cflags': [
152 # Clang gets confused by QWeakPointer, see http://llvm.org/bugs/show _bug.cgi?id=13127
153 '-Wno-uninitialized',
154 ],
155 'dependencies': [
156 'debugger_qt_mocs',
157 ],
158 'link_settings': {
159 'libraries': [
160 '<@(qt_libs)',
161 ],
162 },
163 }],
164 ], 171 ],
165 }, 172 },
166 ], 173 ],
167 'conditions': [
168 [ 'skia_os != "nacl"', {
169 'targets': [
170 {
171 'target_name': 'debugger_qt_mocs',
172 'type': 'none',
173 'sources': [
174 '<(moc_src_dir)/SkCanvasWidget.h',
175 '<(moc_src_dir)/SkDebuggerGUI.h',
176 '<(moc_src_dir)/SkDrawCommandGeometryWidget.h',
177 '<(moc_src_dir)/SkInspectorWidget.h',
178 '<(moc_src_dir)/SkSettingsWidget.h',
179 '<(moc_src_dir)/SkRasterWidget.h',
180 '<(moc_src_dir)/SkGLWidget.h',
181 ],
182 'rules': [
183 {
184 'rule_name': 'generate_moc',
185 'extension': 'h',
186 'outputs': [ '<(moc_gen_dir)/moc_<(RULE_INPUT_ROOT).cpp' ],
187 'action': [ '<(qt_moc)', '-DSK_SUPPORT_GPU=<(skia_gpu)',
188 '<(RULE_INPUT_PATH)',
189 '-o', '<(moc_gen_dir)/moc_<(RULE_INPUT_ROOT).cpp' ],
190 'message': 'Generating <(RULE_INPUT_ROOT).cpp.',
191 },
192 ],
193 },
194 ],
195 }],
196 ],
197 } 174 }
OLDNEW
« no previous file with comments | « gyp/common_variables.gypi ('k') | gyp/freetype.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698