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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |