Chromium Code Reviews| 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 'target_defaults': { | 6 'target_defaults': { |
| 7 'defines': [ | 7 'defines': [ |
| 8 'HAVE_STDLIB_H', | 8 'HAVE_STDLIB_H', |
| 9 'HAVE_STRING_H', | 9 'HAVE_STRING_H', |
| 10 ], | 10 ], |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 22 ], | 22 ], |
| 23 }], | 23 }], |
| 24 ['target_arch=="ia32"', { | 24 ['target_arch=="ia32"', { |
| 25 'defines': [ | 25 'defines': [ |
| 26 'CPU_CISC', | 26 'CPU_CISC', |
| 27 'SIZEOF_UNSIGNED_LONG=4', | 27 'SIZEOF_UNSIGNED_LONG=4', |
| 28 'SIZEOF_UNSIGNED_LONG_LONG=8', | 28 'SIZEOF_UNSIGNED_LONG_LONG=8', |
| 29 ], | 29 ], |
| 30 }], | 30 }], |
| 31 ['target_arch=="arm"', { | 31 ['target_arch=="arm"', { |
| 32 'defines': [ | 32 'conditions': [ |
| 33 'CPU_RISC', | 33 ['OS!="android"', { |
| 34 'SIZEOF_UNSIGNED_LONG=4', | 34 'defines': [ |
| 35 'SIZEOF_UNSIGNED_LONG_LONG=8', | 35 'CPU_RISC', |
| 36 'SIZEOF_UNSIGNED_LONG=4', | |
| 37 'SIZEOF_UNSIGNED_LONG_LONG=8', | |
| 38 ], | |
| 39 }], | |
| 40 ['OS=="android"', { | |
| 41 'defines': [ | |
| 42 'CPU_CISC', | |
|
Sergey Ulanov
2012/04/02 18:44:36
This seems wrong to me. ARM is always RISC archite
leozwang
2012/04/02 21:14:57
It seemed not a right flag to me at the beginning.
Sergey Ulanov
2012/04/02 23:36:23
As far as I understand libsrtp uses that to differ
| |
| 43 'DEV_URANDOM="/dev/urandom"', | |
| 44 'HAVE_ARPA_INET_H', | |
|
Sergey Ulanov
2012/04/02 18:44:36
Do we need to have all these defines? Many of them
leozwang
2012/04/02 21:14:57
I was also debating about if I should keep this lo
Sergey Ulanov
2012/04/02 23:36:23
I don't think any of these can cause any problems
| |
| 45 'HAVE_BYTESWAP_H', | |
| 46 'HAVE_INET_ATON', | |
| 47 'HAVE_INT16_T', | |
| 48 'HAVE_INT32_T', | |
| 49 'HAVE_INT8_T', | |
| 50 'HAVE_INTTYPES_H', | |
| 51 'HAVE_MEMORY_H', | |
| 52 'HAVE_NETINET_IN_H', | |
| 53 'HAVE_SOCKET', | |
| 54 'HAVE_STDINT_H', | |
| 55 'HAVE_STDLIB_H', | |
| 56 'HAVE_STRINGS_H', | |
| 57 'HAVE_STRING_H', | |
| 58 'HAVE_SYSLOG_H', | |
| 59 'HAVE_SYS_SOCKET_H', | |
| 60 'HAVE_SYS_STAT_H', | |
| 61 'HAVE_SYS_TYPES_H', | |
| 62 'HAVE_SYS_UIO_H', | |
| 63 'HAVE_UINT16_T', | |
| 64 'HAVE_UINT32_T', | |
| 65 'HAVE_UINT64_T', | |
| 66 'HAVE_UINT8_T', | |
| 67 'HAVE_UNISTD_H', | |
| 68 'HAVE_USLEEP', | |
| 69 'PACKAGE_BUGREPORT=""', | |
| 70 'PACKAGE_NAME=""', | |
| 71 'PACKAGE_STRING=""', | |
| 72 'PACKAGE_TARNAME=""', | |
| 73 'PACKAGE_VERSION=""', | |
| 74 'STDC_HEADERS=1', | |
| 75 ], | |
| 76 }], | |
| 36 ], | 77 ], |
| 37 }], | 78 }], |
| 38 ['OS!="win"', { | 79 ['OS!="win"', { |
| 39 'defines': [ | 80 'defines': [ |
| 40 'HAVE_STDINT_H', | 81 'HAVE_STDINT_H', |
| 41 'HAVE_INTTYPES_H', | 82 'HAVE_INTTYPES_H', |
| 42 'HAVE_NETINET_IN_H', | 83 'HAVE_NETINET_IN_H', |
| 43 ], | 84 ], |
| 44 }], | 85 }], |
| 45 ['OS=="win"', { | 86 ['OS=="win"', { |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 64 ], | 105 ], |
| 65 }], | 106 }], |
| 66 ['target_arch=="ia32"', { | 107 ['target_arch=="ia32"', { |
| 67 'defines': [ | 108 'defines': [ |
| 68 'CPU_CISC', | 109 'CPU_CISC', |
| 69 'SIZEOF_UNSIGNED_LONG=4', | 110 'SIZEOF_UNSIGNED_LONG=4', |
| 70 'SIZEOF_UNSIGNED_LONG_LONG=8', | 111 'SIZEOF_UNSIGNED_LONG_LONG=8', |
| 71 ], | 112 ], |
| 72 }], | 113 }], |
| 73 ['target_arch=="arm"', { | 114 ['target_arch=="arm"', { |
| 74 'defines': [ | 115 'conditions': [ |
| 75 'CPU_RISC', | 116 ['OS!="android"', { |
| 76 'SIZEOF_UNSIGNED_LONG=4', | 117 'defines': [ |
| 77 'SIZEOF_UNSIGNED_LONG_LONG=8', | 118 'CPU_RISC', |
| 119 'SIZEOF_UNSIGNED_LONG=4', | |
| 120 'SIZEOF_UNSIGNED_LONG_LONG=8', | |
| 121 ], | |
| 122 }], | |
| 123 ['OS=="android"', { | |
| 124 'defines': [ | |
| 125 'CPU_CISC', | |
| 126 'DEV_URANDOM="/dev/urandom"', | |
| 127 'HAVE_ARPA_INET_H', | |
| 128 'HAVE_BYTESWAP_H', | |
| 129 'HAVE_INET_ATON', | |
| 130 'HAVE_INT16_T', | |
| 131 'HAVE_INT32_T', | |
| 132 'HAVE_INT8_T', | |
| 133 'HAVE_INTTYPES_H', | |
| 134 'HAVE_MEMORY_H', | |
| 135 'HAVE_NETINET_IN_H', | |
| 136 'HAVE_SOCKET', | |
| 137 'HAVE_STDINT_H', | |
| 138 'HAVE_STDLIB_H', | |
| 139 'HAVE_STRINGS_H', | |
| 140 'HAVE_STRING_H', | |
| 141 'HAVE_SYSLOG_H', | |
| 142 'HAVE_SYS_SOCKET_H', | |
| 143 'HAVE_SYS_STAT_H', | |
| 144 'HAVE_SYS_TYPES_H', | |
| 145 'HAVE_SYS_UIO_H', | |
| 146 'HAVE_UINT16_T', | |
| 147 'HAVE_UINT32_T', | |
| 148 'HAVE_UINT64_T', | |
| 149 'HAVE_UINT8_T', | |
| 150 'HAVE_UNISTD_H', | |
| 151 'HAVE_USLEEP', | |
| 152 'PACKAGE_BUGREPORT=""', | |
| 153 'PACKAGE_NAME=""', | |
| 154 'PACKAGE_STRING=""', | |
| 155 'PACKAGE_TARNAME=""', | |
| 156 'PACKAGE_VERSION=""', | |
| 157 'STDC_HEADERS=1', | |
| 158 ], | |
| 159 }], | |
| 78 ], | 160 ], |
| 79 }], | 161 }], |
| 80 ['OS!="win"', { | 162 ['OS!="win"', { |
| 81 'defines': [ | 163 'defines': [ |
| 82 'HAVE_STDINT_H', | 164 'HAVE_STDINT_H', |
| 83 'HAVE_INTTYPES_H', | 165 'HAVE_INTTYPES_H', |
| 84 'HAVE_NETINET_IN_H', | 166 'HAVE_NETINET_IN_H', |
| 85 ], | 167 ], |
| 86 }], | 168 }], |
| 87 ['OS=="win"', { | 169 ['OS=="win"', { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 165 ], | 247 ], |
| 166 }, | 248 }, |
| 167 ], # targets | 249 ], # targets |
| 168 } | 250 } |
| 169 | 251 |
| 170 # Local Variables: | 252 # Local Variables: |
| 171 # tab-width:2 | 253 # tab-width:2 |
| 172 # indent-tabs-mode:nil | 254 # indent-tabs-mode:nil |
| 173 # End: | 255 # End: |
| 174 # vim: set expandtab tabstop=2 shiftwidth=2: | 256 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |