Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8
提交
27760e03
D
dragonwell8
项目概览
openanolis
/
dragonwell8
通知
5
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
27760e03
编写于
1月 04, 2013
作者:
E
erikj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8005654: build-infra: Create sec-bin.zip
Reviewed-by: tbell
上级
656aa167
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
22 addition
and
1 deletion
+22
-1
common/bin/compare.sh
common/bin/compare.sh
+15
-0
common/makefiles/JavaCompilation.gmk
common/makefiles/JavaCompilation.gmk
+7
-1
未找到文件。
common/bin/compare.sh
浏览文件 @
27760e03
...
@@ -1166,6 +1166,15 @@ if [ -z "$OTHER_DOCS" ]; then
...
@@ -1166,6 +1166,15 @@ if [ -z "$OTHER_DOCS" ]; then
echo
"WARNING! Other build doesn't contain docs, skipping doc compare."
echo
"WARNING! Other build doesn't contain docs, skipping doc compare."
fi
fi
if
[
-f
"
$OTHER
/tmp/sec-bin.zip"
]
;
then
OTHER_SEC_BIN
=
"
$OTHER
/tmp/sec-bin.zip"
elif
[
-f
"
$OTHER
/images/sec-bin.zip"
]
;
then
OTHER_SEC_BIN
=
"
$OTHER
/tmp/sec-bin.zip"
else
echo
"WARNING! No sec-bin.zip found in other."
fi
THIS_SEC_BIN
=
"
$THIS
/images/sec-bin.zip"
##########################################################################################
##########################################################################################
# Do the work
# Do the work
...
@@ -1282,6 +1291,12 @@ if [ "$CMP_ZIPS" = "true" ]; then
...
@@ -1282,6 +1291,12 @@ if [ "$CMP_ZIPS" = "true" ]; then
if
[
-n
"
$THIS_J2SDK
"
]
&&
[
-n
"
$OTHER_J2SDK
"
]
;
then
if
[
-n
"
$THIS_J2SDK
"
]
&&
[
-n
"
$OTHER_J2SDK
"
]
;
then
compare_all_zip_files
$THIS_J2SDK
$OTHER_J2SDK
$COMPARE_ROOT
/j2sdk
compare_all_zip_files
$THIS_J2SDK
$OTHER_J2SDK
$COMPARE_ROOT
/j2sdk
fi
fi
if
[
-n
"
$THIS_SEC_BIN
"
]
&&
[
-n
"
$OTHER_SEC_BIN
"
]
;
then
if
[
-n
"
$(
echo
$THIS_SEC_BIN
|
$FILTER
)
"
]
;
then
echo
"sec-bin.zip..."
compare_zip_file
$(
dirname
$THIS_SEC_BIN
)
$(
dirname
$OTHER_SEC_BIN
)
$COMPARE_ROOT
/sec-bin sec-bin.zip
fi
fi
fi
fi
if
[
"
$CMP_JARS
"
=
"true"
]
;
then
if
[
"
$CMP_JARS
"
=
"true"
]
;
then
...
...
common/makefiles/JavaCompilation.gmk
浏览文件 @
27760e03
...
@@ -250,7 +250,7 @@ endef
...
@@ -250,7 +250,7 @@ endef
define SetupZipArchive
define SetupZipArchive
# param 1 is for example ZIP_MYSOURCE
# param 1 is for example ZIP_MYSOURCE
# param 2,3,4,5,6,7,8,9 are named args.
# param 2,3,4,5,6,7,8,9 are named args.
# SRC,ZIP,INCLUDES,EXCLUDES,EXCLUDE_FILES,SUFFIXES,EXTRA_DEPS
# SRC,ZIP,INCLUDES,
INCLUDE_FILES,
EXCLUDES,EXCLUDE_FILES,SUFFIXES,EXTRA_DEPS
$(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $($i),$1_$(strip $($i)))$(NEWLINE))
$(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $($i),$1_$(strip $($i)))$(NEWLINE))
$(call LogSetupMacroEntry,SetupZipArchive($1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15))
$(call LogSetupMacroEntry,SetupZipArchive($1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15))
$(if $(16),$(error Internal makefile error: Too many arguments to SetupZipArchive, please update JavaCompilation.gmk))
$(if $(16),$(error Internal makefile error: Too many arguments to SetupZipArchive, please update JavaCompilation.gmk))
...
@@ -267,6 +267,12 @@ define SetupZipArchive
...
@@ -267,6 +267,12 @@ define SetupZipArchive
else
else
$1_ZIP_INCLUDES := $$(addprefix -i$(SPACE)$(DQUOTE),$$(addsuffix /*$(DQUOTE),$$($1_INCLUDES)))
$1_ZIP_INCLUDES := $$(addprefix -i$(SPACE)$(DQUOTE),$$(addsuffix /*$(DQUOTE),$$($1_INCLUDES)))
endif
endif
endif
ifneq ($$($1_INCLUDE_FILES),)
$1_SRC_INCLUDES += $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$($1_INCLUDE_FILES)))
$1_ZIP_INCLUDES += $$(addprefix -i$(SPACE),$$($1_INCLUDE_FILES))
endif
ifneq ($$($1_SRC_INCLUDES),)
$1_ALL_SRCS := $$(filter $$($1_SRC_INCLUDES),$$($1_ALL_SRCS))
$1_ALL_SRCS := $$(filter $$($1_SRC_INCLUDES),$$($1_ALL_SRCS))
endif
endif
ifneq ($$($1_EXCLUDES),)
ifneq ($$($1_EXCLUDES),)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录