-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
to generate source file lines, gyp needs paths relative to the gypfile itself.
i.e. :
'sources': [
'<(V8_ROOT)/base/trace_event/common/trace_event_common.h',
'<(V8_ROOT)/include/libplatform/libplatform-export.h',
'<(V8_ROOT)/include/libplatform/libplatform.h',
'<(V8_ROOT)/include/libplatform/v8-tracing.h',
'<(V8_ROOT)/src/libplatform/default-foreground-task-runner.cc', ....
],
works as long as V8_ROOT is a relative path. If its absolute, the produced make file fails to trigger the compilation of these files:
OBJS := \
$(obj).target/$(TARGET)//home/willi/src/devel/3rdParty/V8/v7.1.302.28/src/libplatform/default-foreground-task-runner.o \
$(obj).target/$(TARGET)//home/willi/src/devel/3rdParty/V8/v7.1.302.28/src/libplatform/default-platform.o \
$(obj).target/$(TARGET)//home/willi/src/devel/3rdParty/V8/v7.1.302.28/src/libplatform/default-worker-threads-task-runner.o \
and make will error out when trying to link these files, that it doesn't know how to create them.
either this behaviour should be fixed, or gyp should error out on absolute files
Metadata
Metadata
Assignees
Labels
No labels