OLD | NEW |
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 # Generic libvpx C sources for both x86 and ARM targets. | 6 # Generic libvpx C sources for both x86 and ARM targets. |
7 'libvpx_generic_sources': [ | 7 'libvpx_generic_sources': [ |
8 'source/libvpx/vp8/common/alloccommon.c', | 8 'source/libvpx/vp8/common/alloccommon.c', |
9 'source/libvpx/vp8/common/blockd.c', | 9 'source/libvpx/vp8/common/blockd.c', |
10 'source/libvpx/vp8/common/debugmodes.c', | 10 'source/libvpx/vp8/common/debugmodes.c', |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 'source/libvpx', | 141 'source/libvpx', |
142 'source/libvpx/vp8/common', | 142 'source/libvpx/vp8/common', |
143 'source/libvpx/vp8/decoder', | 143 'source/libvpx/vp8/decoder', |
144 'source/libvpx/vp8/encoder', | 144 'source/libvpx/vp8/encoder', |
145 ], | 145 ], |
146 'direct_dependent_settings': { | 146 'direct_dependent_settings': { |
147 'include_dirs': [ | 147 'include_dirs': [ |
148 'source/libvpx', | 148 'source/libvpx', |
149 ], | 149 ], |
150 }, | 150 }, |
151 'cflags!': [ | |
152 # Ensure the symbols are exported since this library gets wrapped by | |
153 # ffmpeg's shared lib. When we stop doing that (crbug.com/70687) | |
154 # this can go away. | |
155 '-fvisibility=hidden', | |
156 ], | |
157 'conditions': [ | |
158 [ 'OS=="mac"', { | |
159 'xcode_settings': { | |
160 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', # No -fvisibility=hidden | |
161 }, | |
162 }], | |
163 ], | |
164 'rules': [ | 151 'rules': [ |
165 { | 152 { |
166 'rule_name': 'assemble', | 153 'rule_name': 'assemble', |
167 'extension': 'asm', | 154 'extension': 'asm', |
168 'inputs': [ '<(yasm_path)', ], | 155 'inputs': [ '<(yasm_path)', ], |
169 'outputs': [ | 156 'outputs': [ |
170 '<(shared_generated_dir)/<(RULE_INPUT_ROOT).<(asm_obj_extension)
', | 157 '<(shared_generated_dir)/<(RULE_INPUT_ROOT).<(asm_obj_extension)
', |
171 ], | 158 ], |
172 'action': [ | 159 'action': [ |
173 '<(yasm_path)', | 160 '<(yasm_path)', |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 'source/libvpx/vpx_scale/arm/scalesystemdependent.c', | 372 'source/libvpx/vpx_scale/arm/scalesystemdependent.c', |
386 'source/libvpx/vpx_scale/arm/yv12extend_arm.c', | 373 'source/libvpx/vpx_scale/arm/yv12extend_arm.c', |
387 ], | 374 ], |
388 }, | 375 }, |
389 'cflags': [ | 376 'cflags': [ |
390 # We need to explicitly tell the GCC assembler to look for | 377 # We need to explicitly tell the GCC assembler to look for |
391 # .include directive files from the place where they're | 378 # .include directive files from the place where they're |
392 # generated to. | 379 # generated to. |
393 '-Wa,-I,third_party/libvpx/source/config/<(OS)/<(target_arch_full)', | 380 '-Wa,-I,third_party/libvpx/source/config/<(OS)/<(target_arch_full)', |
394 ], | 381 ], |
395 'cflags!': [ | |
396 # Ensure the symbols are exported since this library gets wrapped by | |
397 # ffmpeg's shared lib. When we stop doing that (crbug.com/70687) | |
398 # this can go away. | |
399 '-fvisibility=hidden', | |
400 ], | |
401 'include_dirs': [ | 382 'include_dirs': [ |
402 'source/config/<(OS)/<(target_arch_full)', | 383 'source/config/<(OS)/<(target_arch_full)', |
403 'source/libvpx', | 384 'source/libvpx', |
404 ], | 385 ], |
| 386 'direct_dependent_settings': { |
| 387 'include_dirs': [ |
| 388 'source/libvpx', |
| 389 ], |
| 390 }, |
405 'sources': [ | 391 'sources': [ |
406 '<@(libvpx_generic_sources)', | 392 '<@(libvpx_generic_sources)', |
407 # Generated by ./source/configure and checked in. | 393 # Generated by ./source/configure and checked in. |
408 'source/config/<(OS)/<(target_arch_full)/vpx_config.c', | 394 'source/config/<(OS)/<(target_arch_full)/vpx_config.c', |
409 'source/config/<(OS)/<(target_arch_full)/vpx_config.h', | 395 'source/config/<(OS)/<(target_arch_full)/vpx_config.h', |
410 # ARM specific C sources. | 396 # ARM specific C sources. |
411 'source/libvpx/vp8/common/arm/arm_systemdependent.c', | 397 'source/libvpx/vp8/common/arm/arm_systemdependent.c', |
412 'source/libvpx/vp8/common/arm/bilinearfilter_arm.c', | 398 'source/libvpx/vp8/common/arm/bilinearfilter_arm.c', |
413 'source/libvpx/vp8/common/arm/bilinearfilter_arm.h', | 399 'source/libvpx/vp8/common/arm/bilinearfilter_arm.h', |
414 'source/libvpx/vp8/common/arm/filter_arm.c', | 400 'source/libvpx/vp8/common/arm/filter_arm.c', |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 }, | 519 }, |
534 }, | 520 }, |
535 ], | 521 ], |
536 } | 522 } |
537 | 523 |
538 # Local Variables: | 524 # Local Variables: |
539 # tab-width:2 | 525 # tab-width:2 |
540 # indent-tabs-mode:nil | 526 # indent-tabs-mode:nil |
541 # End: | 527 # End: |
542 # vim: set expandtab tabstop=2 shiftwidth=2: | 528 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |