Skip to content

Commit f6c011b

Browse files
committed
Apply gn format from GN f9eca75ae554
Comment rewrapping and blank lines only.
1 parent d44d28f commit f6c011b

49 files changed

Lines changed: 128 additions & 49 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎engine/src/flutter/BUILD.gn‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ if (is_fuchsia && enable_unittests) {
341341
# we can specify the toolchain to use, too.
342342
if (host_os == "win") {
343343
_gen_snapshot_target = "$dart_src/runtime/bin:gen_snapshot($host_toolchain)"
344+
344345
copy("gen_snapshot") {
345346
deps = [ _gen_snapshot_target ]
346347

‎engine/src/flutter/build/archives/BUILD.gn‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ if (build_engine_artifacts) {
6868
"//flutter/tools/path_ops",
6969
]
7070
if (is_mac) {
71-
# TODO(godofredoc): Remove after paths are standardized flutter/flutter#105351.
72-
# Mac artifacts sometimes use mac and sometimes darwin. Standardizing the
73-
# names will require changes in the list of artifacts the tool is downloading.
71+
# TODO(godofredoc): Remove after paths are standardized
72+
# flutter/flutter#105351. Mac artifacts sometimes use mac and sometimes
73+
# darwin. Standardizing the names will require changes in the list of
74+
# artifacts the tool is downloading.
7475
if (flutter_runtime_mode == "debug") {
7576
prefix = "darwin-$target_cpu"
7677
} else {
@@ -274,7 +275,8 @@ if (build_engine_artifacts && flutter_prebuilt_dart_sdk) {
274275
]
275276
if (is_mac) {
276277
# Mac artifacts sometimes use mac and sometimes darwin. Standardizing the
277-
# names will require changes in the list of artifacts the tool is downloading.
278+
# names will require changes in the list of artifacts the tool is
279+
# downloading.
278280
output = "dart-sdk-darwin-$target_cpu.zip"
279281
files += [
280282
{

‎engine/src/flutter/build/dart/internal/flutter_frontend_server.gni‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ template("flutter_frontend_server") {
7777

7878
if (flutter_prebuilt_dart_sdk) {
7979
common_deps += [ "//flutter/flutter_frontend_server:frontend_server" ]
80+
8081
action(target_name) {
8182
forward_variables_from(invoker,
8283
[

‎engine/src/flutter/build/dart/internal/flutter_snapshot.gni‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ template("flutter_snapshot") {
7171

7272
compiled_action(snapshot_target) {
7373
if (target_cpu == "x86" && host_os == "linux") {
74-
# By default Dart will create a 32-bit gen_snapshot host binary if the target
75-
# platform is 32-bit. Override this to create a 64-bit gen_snapshot for x86
76-
# targets because some host platforms may not support 32-bit binaries.
74+
# By default Dart will create a 32-bit gen_snapshot host binary if the
75+
# target platform is 32-bit. Override this to create a 64-bit gen_snapshot
76+
# for x86 targets because some host platforms may not support 32-bit
77+
# binaries.
7778
tool = "$dart_src/runtime/bin:gen_snapshot_host_targeting_host"
7879
toolchain = "//build/toolchain/$host_os:clang_x64"
7980
} else {

‎engine/src/flutter/build/dart/test/BUILD.gn‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ gen_executable_call("gen_executable_call") {
1616
args = [ "Hello, World!" ]
1717
}
1818

19-
# ninja -C ../out/host_debug flutter/build/dart/test:gen_executable_call_with_cwd
19+
# ninja -C ../out/host_debug
20+
# flutter/build/dart/test:gen_executable_call_with_cwd
2021
# ../out/host_debug/gen/flutter/build/dart/test/gen_executable_call_with_cwd
2122
#
2223
# Expected output: {varies}/flutter/build/dart/test

‎engine/src/flutter/build/esbuild/esbuild.gni‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import("//flutter/common/config.gni")
77
template("esbuild") {
88
assert(defined(invoker.entry_point))
99
assert(defined(invoker.output_bundle))
10+
1011
action(target_name) {
1112
forward_variables_from(invoker, [ "public_deps" ])
1213
if (host_os == "win") {

‎engine/src/flutter/build/secondary/testing/libfuzzer/fuzzer_test.gni‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# implementation from the real (Chromium) fuzzer_test.gni.
77
template("fuzzer_test") {
88
not_needed(invoker, "*")
9+
910
group(target_name) {
1011
}
1112
}

‎engine/src/flutter/impeller/display_list/BUILD.gn‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ template("display_list_unittests_component") {
100100
if (defined(invoker.sources)) {
101101
additional_sources = invoker.sources
102102
}
103+
103104
impeller_component(target_name) {
104105
testonly = true
105106
if (defined(invoker.defines)) {
@@ -180,6 +181,7 @@ template("aiks_unittests_component") {
180181
if (defined(invoker.sources)) {
181182
additional_sources = invoker.sources
182183
}
184+
183185
impeller_component(target_name) {
184186
testonly = true
185187
if (defined(invoker.defines)) {

‎engine/src/flutter/impeller/entity/BUILD.gn‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ impeller_shaders("framebuffer_blend_entity_shaders") {
9999
name = "framebuffer_blend"
100100
require_framebuffer_fetch = true
101101

102-
# malioc does not support analyzing shaders that use the framebuffer fetch extension on some GPUs.
102+
# malioc does not support analyzing shaders that use the framebuffer fetch
103+
# extension on some GPUs.
103104
analyze = false
104105

105106
if (is_mac && !is_ios) {

‎engine/src/flutter/impeller/renderer/BUILD.gn‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ template("renderer_unittests_component") {
119119
if (impeller_enable_compute) {
120120
predefined_sources += [ "compute_unittests.cc" ]
121121
}
122+
122123
impeller_component(target_name) {
123124
testonly = true
124125
if (defined(invoker.defines)) {

0 commit comments

Comments
 (0)