Skip to content

Commit

Permalink
Bug 1336329 - Pass clang value from mozbuild to gyp. r=jesup
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: Kjp3R1TUelS
  • Loading branch information
jbeich committed Feb 3, 2017
1 parent 0b6feb1 commit a90a87f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions build/gyp.mozbuild
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ gyp_vars.update({
'include_pulse_audio': 1 if CONFIG['MOZ_PULSEAUDIO'] else 0,
# basic stuff for everything
'include_internal_video_render': 0,
'clang': 1 if CONFIG['CLANG_CXX'] else 0,
'clang_use_chrome_plugins': 0,
'enable_protobuf': 0,
'include_tests': 0,
Expand Down
10 changes: 0 additions & 10 deletions media/webrtc/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@ if CONFIG['MOZ_WEBRTC_SIGNALING']:

GYP_DIRS['signaling'].non_unified_sources += signaling_non_unified_sources

# We can't enable warnings-as-errors for clang on Linux because of
# some warnings in clang static analysis and ASan builds on Linux.
if CONFIG['CLANG_CXX'] and CONFIG['OS_ARCH'] == 'Linux':
GYP_DIRS['signaling'].sandbox_vars['ALLOW_COMPILER_WARNINGS'] = True

if CONFIG['_MSC_VER']:
# Avoid warnings from third-party code that we can not modify.
if CONFIG['CLANG_CL']:
Expand Down Expand Up @@ -129,10 +124,5 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':

GYP_DIRS['signalingtest'].non_unified_sources += signaling_non_unified_sources

# We can't enable warnings-as-errors for clang on Linux because of
# some warnings in clang static analysis and ASan builds on Linux.
if CONFIG['CLANG_CXX'] and CONFIG['OS_ARCH'] == 'Linux':
GYP_DIRS['signalingtest'].sandbox_vars['ALLOW_COMPILER_WARNINGS'] = True

if CONFIG['ENABLE_TESTS']:
DIRS += ['signaling/fuzztest']

0 comments on commit a90a87f

Please sign in to comment.