0
Commit Graph

11 Commits

Author SHA1 Message Date
Edward Lemur
35bdc0f535 PRESUBMIT.py: Remove uses of EnsureCQIncludeTrybotsAreAdded.
The functionality was moved to cq.cfg in
https://chromium-review.googlesource.com/c/chromium/src/+/1265735

Bug: 881860
Change-Id: I839784ec7babfa095272ab06c4c21c1e57475216
Reviewed-on: https://chromium-review.googlesource.com/c/1266055
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600875}
2018-10-18 19:59:55 +00:00
Eric Foo
ad6195396f Update PRESUBMIT references to ios-simulator-cronet to use new LUCI builder
Bug:731358
Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.android:android_cronet_tester
Change-Id: Ia637891e8b864efceabc527675f1280eb65fe396

TBR=sdefresne@chromium.org

Change-Id: Ia637891e8b864efceabc527675f1280eb65fe396
Reviewed-on: https://chromium-review.googlesource.com/1189162
Commit-Queue: Eric Foo <efoo@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586104}
2018-08-25 01:52:38 +00:00
Sergey Berezin
7303adb5ab [cq] Migrate ios-* builders to LUCI.
TBR=sdefresne@chromium.org, tandrii@chromium.org

Bug: 731542, 731544, 731354, 776178
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I79d65f73e574e11afd9b0b490edf056c0d8c90fd
Reviewed-on: https://chromium-review.googlesource.com/1062967
Reviewed-by: Sergey Berezin <sergeyberezin@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
Commit-Queue: Sergey Berezin <sergeyberezin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#559321}
2018-05-16 22:51:08 +00:00
Gauthier Ambard
7fc07bf6ad Fix PRESUBMIT check for ARC guard
The check is failing because it was written as if the content of the
file returned with f.NewContents() is a string. It is actually a list.
This CL fixes it.

The check never worked.

Bug: 798289
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: Icfd216bbcaee78671878b65ac412b9063bd24509
Reviewed-on: https://chromium-review.googlesource.com/847372
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#526452}
2018-01-02 09:58:03 +00:00
stkhapugin@chromium.org
0066f73c3e Add a presubmit check for ARC compile guards in new .mm files for iOS.
Implements a new presubmit check that verifies that newly created .mm
files have a proper compile guard.

For example:

$ touch ios/asdf.mm
$ git commit -am "asdf" && git cl upload

Running presubmit upload checks ...

** Presubmit ERRORS **
Found new Objective-C implementation file without compile guard. Please use the following compile guard:
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif

ios/asdf.mm


Bug: 762461
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: Ice720c8ddf5db2f11b12e56c0877619d612fa9ef
Reviewed-on: https://chromium-review.googlesource.com/844696
Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#526292}
2017-12-28 10:44:32 +00:00
Louis Romero
5fbe97957c Fix typo
Bug: none
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: Ifc43afb495541b7ed62e9d001d331469d3156caa
Reviewed-on: https://chromium-review.googlesource.com/776694
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Louis Romero <lpromero@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517434}
2017-11-17 17:06:15 +00:00
Menglu Huang
a7e41d218c Add EarlGrey tests tryjobs to all ios changes
Add EarlGrey tests tryjobs to ios changes.  We want to have EG
tests running for at least ios changes to reduce tree breakages.

Since the ios-simulator-full-configs has only 8 builders, iOS CLs might
experience extra landing time due to the tryjob size and limited capacity.

Bug: 782735
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I8c00dbe1963893af19c37d7410e6d57c8d37ab5d
Reviewed-on: https://chromium-review.googlesource.com/759166
Reviewed-by: Rohit Rao (ping after 24h) <rohitrao@chromium.org>
Commit-Queue: Menglu Huang <huangml@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515214}
2017-11-09 18:30:12 +00:00
Misha Efimov
015b1d87ac Add Cronet iOS trybot to all iOS changes.
Bug: 712733
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I3a774cc6680a96849a9ce013fb2943361e0abe91
Reviewed-on: https://chromium-review.googlesource.com/726004
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
Reviewed-by: Eugene But <eugenebut@chromium.org>
Commit-Queue: Misha Efimov <mef@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509821}
2017-10-18 18:49:59 +00:00
Sylvain Defresne
fcda19fd7a [ios] Add a PRESUBMIT check for TODO.
All TODOs in src/ios/ should follow the format TODO(crbug.com/######)
so add a PRESUBMIT.py check (and corresponding unit tests) for that.

BUG=677203

Change-Id: I360ad75c786f292d3a8ada8df519cb451c1c2828
Reviewed-on: https://chromium-review.googlesource.com/538613
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Eugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#482589}
2017-06-27 10:26:23 +00:00
jam
93a6ee79f3 Turn on clang format as an upload step for all the repo.
Discussion at https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/7Zm1Z49TV7U
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Review-Url: https://codereview.chromium.org/2680413002
Cr-Commit-Position: refs/heads/master@{#449148}
2017-02-08 23:59:22 +00:00
sdefresne
b742db2fa3 Enfore "clang-format" for all of src/ios/.
As we're adding more and more code outside of stc/ios/{web,chrome},
add a presubmit check enforcing "clang-format" for all of src/ios/
instead of limiting it to select sub-directories of src/ios/.

BUG=None

Review-Url: https://codereview.chromium.org/2665383002
Cr-Commit-Position: refs/heads/master@{#447541}
2017-02-01 17:03:14 +00:00