| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 '-Wno-conversion', | 101 '-Wno-conversion', |
| 102 # libvpx does `if ((a == b))` in some places. | 102 # libvpx does `if ((a == b))` in some places. |
| 103 '-Wno-parentheses-equality', | 103 '-Wno-parentheses-equality', |
| 104 ], | 104 ], |
| 105 }, | 105 }, |
| 106 'cflags': [ | 106 'cflags': [ |
| 107 '-Wno-conversion', | 107 '-Wno-conversion', |
| 108 '-Wno-parentheses-equality', | 108 '-Wno-parentheses-equality', |
| 109 ], | 109 ], |
| 110 }], | 110 }], |
| 111 [ 'chromeos == 1', { |
| 112 # ChromeOS needs these files for animated WebM avatars. |
| 113 'sources': [ |
| 114 'source/libvpx/libmkv/EbmlIDs.h', |
| 115 'source/libvpx/libmkv/EbmlWriter.c', |
| 116 'source/libvpx/libmkv/EbmlWriter.h', |
| 117 ], |
| 118 }], |
| 111 ], | 119 ], |
| 112 }, | 120 }, |
| 113 ], | 121 ], |
| 114 }, | 122 }, |
| 115 ], | 123 ], |
| 116 # 'libvpx' target for ARM builds. | 124 # 'libvpx' target for ARM builds. |
| 117 [ 'target_arch=="arm" ', { | 125 [ 'target_arch=="arm" ', { |
| 118 'targets': [ | 126 'targets': [ |
| 119 { | 127 { |
| 120 # This libvpx target contains both encoder and decoder. | 128 # This libvpx target contains both encoder and decoder. |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 }], | 197 }], |
| 190 ['OS == "android"', { | 198 ['OS == "android"', { |
| 191 'include_dirs': [ | 199 'include_dirs': [ |
| 192 '<(android_ndk_include)', | 200 '<(android_ndk_include)', |
| 193 '<(android_ndk_include)/machine', | 201 '<(android_ndk_include)/machine', |
| 194 ], | 202 ], |
| 195 'defines': [ | 203 'defines': [ |
| 196 'ANDROID_CPU_ARM_FEATURE_NEON=4', | 204 'ANDROID_CPU_ARM_FEATURE_NEON=4', |
| 197 ], | 205 ], |
| 198 }], | 206 }], |
| 207 [ 'chromeos == 1', { |
| 208 # ChromeOS needs these files for animated WebM avatars. |
| 209 'sources': [ |
| 210 'source/libvpx/libmkv/EbmlIDs.h', |
| 211 'source/libvpx/libmkv/EbmlWriter.c', |
| 212 'source/libvpx/libmkv/EbmlWriter.h', |
| 213 ], |
| 214 }], |
| 199 ], | 215 ], |
| 200 }, | 216 }, |
| 201 ], | 217 ], |
| 202 }], | 218 }], |
| 203 ], | 219 ], |
| 204 'targets': [ | 220 'targets': [ |
| 205 { | 221 { |
| 206 # A tool that runs on host to tract integers from object file. | 222 # A tool that runs on host to tract integers from object file. |
| 207 'target_name': 'libvpx_obj_int_extract', | 223 'target_name': 'libvpx_obj_int_extract', |
| 208 'type': 'executable', | 224 'type': 'executable', |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 ] | 455 ] |
| 440 }, | 456 }, |
| 441 ], | 457 ], |
| 442 } | 458 } |
| 443 | 459 |
| 444 # Local Variables: | 460 # Local Variables: |
| 445 # tab-width:2 | 461 # tab-width:2 |
| 446 # indent-tabs-mode:nil | 462 # indent-tabs-mode:nil |
| 447 # End: | 463 # End: |
| 448 # vim: set expandtab tabstop=2 shiftwidth=2: | 464 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |