Commit Graph

12 Commits

Author SHA1 Message Date
Alibek Manabayev
56d71029ed Revert^2 "Add alint hook to Launcher"
1b35f771f7

Change-Id: I3c04abd1f0626b8c7e055706eb6431083dd8845c
2025-04-07 04:40:47 -07:00
Sunny Goyal
1b35f771f7 Revert "Add alint hook to Launcher"
Revert submission 32854119-alint-launcher

Reason for revert: b/408237292

Reverted changes: /q/submissionid:32854119-alint-launcher

Change-Id: Ic7161d66ef3253fa2bb3ea7dc7bf9b27e50f37fc
2025-04-03 11:34:30 -07:00
My Name
9f97bd6d8f Add alint hook to Launcher
Onboarding the repo for local ayeaye checks via alint.
To enable this will require repo sync.

Test: Locally
Flag: NONE, repo hook change
Bug: 407716895
Change-Id: I2e5e55aec026dc7627aab9f79e468445399a1afb
2025-04-02 05:29:15 -07:00
Stefan Andonian
ae799cc4e8 Use Launcher aconfig flag in Resource file.
Use BaseIconRoot as an example. Also add bpfmt file formatting.

Bug: 393609690
Test: Verified compilation worked well and font actually built
successfully in both gradle and make.
Flag: com.android.launcher3.google_sans_flex_font

Change-Id: I2200d13a8d57e5d046a35226f08a751add937ca7
2025-03-12 18:44:05 +00:00
Anushree Ganjam
a75d228e1f Remove flag_check.py, we now have flag directive check in gerrit presubmit.
See b/340896878  & go/flag-format-checker-design-doc & go/flag-directive-checker

Bug: 391534772
Test: Manual
Flag: EXEMPT remove flag check hook
Change-Id: I1291678e29a96bae65b63db5d6750e1b48c4601f
2025-01-28 16:03:04 -08:00
Jordan Demeulenaere
3b7282e08c Use ktfmt.sh wrapper for ktfmt hook
This CL makes the ktfmt hook use the bash wrapper introduced in
ag/I8746885396c7837a2a6b2a42dca780da290ed582 instead of directly
executing the ktfmt.jar, now that gLinux is not able to execute
JAR files directly anymore.

Bug: 342153000
Test: Manual, verified that the ktfmt hook was working
Flag: EXEMPT repo hook
Change-Id: Ib3baec68951bb185e79638b5b3003f8403816b19
2024-06-13 11:20:06 +02:00
Jordan Demeulenaere
8e9da3c79c Replace ktfmt.py hook by built-in hook in Launcher3/
This CL replaces the ktfmt.py hook of this repository by the builtin
ktfmt hook. This will allow to delete our custom hook and provide
features like automatic fixup (see http://screen/5uXuuPgs7oL83c2).

Note that this also means that this CL is upgrading ktfmt from v0.43 to
v0.49, so it is expected to see some minor formatting diffs on existing
files after this CL is submitted.

Bug: 342153000
Test: N/A
Flag: NONE Repohook Update
Change-Id: I66ae0443e6d5c45c771791b4182e610a20675815
2024-05-29 16:36:46 +02:00
Anushree Ganjam
f743e8a75c Add arguments for flag_check.py.
Bug: 306262821
Test: Manual
Flag: NA
Change-Id: I0698fa1a21b116831414e05bda11de6eda4b8d00
2023-10-20 10:09:12 -07:00
hyunyoungs
2a165ae76d Add flag_check.py to the preupload
Bug: 273661677
Test: repo upload .
Flag: not needed, python script for repo hook
Change-Id: Ieb48c7ab59b2dffbbf47e3ee0a45698e9adfda9c
2023-10-12 17:38:33 +00:00
Thales Lima
7a3c1e10a7 Check kotlin format before uploading
This uses ktfmt on the PREUPLOAD hook to check file formatting.

Bug: 264851618
Test: manual
Change-Id: I8bdeabd9c1ed571a464707e6912419ad3190a169
2023-01-09 17:45:42 +00:00
Sunny Goyal
cf7a48b1de Disabling some repo checks for rebolectric files
Change-Id: I025db602f14f7696e7f3165357afbec0cfa8e713
2020-01-09 09:18:41 -08:00
Vinit Nayak
0be5adfac9 Add PREUPLOAD.cfg file to enable repo checkstyle hooks
fixes: 65162750
Change-Id: I42dd2699d1966cf509f475a34e623ce449e87213
2019-08-06 01:31:17 +00:00