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

Side by Side Diff: webrtc/build/common.gypi

Issue 1343263004: Revert "Android: Enable C99 mode instead of C89 (default)." (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 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 | « webrtc/BUILD.gn ('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 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
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.
376 'cflags': [ 378 '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 ]
388 }], 384 }],
389 ], 385 ],
390 }], 386 }],
391 ['include_internal_audio_device==1', { 387 ['include_internal_audio_device==1', {
392 'defines': [ 388 'defines': [
393 'WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE', 389 'WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE',
394 ], 390 ],
395 }], 391 }],
396 ], # conditions 392 ], # conditions
397 'direct_dependent_settings': { 393 'direct_dependent_settings': {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 # of a more specific macro. 446 # of a more specific macro.
451 'defines': [ 447 'defines': [
452 'WEBRTC_POSIX', 448 'WEBRTC_POSIX',
453 ], 449 ],
454 }], 450 }],
455 ], 451 ],
456 }, 452 },
457 }, # target_defaults 453 }, # target_defaults
458 } 454 }
459 455
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698