Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_langtools
提交
94d4155a
D
dragonwell8_langtools
项目概览
openanolis
/
dragonwell8_langtools
通知
0
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_langtools
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
94d4155a
编写于
9月 18, 2012
作者:
O
ohair
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7197849: Update new build-infra makefiles
Reviewed-by: ihse, erikj, ohrstrom, tbell
上级
a7a0847e
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
10 addition
and
8 deletion
+10
-8
makefiles/Makefile
makefiles/Makefile
+10
-8
未找到文件。
makefiles/Makefile
浏览文件 @
94d4155a
...
...
@@ -34,8 +34,9 @@ include JavaCompilation.gmk
# and the bootstrap javac, to be run by the bootdir jvm.
$(eval
$(call
SetupJavaCompiler,BOOT_JAVAC,\
JAVAC
:=
$(JAVAC)
,
\
FLAGS:
=
-Xprefer
:source
-XDignore
.symbol.file
=
true
-g
,
\
MODE:
=
SINGLE_THREADED_BATCH
))
SERVER_DIR:
=
$(SJAVAC_SERVER_DIR)
,
\
SERVER_JVM:
=
$(SJAVAC_SERVER_JAVA)
,
\
FLAGS:
=
-XDignore
.symbol.file
=
true
-g
-Xlint
:all
$(COMMA)
-deprecation
-Werror
))
# Now setup the compilation of the properties compilation tool. You can depend
# upon $(BUILD_TOOLS) to trigger a compilation of the tools. Note that we
...
...
@@ -43,6 +44,8 @@ $(eval $(call SetupJavaCompiler,BOOT_JAVAC,\
# program needs to be linked and run towards the new javac sources.
$(eval
$(call
SetupJavaCompilation,BUILD_TOOLS,\
SETUP
:=
BOOT_JAVAC,
\
DISABLE_SJAVAC:
=
true
,
\
ADD_JAVAC_FLAGS:
=
-Xprefer
:source,
\
SRC:
=
$(LANGTOOLS_TOPDIR)
/make/tools
$(LANGTOOLS_TOPDIR)
/src/share/classes,
\
INCLUDES:
=
compileproperties genstubs,
\
BIN:
=
$(LANGTOOLS_OUTPUTDIR)
/btclasses
))
...
...
@@ -93,6 +96,7 @@ ifeq ($(PROPS_ARE_CREATED),yes)
# to compile javac again and to build the complete new jdk.
$(eval
$(call
SetupJavaCompilation,BUILD_BOOTSTRAP_LANGTOOLS,\
SETUP
:=
BOOT_JAVAC,
\
DISABLE_SJAVAC:
=
true
,
\
SRC:
=
$(LANGTOOLS_TOPDIR)
/src/share/classes
$(LANGTOOLS_OUTPUTDIR)
/gensrc,
\
EXCLUDES:
=
com/sun/tools/javac/nio,
\
BIN:
=
$(LANGTOOLS_OUTPUTDIR)
/btclasses/bootstrap
))
...
...
@@ -122,7 +126,7 @@ ifeq ($(PROPS_ARE_CREATED),yes)
# exercises the functionality to verify that it works.
TOOL_GENSTUBS_CMD
=
$(JAVA)
\
"-Xbootclasspath/p:
$(LANGTOOLS_OUTPUTDIR)
/dist/bootstrap/lib/javac.jar"
\
-c
p
"
$(LANGTOOLS_OUTPUTDIR)
/dist/bootstrap/lib/javac.jar
$(PATH_SEP)$(LANGTOOLS_OUTPUTDIR)
/btclasses"
\
-c
lasspath
$(LANGTOOLS_OUTPUTDIR)
/btclasses
\
genstubs.GenStubs
# We fetch source from the JDK...
JDKS
=
$(JDK_TOPDIR)
/src/share/classes
...
...
@@ -164,11 +168,9 @@ ifeq ($(PROPS_ARE_CREATED),yes)
JVM
:=
$(JAVA)
,
\
JAVAC:
=
"-Xbootclasspath/p:
$(LANGTOOLS_OUTPUTDIR)
/dist/bootstrap/lib/javac.jar"
\
-jar
$(LANGTOOLS_OUTPUTDIR)
/dist/bootstrap/lib/javac.jar,
\
FLAGS:
=
-Xprefer
:source
-XDignore
.symbol.file
=
true
,
\
SERVER_DIR:
=
$(JAVAC_SERVERS)
,
\
SERVER_JVM:
=
$(SERVER_JAVA)
,
\
MODE:
=
$(JAVAC_USE_MODE)
,
\
USE_DEPS:
=
$(JAVAC_USE_DEPS)
))
FLAGS:
=
-XDignore
.symbol.file
=
true
-Xlint
:all
$(COMMA)
-deprecation
-Werror
,
\
SERVER_DIR:
=
$(SJAVAC_SERVER_DIR)
,
\
SERVER_JVM:
=
$(SJAVAC_SERVER_JAVA)
))
# javax.tools.JavaCompilerTool isn't really a suffix but this gets the file copied.
RESOURCE_SUFFIXES
:=
.gif .xml .css javax.tools.JavaCompilerTool
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录