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

Side by Side Diff: libsrtp.gyp

Issue 222553004: Add support for arm64 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libsrtp.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « README.chromium ('k') | 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 28 matching lines...) Expand all
39 # All Windows architectures are this way. 39 # All Windows architectures are this way.
40 'SIZEOF_UNSIGNED_LONG=4', 40 'SIZEOF_UNSIGNED_LONG=4',
41 'SIZEOF_UNSIGNED_LONG_LONG=8', 41 'SIZEOF_UNSIGNED_LONG_LONG=8',
42 ], 42 ],
43 }], 43 }],
44 ['target_arch=="x64" or target_arch=="ia32"', { 44 ['target_arch=="x64" or target_arch=="ia32"', {
45 'defines': [ 45 'defines': [
46 'CPU_CISC', 46 'CPU_CISC',
47 ], 47 ],
48 }], 48 }],
49 ['target_arch=="arm" or target_arch=="armv7"', { 49 ['target_arch=="arm" or target_arch=="armv7" or target_arch=="arm64"', {
50 'defines': [ 50 'defines': [
51 # TODO(leozwang): CPU_RISC doesn't work properly on android/arm 51 # TODO(leozwang): CPU_RISC doesn't work properly on android/arm
52 # platform for unknown reasons, need to investigate the root cause 52 # platform for unknown reasons, need to investigate the root cause
53 # of it. CPU_RISC is used for optimization only, and CPU_CISC should 53 # of it. CPU_RISC is used for optimization only, and CPU_CISC should
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"', { 59 ['target_arch=="mipsel"', {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 'srtp/crypto/include/rand_source.h', 147 'srtp/crypto/include/rand_source.h',
148 'srtp/crypto/include/rdb.h', 148 'srtp/crypto/include/rdb.h',
149 'srtp/crypto/include/rdbx.h', 149 'srtp/crypto/include/rdbx.h',
150 'srtp/crypto/include/sha1.h', 150 'srtp/crypto/include/sha1.h',
151 'srtp/crypto/include/stat.h', 151 'srtp/crypto/include/stat.h',
152 'srtp/crypto/include/xfm.h', 152 'srtp/crypto/include/xfm.h',
153 153
154 # sources 154 # sources
155 'srtp/srtp/ekt.c', 155 'srtp/srtp/ekt.c',
156 'srtp/srtp/srtp.c', 156 'srtp/srtp/srtp.c',
157 157
158 'srtp/crypto/cipher/aes.c', 158 'srtp/crypto/cipher/aes.c',
159 'srtp/crypto/cipher/aes_cbc.c', 159 'srtp/crypto/cipher/aes_cbc.c',
160 'srtp/crypto/cipher/aes_icm.c', 160 'srtp/crypto/cipher/aes_icm.c',
161 'srtp/crypto/cipher/cipher.c', 161 'srtp/crypto/cipher/cipher.c',
162 'srtp/crypto/cipher/null_cipher.c', 162 'srtp/crypto/cipher/null_cipher.c',
163 'srtp/crypto/hash/auth.c', 163 'srtp/crypto/hash/auth.c',
164 'srtp/crypto/hash/hmac.c', 164 'srtp/crypto/hash/hmac.c',
165 'srtp/crypto/hash/null_auth.c', 165 'srtp/crypto/hash/null_auth.c',
166 'srtp/crypto/hash/sha1.c', 166 'srtp/crypto/hash/sha1.c',
167 'srtp/crypto/kernel/alloc.c', 167 'srtp/crypto/kernel/alloc.c',
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 'link_settings': { 367 'link_settings': {
368 'libraries': [ 368 'libraries': [
369 '-lsrtp', 369 '-lsrtp',
370 ], 370 ],
371 }, 371 },
372 }, # target libsrtp 372 }, # target libsrtp
373 ], # targets 373 ], # targets
374 }], 374 }],
375 ], 375 ],
376 } 376 }
OLDNEW
« no previous file with comments | « README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698