aboutsummaryrefslogtreecommitdiff
path: root/pw_arduino_build
diff options
context:
space:
mode:
authorWyatt Hepler <hepler@google.com>2020-10-15 10:13:47 -0700
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2020-10-15 18:12:55 +0000
commitd49f8fe3f361432726900a86e3774697da981e80 (patch)
tree3e21c9b80a56dfc02a1e10b3fb7204550d0b81be /pw_arduino_build
parenta0f0ba8bced5b939b86a86f4b8e7b0127f190e5c (diff)
downloadpigweed-d49f8fe3f361432726900a86e3774697da981e80.tar.gz
BUILD.gn files: Improve import formatting
The "# gn-format disable" comments are no longer necessary. Delete these comments and reformat with a Vim macro and gn format. Change-Id: Ia62c40ad73eef91187d0d443d6e3b0fa723e5aa9 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/21380 Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com>
Diffstat (limited to 'pw_arduino_build')
-rw-r--r--pw_arduino_build/BUILD.gn2
-rw-r--r--pw_arduino_build/arduino.gni2
2 files changed, 2 insertions, 2 deletions
diff --git a/pw_arduino_build/BUILD.gn b/pw_arduino_build/BUILD.gn
index 87b3881bc..5556dc590 100644
--- a/pw_arduino_build/BUILD.gn
+++ b/pw_arduino_build/BUILD.gn
@@ -12,13 +12,13 @@
# License for the specific language governing permissions and limitations under
# the License.
-# gn-format disable
import("//build_overrides/pigweed.gni")
import("$dir_pw_arduino_build/arduino.gni")
import("$dir_pw_build/facade.gni")
import("$dir_pw_build/target_types.gni")
import("$dir_pw_docgen/docs.gni")
+
declare_args() {
# Backend for the pw_arduino_init module.
pw_arduino_build_INIT_BACKEND = ""
diff --git a/pw_arduino_build/arduino.gni b/pw_arduino_build/arduino.gni
index 8c89202cd..0fd4c3cdf 100644
--- a/pw_arduino_build/arduino.gni
+++ b/pw_arduino_build/arduino.gni
@@ -12,8 +12,8 @@
# License for the specific language governing permissions and limitations under
# the License.
-# gn-format disable
import("//build_overrides/pigweed.gni")
+
declare_args() {
# Enable/disable Arduino builds via group("arduino").
# Set to the full path of ./third_party/arduino