diff mx/mx_graal_makefile.py @ 21916:3df76a0300f3

jvmci.make remove generated source from search path; export compilers into a different directory when jvmci is disabled: jre/lib/<arch>/(server|client)-nojvmci/
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Thu, 11 Jun 2015 11:07:28 +0200
parents 1a6a520af3b5
children 0df6a0cb4b5f
line wrap: on
line diff
--- a/mx/mx_graal_makefile.py	Wed Jun 10 19:27:05 2015 +0200
+++ b/mx/mx_graal_makefile.py	Thu Jun 11 11:07:28 2015 +0200
@@ -109,10 +109,7 @@
     for p in projects:
         projectDir = path_dist_relative(p.dir)
         if p not in distDepProjects and p not in annotationProcessorDeps:
-            generatedSource = [path_dist_relative(p.source_gen_dir())] if len(annotationProcessorDeps) > 0 else []
-
-            for d in p.srcDirs + generatedSource:
-                src = projectDir + os.path.sep + d
+            for src in [projectDir + os.path.sep + d for d in p.srcDirs]:
                 sources.append("$(shell find {} -type f 2> /dev/null)".format(src))
                 metaInf = src + os.path.sep + "META-INF"
                 if os.path.exists(metaInf):