| 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'use_system_libsrtp%': 0, | 7 'use_system_libsrtp%': 0, |
| 8 }, | 8 }, |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'defines': [ | 10 'defines': [ |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 # just work just fine, it has been tested on android/arm with srtp | 54 # just work just fine, it has been tested on android/arm with srtp |
| 55 # test applications and libjingle. | 55 # test applications and libjingle. |
| 56 'CPU_CISC', | 56 'CPU_CISC', |
| 57 ], | 57 ], |
| 58 }], | 58 }], |
| 59 ['target_arch=="mipsel" or target_arch=="mips64el"', { | 59 ['target_arch=="mipsel" or target_arch=="mips64el"', { |
| 60 'defines': [ | 60 'defines': [ |
| 61 'CPU_RISC', | 61 'CPU_RISC', |
| 62 ], | 62 ], |
| 63 }], | 63 }], |
| 64 ['target_arch=="mipsel" or target_arch=="arm" or target_arch=="armv7" or t
arget_arch=="ia32"', { |
| 65 'defines': [ |
| 66 # Define FORCE_64BIT_ALIGN to avoid alignment-related-crashes like |
| 67 # crbug/414919. Without this, aes_cbc_alloc will allocate an |
| 68 # aes_cbc_ctx_t not 64-bit aligned and the v128_t members of |
| 69 # aes_cbc_ctx_t will not be 64-bit aligned, which breaks the |
| 70 # compiler optimizations that assume 64-bit alignment of v128_t. |
| 71 'FORCE_64BIT_ALIGN', |
| 72 ], |
| 73 }], |
| 64 ], | 74 ], |
| 65 'direct_dependent_settings': { | 75 'direct_dependent_settings': { |
| 66 'include_dirs': [ | 76 'include_dirs': [ |
| 67 './config', | 77 './config', |
| 68 'srtp/include', | 78 'srtp/include', |
| 69 'srtp/crypto/include', | 79 'srtp/crypto/include', |
| 70 ], | 80 ], |
| 71 'conditions': [ | 81 'conditions': [ |
| 72 ['os_posix==1', { | 82 ['os_posix==1', { |
| 73 'defines': [ | 83 'defines': [ |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 'link_settings': { | 377 'link_settings': { |
| 368 'libraries': [ | 378 'libraries': [ |
| 369 '-lsrtp', | 379 '-lsrtp', |
| 370 ], | 380 ], |
| 371 }, | 381 }, |
| 372 }, # target libsrtp | 382 }, # target libsrtp |
| 373 ], # targets | 383 ], # targets |
| 374 }], | 384 }], |
| 375 ], | 385 ], |
| 376 } | 386 } |
| OLD | NEW |