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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
136 'dependencies': [ | 136 'dependencies': [ |
137 '../yasm/yasm.gyp:yasm#host', | 137 '../yasm/yasm.gyp:yasm#host', |
138 ], | 138 ], |
139 'include_dirs': [ | 139 'include_dirs': [ |
140 'source/config/<(OS)/<(target_arch)', | 140 'source/config/<(OS)/<(target_arch)', |
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': { | |
147 'include_dirs': [ | |
148 'source/libvpx', | |
149 ], | |
150 }, | |
146 'cflags!': [ | 151 'cflags!': [ |
147 # Ensure the symbols are exported since this library gets wrapped by | 152 # Ensure the symbols are exported since this library gets wrapped by |
148 # ffmpeg's shared lib. When we stop doing that (crbug.com/70687) | 153 # ffmpeg's shared lib. When we stop doing that (crbug.com/70687) |
149 # this can go away. | 154 # this can go away. |
150 '-fvisibility=hidden', | 155 '-fvisibility=hidden', |
151 ], | 156 ], |
152 'conditions': [ | 157 'conditions': [ |
153 [ 'OS=="mac"', { | 158 [ 'OS=="mac"', { |
154 'xcode_settings': { | 159 'xcode_settings': { |
155 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', # No -fvisibility=hidden | 160 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', # No -fvisibility=hidden |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
447 ], | 452 ], |
448 }], | 453 }], |
449 ], | 454 ], |
450 }, | 455 }, |
451 ], | 456 ], |
452 }], | 457 }], |
453 ], | 458 ], |
454 # TODO(hclam): Remove these targets once webrtc doesn't depend on them. | 459 # TODO(hclam): Remove these targets once webrtc doesn't depend on them. |
455 'targets': [ | 460 'targets': [ |
456 { | 461 { |
457 'target_name': 'libvpx_include', | 462 'target_name': 'libvpx_include', |
Ami GONE FROM CHROMIUM
2011/08/16 05:27:13
Is anyone still using this?
Alpha Left Google
2011/08/16 10:24:39
webrtc... :(
| |
458 'type': 'none', | 463 'type': 'none', |
459 'direct_dependent_settings': { | 464 'direct_dependent_settings': { |
460 'include_dirs': [ | 465 'include_dirs': [ |
461 'include', | 466 'include', |
462 ], | 467 ], |
463 }, | 468 }, |
464 }, | 469 }, |
465 { | 470 { |
466 'target_name': 'libvpx_lib', | 471 'target_name': 'libvpx_lib', |
Ami GONE FROM CHROMIUM
2011/08/16 05:27:13
is anyone still using this?
Alpha Left Google
2011/08/16 10:24:39
yeah webrtc.. :(
| |
467 'type': 'none', | 472 'type': 'none', |
468 'variables': { | 473 'variables': { |
469 'libvpx_lib': 'libvpx.a', | 474 'libvpx_lib': 'libvpx.a', |
470 }, | 475 }, |
471 'conditions': [ | 476 'conditions': [ |
472 # This section specifies the folder for looking for libvpx.a. | 477 # This section specifies the folder for looking for libvpx.a. |
473 # | 478 # |
474 ['OS=="linux" and target_arch=="ia32"', { | 479 ['OS=="linux" and target_arch=="ia32"', { |
475 'variables': { | 480 'variables': { |
476 'libvpx_path': 'lib/linux/ia32', | 481 'libvpx_path': 'lib/linux/ia32', |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
528 }, | 533 }, |
529 }, | 534 }, |
530 ], | 535 ], |
531 } | 536 } |
532 | 537 |
533 # Local Variables: | 538 # Local Variables: |
534 # tab-width:2 | 539 # tab-width:2 |
535 # indent-tabs-mode:nil | 540 # indent-tabs-mode:nil |
536 # End: | 541 # End: |
537 # vim: set expandtab tabstop=2 shiftwidth=2: | 542 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |