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

Side by Side Diff: libsrtp.gyp

Issue 588703002: Revert r292047: Replace compiling flag "-O3" with "-O2" to avoid a compiler bug that caused a crash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libsrtp/
Patch Set: Created 6 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 | 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 }], 48 }],
49 ['target_arch=="arm" or target_arch=="armv7" or target_arch=="arm64"', { 49 ['target_arch=="arm" or target_arch=="armv7" or target_arch=="arm64"', {
50 'defines': [ 50 'defines': [
51 # TODO(leozwang): CPU_RISC doesn't work properly on android/arm 51 # TODO(leozwang): CPU_RISC doesn't work properly on android/arm
52 # platform for unknown reasons, need to investigate the root cause 52 # platform for unknown reasons, need to investigate the root cause
53 # of it. CPU_RISC is used for optimization only, and CPU_CISC should 53 # of it. CPU_RISC is used for optimization only, and CPU_CISC should
54 # just work just fine, it has been tested on android/arm with srtp 54 # just work just fine, it has been tested on android/arm with srtp
55 # test applications and libjingle. 55 # test applications and libjingle.
56 'CPU_CISC', 56 'CPU_CISC',
57 ], 57 ],
58 # TODO(jiayl): There seems to be a bug in the compiler that causes a
59 # crash (crbug/414919) using -O3. Remove this change once the compiler
60 # is fixed.
61 'cflags!': [
62 '-O3',
63 ],
64 'cflags': [
65 '-O2',
66 ],
67 }], 58 }],
68 ['target_arch=="mipsel" or target_arch=="mips64el"', { 59 ['target_arch=="mipsel" or target_arch=="mips64el"', {
69 'defines': [ 60 'defines': [
70 'CPU_RISC', 61 'CPU_RISC',
71 ], 62 ],
72 }], 63 }],
73 ], 64 ],
74 'direct_dependent_settings': { 65 'direct_dependent_settings': {
75 'include_dirs': [ 66 'include_dirs': [
76 './config', 67 './config',
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 'link_settings': { 367 'link_settings': {
377 'libraries': [ 368 'libraries': [
378 '-lsrtp', 369 '-lsrtp',
379 ], 370 ],
380 }, 371 },
381 }, # target libsrtp 372 }, # target libsrtp
382 ], # targets 373 ], # targets
383 }], 374 }],
384 ], 375 ],
385 } 376 }
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