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

Side by Side Diff: libsrtp.gyp

Issue 592173002: Use FORCE_64BIT_ALIGN to make sure that aes_cbc_ctx_t allocated by aes_cbc_alloc is 64-bit aligned. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libsrtp/
Patch Set: Created 6 years, 2 months 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 | Annotate | Revision Log
« 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) 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
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
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 }
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