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

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

Issue 1419733004: talk: Use NDEBUG macro. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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 | « talk/app/webrtc/objc/public/RTCLogging.h ('k') | talk/media/base/videoframe_unittest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # libjingle 2 # libjingle
3 # Copyright 2012 Google Inc. 3 # Copyright 2012 Google Inc.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are met: 6 # modification, are permitted provided that the following conditions are met:
7 # 7 #
8 # 1. Redistributions of source code must retain the above copyright notice, 8 # 1. Redistributions of source code must retain the above copyright notice,
9 # this list of conditions and the following disclaimer. 9 # this list of conditions and the following disclaimer.
10 # 2. Redistributions in binary form must reproduce the above copyright notice, 10 # 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 ['os_posix==1', { 142 ['os_posix==1', {
143 'configurations': { 143 'configurations': {
144 'Debug_Base': { 144 'Debug_Base': {
145 'defines': [ 145 'defines': [
146 # Chromium's build/common.gypi defines this for all posix _except_ 146 # Chromium's build/common.gypi defines this for all posix _except_
147 # for ios & mac. We want it there as well, e.g. because ASSERT 147 # for ios & mac. We want it there as well, e.g. because ASSERT
148 # and friends trigger off of it. 148 # and friends trigger off of it.
149 '_DEBUG', 149 '_DEBUG',
150 ], 150 ],
151 }, 151 },
152 'Release_Base': {
153 'defines': [
154 'NDEBUG',
Sergey Ulanov 2015/10/22 21:18:05 I don't think you need this. build/common.gypi alr
tfarina 2015/10/22 22:09:28 Removed. I can add it back if needed. I assume tha
Sergey Ulanov 2015/10/22 22:39:58 There is build/common.gypi in webrtc and it define
tfarina 2015/10/22 22:55:22 I don't see one in webrtc/build/common.gypi.
155 ],
156 }
152 }, 157 },
153 'defines': [ 158 'defines': [
154 'HASH_NAMESPACE=__gnu_cxx', 159 'HASH_NAMESPACE=__gnu_cxx',
155 'WEBRTC_POSIX', 160 'WEBRTC_POSIX',
156 'DISABLE_DYNAMIC_CAST', 161 'DISABLE_DYNAMIC_CAST',
157 # The POSIX standard says we have to define this. 162 # The POSIX standard says we have to define this.
158 '_REENTRANT', 163 '_REENTRANT',
159 ], 164 ],
160 }], 165 }],
161 ], 166 ],
162 }, # target_defaults 167 }, # target_defaults
163 } 168 }
OLDNEW
« no previous file with comments | « talk/app/webrtc/objc/public/RTCLogging.h ('k') | talk/media/base/videoframe_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698