2 Star 0 Fork 2

PersonalSummary / gn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

GN基础语法介绍

目录

一、概述

​ 本文档主要介绍OpenHarmony编译常用的gn工具语法介绍

二、GN命令列表

2.1 gn help analyze

2.2 gn help args

2.3 gn help check

2.4 gn help clean

2.5 gn help desc

2.6 gn help format

2.7 gn help gen

2.8 gn help help

2.9 gn help ls

2.10 gn help meta

2.11 gn help path

2.12 gn help refs

2.13 gn help action

2.14 gn help action_foreach

2.15 gn help bundle_data

2.16 gn help copy

2.17 gn help create_bundle

2.18 gn help executable

2.19 gn help generated_file

2.20 gn help group

2.21 gn help loadable_module

2.22 gn help rust_library

2.23 gn help rust_proc_macro

2.24 gn help shared_library

2.25 gn help source_set

2.26 gn help static_library

2.27 gn help target

2.28 gn help assert

2.29 gn help config

2.30 gn help declare_args

2.31 gn help defined

2.32 gn help exec_script

2.33 gn help foreach

2.34 gn help forward_variables_from

2.35 gn help get_label_info

2.36 gn help get_path_info

2.37 gn help get_target_outputs

2.38 gn help getenv

2.39 gn help import

2.40 gn help not_needed

2.41 gn help pool

2.42 gn help print

2.43 gn help process_file_template

2.44 gn help read_file

2.45 gn help rebase_path

2.46 gn help set_default_toolchain

2.47 gn help set_defaults

2.48 gn help set_sources_assignment_filter

2.49 gn help split_list

2.50 gn help string_join

2.51 gn help string_replace

2.52 gn help string_split

2.53 gn help template

2.54 gn help tool

2.55 gn help toolchain

2.56 gn help write_file

2.57 gn help current_cpu

2.58 gn help current_os

2.59 gn help current_toolchain

2.60 gn help default_toolchain

2.61 gn help gn_version

2.62 gn help host_cpu

2.63 gn help host_os

2.64 gn help invoker

2.65 gn help python_path

2.66 gn help root_build_dir

2.67 gn help root_gen_dir

2.68 gn help root_out_dir

2.69 gn help target_cpu

2.70 gn help target_gen_dir

2.71 gn help target_name

2.72 gn help target_os

2.73 gn help target_out_dir

2.74 gn help aliased_deps

2.75 gn help all_dependent_configs

2.76 gn help allow_circular_includes_from

2.77 gn help arflags

2.78 gn help args

2.79 gn help asmflags

2.80 gn help assert_no_deps

2.81 gn help bundle_contents_dir

2.82 gn help bundle_deps_filter

2.83 gn help bundle_executable_dir

2.84 gn help bundle_resources_dir

2.85 gn help bundle_root_dir

2.86 gn help cflags

2.87 gn help cflags_c

2.88 gn help cflags_cc

2.89 gn help cflags_objc

2.90 gn help cflags_objcc

2.91 gn help check_includes

2.92 gn help code_signing_args

2.93 gn help code_signing_outputs

2.94 gn help code_signing_script

2.95 gn help code_signing_sources

2.96 gn help complete_static_lib

2.97 gn help configs

2.98 gn help contents

2.99 gn help crate_name

2.100 gn help crate_root

2.101 gn help crate_type

2.102 gn help data

2.103 gn help data_deps

2.104 gn help data_keys

2.105 gn help defines

2.106 gn help depfile

2.107 gn help deps

2.108 gn help externs

2.109 gn help framework_dirs

2.110 gn help frameworks

2.111 gn help friend

2.112 gn help include_dirs

2.113 gn help inputs

2.114 gn help ldflags

2.115 gn help lib_dirs

2.116 gn help libs

2.117 gn help metadata

2.118 gn help output_conversion

2.119 gn help output_dir

2.120 gn help output_extension

2.121 gn help output_name

2.122 gn help output_prefix_override

2.123 gn help outputs

2.124 gn help partial_info_plist

2.125 gn help pool

2.126 gn help precompiled_header

2.127 gn help precompiled_header_type

2.128 gn help precompiled_source

2.129 gn help product_type

2.130 gn help public

2.131 gn help public_configs

2.132 gn help public_deps

2.133 gn help rebase

2.134 gn help response_file_contents

2.135 gn help script

2.136 gn help sources

2.137 gn help testonly

2.138 gn help visibility

2.139 gn help walk_keys

2.140 gn help write_runtime_deps

2.141 gn help xcode_extra_attributes

2.142 gn help xcode_test_application_name

2.143 gn help all

2.144 gn help buildargs

2.145 gn help dotfile

2.146 gn help execution

2.147 gn help grammar

2.148 gn help label_pattern

2.149 gn help labels

2.150 gn help metadata_collection

2.151 gn help ninja_rules

2.152 gn help nogncheck

2.153 gn help output_conversion

2.154 gn help runtime_deps

2.155 gn help source_expansion

空文件

简介

gn的语法翻译,个人使用 展开 收起
Shell
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/personal-summary/gn.git
git@gitee.com:personal-summary/gn.git
personal-summary
gn
gn
master

搜索帮助