| OLD | NEW |
| 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 # This file contains common settings for building WebRTC components. | 9 # This file contains common settings for building WebRTC components. |
| 10 | 10 |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 # Re-enable some warnings that Chromium disables. | 366 # Re-enable some warnings that Chromium disables. |
| 367 'msvs_disabled_warnings!': [4189,], | 367 'msvs_disabled_warnings!': [4189,], |
| 368 }], | 368 }], |
| 369 ['OS=="android"', { | 369 ['OS=="android"', { |
| 370 'defines': [ | 370 'defines': [ |
| 371 'WEBRTC_LINUX', | 371 'WEBRTC_LINUX', |
| 372 'WEBRTC_ANDROID', | 372 'WEBRTC_ANDROID', |
| 373 ], | 373 ], |
| 374 'conditions': [ | 374 'conditions': [ |
| 375 ['clang==0', { | 375 ['clang==0', { |
| 376 # The Android NDK doesn't provide optimized versions of these | |
| 377 # functions. Ensure they are disabled for all compilers. | |
| 378 'cflags': [ | 376 'cflags': [ |
| 377 # The Android NDK doesn't provide optimized versions of these |
| 378 # functions. Ensure they are disabled for all compilers. |
| 379 '-fno-builtin-cos', | 379 '-fno-builtin-cos', |
| 380 '-fno-builtin-sin', | 380 '-fno-builtin-sin', |
| 381 '-fno-builtin-cosf', | 381 '-fno-builtin-cosf', |
| 382 '-fno-builtin-sinf', | 382 '-fno-builtin-sinf', |
| 383 ], | 383 ], |
| 384 'cflags_c': [ |
| 385 # Use C99 mode instead of C89 (default). |
| 386 '-std=c99', |
| 387 ] |
| 384 }], | 388 }], |
| 385 ], | 389 ], |
| 386 }], | 390 }], |
| 387 ['include_internal_audio_device==1', { | 391 ['include_internal_audio_device==1', { |
| 388 'defines': [ | 392 'defines': [ |
| 389 'WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE', | 393 'WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE', |
| 390 ], | 394 ], |
| 391 }], | 395 }], |
| 392 ], # conditions | 396 ], # conditions |
| 393 'direct_dependent_settings': { | 397 'direct_dependent_settings': { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 # of a more specific macro. | 450 # of a more specific macro. |
| 447 'defines': [ | 451 'defines': [ |
| 448 'WEBRTC_POSIX', | 452 'WEBRTC_POSIX', |
| 449 ], | 453 ], |
| 450 }], | 454 }], |
| 451 ], | 455 ], |
| 452 }, | 456 }, |
| 453 }, # target_defaults | 457 }, # target_defaults |
| 454 } | 458 } |
| 455 | 459 |
| OLD | NEW |