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

Side by Side Diff: libvpx.gyp

Issue 8501011: Suppress libvpx warning (Closed) Base URL: http://git.chromium.org/chromium/deps/libvpx.git@master
Patch Set: Created 9 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'variables': { 5 'variables': {
6 'conditions': [ 6 'conditions': [
7 ['os_posix==1', { 7 ['os_posix==1', {
8 'asm_obj_extension': 'o', 8 'asm_obj_extension': 'o',
9 }], 9 }],
10 ['OS=="win"', { 10 ['OS=="win"', {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 ], 160 ],
161 161
162 'variables': { 162 'variables': {
163 # Location of the intermediate output. 163 # Location of the intermediate output.
164 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', 164 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx',
165 }, 165 },
166 166
167 # Copy the script to the output folder so that we can use it with 167 # Copy the script to the output folder so that we can use it with
168 # absolute path. 168 # absolute path.
169 'copies': [{ 169 'copies': [{
170 'destination': '<(shared_generated_dir)', 170 'destination': '<(shared_generated_dir)/encoder',
Alpha Left Google 2011/11/08 15:19:53 Please rename this to simple_encoder.
tzik 2011/11/08 15:34:37 Done.
171 'files': [ 171 'files': [
172 'source/libvpx/examples/gen_example_code.sh', 172 'source/libvpx/examples/gen_example_code.sh',
173 ], 173 ],
174 }], 174 }],
175 175
176 # Rule to convert .txt files to .c files. 176 # Rule to convert .txt files to .c files.
177 'rules': [ 177 'rules': [
178 { 178 {
179 'rule_name': 'generate_example', 179 'rule_name': 'generate_example',
180 'extension': 'txt', 180 'extension': 'txt',
181 'inputs': [ '<(shared_generated_dir)/gen_example_code.sh', ], 181 'inputs': [ '<(shared_generated_dir)/encoder/gen_example_code.sh', ],
Alpha Left Google 2011/11/08 15:19:53 same there.
tzik 2011/11/08 15:34:37 Done.
182 'outputs': [ 182 'outputs': [
183 '<(shared_generated_dir)/<(RULE_INPUT_ROOT).c', 183 '<(shared_generated_dir)/<(RULE_INPUT_ROOT).c',
184 ], 184 ],
185 'action': [ 185 'action': [
186 'bash', 186 'bash',
187 '-c', 187 '-c',
188 '<(shared_generated_dir)/gen_example_code.sh <(RULE_INPUT_PATH) > <( shared_generated_dir)/<(RULE_INPUT_ROOT).c', 188 '<(shared_generated_dir)/encoder/gen_example_code.sh <(RULE_INPUT_PA TH) > <(shared_generated_dir)/<(RULE_INPUT_ROOT).c',
Alpha Left Google 2011/11/08 15:19:53 same as above.
tzik 2011/11/08 15:34:37 Done.
189 ], 189 ],
190 'process_outputs_as_sources': 1, 190 'process_outputs_as_sources': 1,
191 'message': 'Generate libvpx example code <(RULE_INPUT_PATH).', 191 'message': 'Generate libvpx example code <(RULE_INPUT_PATH).',
192 }, 192 },
193 ], 193 ],
194 'sources': [ 194 'sources': [
195 'source/libvpx/examples/simple_encoder.txt', 195 'source/libvpx/examples/simple_encoder.txt',
196 ] 196 ]
197 }, 197 },
198 { 198 {
199 'target_name': 'simple_decoder', 199 'target_name': 'simple_decoder',
200 'type': 'executable', 200 'type': 'executable',
201 'dependencies': [ 201 'dependencies': [
202 'libvpx', 202 'libvpx',
203 '../../base/base.gyp:base', 203 '../../base/base.gyp:base',
204 ], 204 ],
205 205
206 'variables': { 206 'variables': {
207 # Location of the intermediate output. 207 # Location of the intermediate output.
208 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', 208 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx',
209 }, 209 },
210 210
211 # Copy the script to the output folder so that we can use it with 211 # Copy the script to the output folder so that we can use it with
212 # absolute path. 212 # absolute path.
213 'copies': [{ 213 'copies': [{
214 'destination': '<(shared_generated_dir)', 214 'destination': '<(shared_generated_dir)',
215 'files': [ 215 'files': [
216 'source/libvpx/examples/gen_example_code.sh', 216 'source/libvpx/examples/decoder/gen_example_code.sh',
Alpha Left Google 2011/11/08 15:19:53 Please rename this to simple_decoder.
tzik 2011/11/08 15:34:37 Done. I misplaced directory name.
217 ], 217 ],
218 }], 218 }],
219 219
220 # Rule to convert .txt files to .c files. 220 # Rule to convert .txt files to .c files.
221 'rules': [ 221 'rules': [
222 { 222 {
223 'rule_name': 'generate_example', 223 'rule_name': 'generate_example',
224 'extension': 'txt', 224 'extension': 'txt',
225 'inputs': [ '<(shared_generated_dir)/gen_example_code.sh', ], 225 'inputs': [ '<(shared_generated_dir)/decoder/gen_example_code.sh', ],
Alpha Left Google 2011/11/08 15:19:53 Also this please.
tzik 2011/11/08 15:34:37 Done.
226 'outputs': [ 226 'outputs': [
227 '<(shared_generated_dir)/<(RULE_INPUT_ROOT).c', 227 '<(shared_generated_dir)/<(RULE_INPUT_ROOT).c',
228 ], 228 ],
229 'action': [ 229 'action': [
230 'bash', 230 'bash',
231 '-c', 231 '-c',
232 '<(shared_generated_dir)/gen_example_code.sh <(RULE_INPUT_PATH) > <( shared_generated_dir)/<(RULE_INPUT_ROOT).c', 232 '<(shared_generated_dir)/decoder/gen_example_code.sh <(RULE_INPUT_PA TH) > <(shared_generated_dir)/<(RULE_INPUT_ROOT).c',
Alpha Left Google 2011/11/08 15:19:53 And this please.
tzik 2011/11/08 15:34:37 Done.
233 ], 233 ],
234 'process_outputs_as_sources': 1, 234 'process_outputs_as_sources': 1,
235 'message': 'Generate libvpx example code <(RULE_INPUT_PATH).', 235 'message': 'Generate libvpx example code <(RULE_INPUT_PATH).',
236 }, 236 },
237 ], 237 ],
238 'sources': [ 238 'sources': [
239 'source/libvpx/examples/simple_decoder.txt', 239 'source/libvpx/examples/simple_decoder.txt',
240 ] 240 ]
241 }, 241 },
242 # TODO(hclam): Remove these targets once webrtc doesn't depend on them. 242 # TODO(hclam): Remove these targets once webrtc doesn't depend on them.
(...skipping 14 matching lines...) Expand all
257 ], 257 ],
258 }, 258 },
259 ], 259 ],
260 } 260 }
261 261
262 # Local Variables: 262 # Local Variables:
263 # tab-width:2 263 # tab-width:2
264 # indent-tabs-mode:nil 264 # indent-tabs-mode:nil
265 # End: 265 # End:
266 # vim: set expandtab tabstop=2 shiftwidth=2: 266 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698