Bug 1219228 - Generate correct source path of cpu-features.c. r=glandium

This commit is contained in:
Makoto Kato 2015-10-30 12:23:42 +09:00
parent 69c8a55480
commit e5902f9e56
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ if CONFIG['OS_TARGET'] == 'Android':
if not CONFIG['MOZ_WEBRTC']:
SOURCES += [
'%s/sources/android/cpufeatures/cpu-features.c' % CONFIG['ANDROID_NDK'],
'%%%s/sources/android/cpufeatures/cpu-features.c' % CONFIG['ANDROID_NDK'],
]
if CONFIG['CLANG_CL'] or not CONFIG['_MSC_VER']:

View File

@ -761,7 +761,7 @@ class TreeMetadataEmitter(LoggingMixin):
if isinstance(f, SourcePath):
srcs.append(full_path)
else:
assert isinstance(f, ObjDirPath)
assert isinstance(f, Path)
gen_srcs.append(full_path)
if symbol == 'SOURCES':
flags = context_srcs[f]