Searched refs:gn (Results 1 – 25 of 81) sorted by relevance
1234
| /developtools/integration_verification/tools/rom_ram_analyzer/lite_small/ |
| D | README.md | 18 1. 扫描BUILD.gn文件,收集各个target的编译产物及其对应的component_name, subsystem_name信息,并存储到config.yaml中的gn_info_file字… 20 3. 用真实的编译产物与从BUILD.gn中收集的信息进行匹配,从而得到编译产物-大小-所属部件的对应信息 21 4. 如果匹配失败,会直接利用grep到项目路径下进行模糊搜索,取出现次数top1的BUILD.gn,并根据该BUILD.gn文件去查找子系统和部件 27 1. 关于NOTFOUND:表示对应的编译产物没有在BUILD.gn的扫描结果中匹配(包括模糊匹配)到 28 1. 本工具是基于gn的template进行匹配,如果新增了自定义的template,则需要相应在代码中进行配置 29 1. 由于本工具是进行的静态扫描,且部分gn文件中使用了较为复杂的gn语法,因此本工具的**准确率无法达到100%,结果仅供参考** 40 因为是静态扫描,因此过于复杂的gn语法会导致扫描BUILD.gn文件时无法确定其编译产物,典型的:在for循环中嵌套target声明.因此就本工具来说,不建议使用过于复杂的gn语法. 55 …name} --oh_path {root_path_of_oh} [-g] [-s] [-b]`运行代码,其中-g表示直接使用上次扫描的BUILD.gn的结果,-s表示直接使用已有的子系统和部件… 57 - gn_info.json:BUILD.gn的分析结果 94 为了提高准确率,本工具是按照gn的template类型对BUILD.gn进行扫描,因此如果BUILD.gn中新增了template,需要在代码层数进行相应的更改.主要是在config.py中配置Pr… [all …]
|
| /developtools/profiler/host/smartperf/trace_streamer/ |
| D | dl_tools.sh | 21 … https://repo.huaweicloud.com/openharmony/compiler/gn/1717/linux/gn-linux-x86-1717.tar.gz --outpu… 22 tar -xvf gn.tar.gz --directory=prebuilts/$gn_path/ 26 …tps://repo.huaweicloud.com/openharmony/compiler/gn/2024/darwin/gn-darwin-x86-20230425.tar.gz --out… 27 tar -xvf gn.tar.gz --directory=prebuilts/$gn_path/ 31 …l https://repo.huaweicloud.com/openharmony/compiler/gn/1744/windows/gn-windows-amd64.zip --output … 32 unzip gn.zip -d prebuilts/$gn_path/
|
| D | pare_third_party.sh | 32 $cp ../prebuilts/patch_sqlite/sqlite3build.gn ../third_party/sqlite/BUILD.gn 40 $cp ../prebuilts/patch_protobuf/protobufbuild.gn ../third_party/protobuf/BUILD.gn 49 $cp ../prebuilts/patch_googletest/googletestbuild.gn ../third_party/googletest/BUILD.gn 70 $cp ../prebuilts/patch_libunwind/libunwindbuild.gn libunwind/BUILD.gn 94 $cp ../prebuilts/patch_hiperf/BUILD.gn ../third_party/hiperf/BUILD.gn
|
| D | build.sh | 27 gn="gn" 34 msys*) gn_path="windows" target_os="windows" gn="gn.exe" ninja="ninja.exe" ;; 54 cp .gn_win .gn 56 cp .gn_unix .gn 99 ./build_operator.sh $is_debug $target $target_os $is_clean $gn_path $gn $ninja $target_operator
|
| D | format-code.sh | 16 gn="gn" 22 msys*) target_os="windows" gn="gn.exe" ;; 42 ./prebuilts/$target_os/gn format $f
|
| D | build_operator.sh | 24 gn="$6" 78 prebuilts/$gn_path/$gn gen out/"$target_dir""$ext"/$subsys_name/$part_name --clean 81 …prebuilts/$gn_path/$gn gen out/"$target_dir""$ext"/$subsys_name/$part_name --args='is_debug='"$is_…
|
| D | .gn_win | 14 buildconfig = "//gn/CONFIG.gn"
|
| D | .gn_unix | 14 buildconfig = "//gn/CONFIG.gn"
|
| D | .gn | 14 buildconfig = "//gn/CONFIG.gn"
|
| /developtools/smartperf_host/trace_streamer/ |
| D | dl_tools.sh | 21 … https://repo.huaweicloud.com/openharmony/compiler/gn/1717/linux/gn-linux-x86-1717.tar.gz --outpu… 22 tar -xvf gn.tar.gz --directory=prebuilts/$gn_path/ 26 …tps://repo.huaweicloud.com/openharmony/compiler/gn/2024/darwin/gn-darwin-x86-20230425.tar.gz --out… 27 tar -xvf gn.tar.gz --directory=prebuilts/$gn_path/ 31 …l https://repo.huaweicloud.com/openharmony/compiler/gn/1744/windows/gn-windows-amd64.zip --output … 32 unzip gn.zip -d prebuilts/$gn_path/
|
| D | pare_third_party.sh | 32 $cp ../prebuilts/patch_sqlite/sqlite3build.gn ../third_party/sqlite/BUILD.gn 40 $cp ../prebuilts/patch_protobuf/protobufbuild.gn ../third_party/protobuf/BUILD.gn 49 $cp ../prebuilts/patch_googletest/googletestbuild.gn ../third_party/googletest/BUILD.gn 70 $cp ../prebuilts/patch_libunwind/libunwindbuild.gn libunwind/BUILD.gn 94 $cp ../prebuilts/patch_hiperf/BUILD.gn ../third_party/hiperf/BUILD.gn 124 …s/patch_bounds_checking_function/bounds_checking_functionbuild.gn bounds_checking_function/BUILD.gn
|
| D | build.sh | 27 gn="gn" 34 msys*) gn_path="windows" target_os="windows" gn="gn.exe" ninja="ninja.exe" ;; 58 cp .gn_win .gn 60 cp .gn_unix .gn 103 ./build_operator.sh $is_debug $target $target_os $is_clean $gn_path $gn $ninja $target_operator
|
| D | format-code.sh | 16 gn="gn" 22 msys*) target_os="windows" gn="gn.exe" ;; 42 ./prebuilts/$target_os/gn format $f
|
| D | build_operator.sh | 25 gn="$6" 79 prebuilts/$gn_path/$gn gen out/"$target_dir""$ext"/$clang_dir/$subsys_name/$part_name --clean 82 …prebuilts/$gn_path/$gn gen out/"$target_dir""$ext"/$clang_dir/$subsys_name/$part_name --args='is_d…
|
| D | .gn_win | 14 buildconfig = "//gn/CONFIG.gn"
|
| D | .gn | 14 buildconfig = "//gn/CONFIG.gn"
|
| D | .gn_unix | 14 buildconfig = "//gn/CONFIG.gn"
|
| /developtools/smartperf_host/trace_streamer/gn/ |
| D | CONFIG.gn | 80 trace_cfg_path = "//gn:trace_cfg" 83 "//gn:symbols", 84 "//gn:default", 88 "//gn:symbols", 89 "//gn:default", 90 "//gn:hiperf_trace_cfg", 97 default_configs -= [ "//gn:symbols" ] 98 default_configs += [ "//gn:release" ] 99 hiperf_default_configs -= [ "//gn:symbols" ] 100 hiperf_default_configs += [ "//gn:release" ] [all …]
|
| /developtools/profiler/host/smartperf/trace_streamer/gn/ |
| D | CONFIG.gn | 81 trace_cfg_path = "//gn:trace_cfg" 84 "//gn:symbols", 85 "//gn:default", 89 "//gn:symbols", 90 "//gn:default", 91 "//gn:hiperf_trace_cfg", 98 default_configs -= [ "//gn:symbols" ] 99 default_configs += [ "//gn:release" ] 100 hiperf_default_configs -= [ "//gn:symbols" ] 101 hiperf_default_configs += [ "//gn:release" ] [all …]
|
| /developtools/profiler/host/smartperf/doc/ |
| D | compile_trace_streamer.md | 6 本工具默认编译方式是使用gn 78 # 3.(linux和ohos平台)使用gn编译TraceStreamer 80 ## 3.1 准备gn 81 在自己的项目中使用gn,必须遵循以下要求: 82 在根目录创建.gn文件,该文件用于指定CONFIG.gn文件的位置; 83 在BUILDCONFIG.gn中指定编译时使用的编译工具链; 84 在独立的gn文件中定义编译使用的工具链; 85 在项目根目录下创建BUILD.gn文件,指定编译的目标。 87 cp prebuilts/gn ./ 89 不同的操作系统下,你需要获取不同的gn [all …]
|
| /developtools/smartperf_host/trace_streamer/sdk/demo_sdk/doc/ |
| D | TraceStreamerSDK.md | 93 1. `最外层BUILD.gn文件中24行修改为需要生成的wasm名称。` 96 2. `sdk/BUILD.gn文件20行名称修改为需要生成的wasm名称。` 99 3. `sdk/BUILD.gn文件163行后wasm_lib和name对应的参数修改为需要生成的wasm名称。` 105 1. `sdk/BUILD.gn文件35行后include_dirs中新增对应的gpu_data目录。` 107 2. `sdk/BUILD.gn文件102行后include_dirs中新增对应的gpu_data目录。` 109 3. `sdk/plugin/BUILD.gn文件中21行include_dirs中新增对应的gpu_data目录` 111 4. `sdk/protos/BUILD.gn文件中17行下面增加gpu_data目录` 114 5. `sdk/protos/BUILD.gn文件中49行sources内增加proto文件生成的pb.cc文件名称(该文件sdk/protos/protogen.sh生成,和proto文件只有后缀…
|
| /developtools/smartperf_host/trace_streamer/prebuilts/patch_hiperf/ |
| D | README.md | 2 …penharmony原生的hiperf,但由于TraceStreamer是独立编译,需要使用独立的BUILD.gn,本目录下的BUILD.gn会用来替换下载的hiperf目录下的BUILD.gn。…
|
| /developtools/profiler/host/smartperf/trace_streamer/prebuilts/patch_hiperf/ |
| D | README.md | 2 …penharmony原生的hiperf,但由于TraceStreamer是独立编译,需要使用独立的BUILD.gn,本目录下的BUILD.gn会用来替换下载的hiperf目录下的BUILD.gn。…
|
| /developtools/profiler/host/smartperf/trace_streamer/src/proto_reader/ |
| D | BUILD.gn | 19 public_configs = [ "../../gn:default_config" ] 22 deps = [ "../../gn:default_deps" ]
|
| /developtools/profiler/device/ |
| D | format-code.sh | 31 find $@ -name '*.gn' -o -name '*.gni' | xargs gn format
|
1234