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

Side by Side Diff: libsrtp.gyp

Issue 447273002: [MIPS] Add build support for MIPS64 in libsrtp. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libsrtp
Patch Set: Created 6 years, 4 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 ['target_arch=="arm" or target_arch=="armv7" or target_arch=="arm64"', { 50 ['target_arch=="arm" or target_arch=="armv7" or target_arch=="arm64"', {
51 'defines': [ 51 'defines': [
52 # TODO(leozwang): CPU_RISC doesn't work properly on android/arm 52 # TODO(leozwang): CPU_RISC doesn't work properly on android/arm
53 # platform for unknown reasons, need to investigate the root cause 53 # platform for unknown reasons, need to investigate the root cause
54 # of it. CPU_RISC is used for optimization only, and CPU_CISC should 54 # of it. CPU_RISC is used for optimization only, and CPU_CISC should
55 # just work just fine, it has been tested on android/arm with srtp 55 # just work just fine, it has been tested on android/arm with srtp
56 # test applications and libjingle. 56 # test applications and libjingle.
57 'CPU_CISC', 57 'CPU_CISC',
58 ], 58 ],
59 }], 59 }],
60 ['target_arch=="mipsel"', { 60 ['target_arch=="mipsel" or target_arch=="mips64el"', {
61 'defines': [ 61 'defines': [
62 'CPU_RISC', 62 'CPU_RISC',
63 ], 63 ],
64 }], 64 }],
65 ], 65 ],
66 'direct_dependent_settings': { 66 'direct_dependent_settings': {
67 'include_dirs': [ 67 'include_dirs': [
68 './config', 68 './config',
69 'srtp/include', 69 'srtp/include',
70 'srtp/crypto/include', 70 'srtp/crypto/include',
(...skipping 21 matching lines...) Expand all
92 # All Windows architectures are this way. 92 # All Windows architectures are this way.
93 'SIZEOF_UNSIGNED_LONG=4', 93 'SIZEOF_UNSIGNED_LONG=4',
94 'SIZEOF_UNSIGNED_LONG_LONG=8', 94 'SIZEOF_UNSIGNED_LONG_LONG=8',
95 ], 95 ],
96 }], 96 }],
97 ['target_arch=="x64" or target_arch=="ia32"', { 97 ['target_arch=="x64" or target_arch=="ia32"', {
98 'defines': [ 98 'defines': [
99 'CPU_CISC', 99 'CPU_CISC',
100 ], 100 ],
101 }], 101 }],
102 ['target_arch=="mipsel"', { 102 ['target_arch=="mipsel" or target_arch=="mips64el"', {
103 'defines': [ 103 'defines': [
104 'CPU_RISC', 104 'CPU_RISC',
105 ], 105 ],
106 }], 106 }],
107 ], 107 ],
108 }, 108 },
109 }, 109 },
110 'conditions': [ 110 'conditions': [
111 ['use_system_libsrtp==0', { 111 ['use_system_libsrtp==0', {
112 'targets': [ 112 'targets': [
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 'link_settings': { 368 'link_settings': {
369 'libraries': [ 369 'libraries': [
370 '-lsrtp', 370 '-lsrtp',
371 ], 371 ],
372 }, 372 },
373 }, # target libsrtp 373 }, # target libsrtp
374 ], # targets 374 ], # targets
375 }], 375 }],
376 ], 376 ],
377 } 377 }
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