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

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

Issue 1875193002: Fix coverage build. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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 | « 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 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 ], 362 ],
363 }], 363 }],
364 ['mips_dsp_rev==2', { 364 ['mips_dsp_rev==2', {
365 'defines': [ 365 'defines': [
366 'MIPS_DSP_R1_LE', 366 'MIPS_DSP_R1_LE',
367 'MIPS_DSP_R2_LE', 367 'MIPS_DSP_R2_LE',
368 ], 368 ],
369 }], 369 }],
370 ], 370 ],
371 }], 371 }],
372 ['coverage==1 and OS=="linux"', { 372 ['coverage==1 and OS=="linux"', {
kjellander_webrtc 2016/04/11 19:53:08 I think we should add clang==0 here to make it cle
Michael Achenbach 2016/04/12 08:58:34 The cflags are valid for both the clang and the gc
373 'cflags': [ '-ftest-coverage', 373 'cflags': [ '-ftest-coverage',
374 '-fprofile-arcs' ], 374 '-fprofile-arcs' ],
375 'ldflags': [ '--coverage' ],
kjellander_webrtc 2016/04/11 19:53:08 Adding this, which seems to be Clang specific, jus
Michael Achenbach 2016/04/12 08:58:34 This seems to fix the clang case as described e.g.
kjellander_webrtc 2016/04/19 05:31:51 OK. If it needs more work when/if we decide to set
375 'link_settings': { 'libraries': [ '-lgcov' ] }, 376 'link_settings': { 'libraries': [ '-lgcov' ] },
376 }], 377 }],
377 ['os_posix==1', { 378 ['os_posix==1', {
378 # For access to standard POSIXish features, use WEBRTC_POSIX instead of 379 # For access to standard POSIXish features, use WEBRTC_POSIX instead of
379 # a more specific macro. 380 # a more specific macro.
380 'defines': [ 381 'defines': [
381 'WEBRTC_POSIX', 382 'WEBRTC_POSIX',
382 ], 383 ],
383 }], 384 }],
384 ['OS=="ios"', { 385 ['OS=="ios"', {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 # For access to standard POSIXish features, use WEBRTC_POSIX instead 502 # For access to standard POSIXish features, use WEBRTC_POSIX instead
502 # of a more specific macro. 503 # of a more specific macro.
503 'defines': [ 504 'defines': [
504 'WEBRTC_POSIX', 505 'WEBRTC_POSIX',
505 ], 506 ],
506 }], 507 }],
507 ], 508 ],
508 }, 509 },
509 }, # target_defaults 510 }, # target_defaults
510 } 511 }
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