From d63cf71413972904a23b6c2da0627a9e60eecf26 Mon Sep 17 00:00:00 2001 From: "leozwang@webrtc.org" Date: Tue, 8 May 2012 21:33:04 +0000 Subject: [PATCH] Fix broken build because gyp doesn't filter out platform specific file with suffixes of .c BUG= TEST=test on all trybots, failed only on win_rel for weird error. Review URL: https://webrtc-codereview.appspot.com/563009 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2200 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/system_wrappers/source/system_wrappers.gyp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/system_wrappers/source/system_wrappers.gyp b/src/system_wrappers/source/system_wrappers.gyp index 4a1b4fab6f..5e65cb73c7 100644 --- a/src/system_wrappers/source/system_wrappers.gyp +++ b/src/system_wrappers/source/system_wrappers.gyp @@ -57,7 +57,6 @@ 'condition_variable_win.cc', 'condition_variable_win.h', 'cpu.cc', - 'cpu_features_android.c', 'cpu_no_op.cc', 'cpu_info.cc', 'cpu_linux.cc', @@ -166,6 +165,9 @@ 'sources': [ 'android/cpu-features.c', 'android/cpu-features.h', + # TODO(leozwang): Ideally we want to audomatically exclude .c files + # as with .cc files, gyp currently only excludes .cc files. + 'cpu_features_android.c', ], }, ],