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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 Loading... | |
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 } |
OLD | NEW |