Fix path used in generated prolog class names
Force relative paths by passing the Prolog compiler only a relative name from within $SRCDIR. This avoids picking up the user's $HOME path as part of the generated class file names, and prevents build failures on filesystems where individual path components are limited to 256 bytes. Change-Id: I43f2a93daf857413401f4e1aeb24b9b2a8c741fe
This commit is contained in:
8
gerrit-server/src/main/prolog/BUCK
Normal file
8
gerrit-server/src/main/prolog/BUCK
Normal file
@@ -0,0 +1,8 @@
|
||||
include_defs('//lib/prolog/prolog.defs')
|
||||
|
||||
prolog_cafe_library(
|
||||
name = 'common',
|
||||
srcs = ['gerrit_common.pl'],
|
||||
deps = ['//gerrit-server:server'],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
Reference in New Issue
Block a user