2 Star 0 Fork 0

chromium_develop/chromium_tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD.gn 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
李想 提交于 2022-08-16 16:29 +08:00 . chromium origin init
# Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/compute_inputs_for_analyze.gni")
import("//tools/grit/grit_rule.gni")
action("default_resource_ids") {
script = "//tools/grit/grit.py"
inputs = [ "resource_ids.spec" ]
outputs = [ grit_resource_id_file ]
deps = [ "//tools/grit:grit_sources" ]
depfile = "$target_gen_dir/$target_name.d"
_rebased_input = rebase_path(inputs[0], root_build_dir)
args = [
"update_resource_ids",
"-o",
rebase_path(grit_resource_id_file, root_build_dir),
"--add-header",
"--depfile",
rebase_path(depfile, root_build_dir),
_rebased_input,
]
if (compute_inputs_for_analyze) {
_depfile_inputs = exec_script(script,
[
"update_resource_ids",
"--analyze-inputs",
_rebased_input,
],
"list lines")
inputs += rebase_path(_depfile_inputs, ".", root_build_dir)
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chromium_develop/chromium_tools.git
git@gitee.com:chromium_develop/chromium_tools.git
chromium_develop
chromium_tools
chromium_tools
master

搜索帮助