Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Issue 1393303003: [iOS][GN] Port ios_web_unittests to build with gn (Closed)

Created:
5 years, 2 months ago by sdefresne
Modified:
5 years, 2 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@ios_third_party_blink
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[iOS][GN] Port ios_web_unittests to build with gn Add template to run a java command as an "script", i.e. templates java_action/java_action_foreach similar to action/action_foreach. Add template to compile a bunch of JavaScript to a bundle and to compile JavaScript files with closure compile (only enable checks that are known to work). Fix gcdwebserver public configuration to add the dependency on libz to libs instead of using ldflags. Add files missing from //ui/base:test_support when building for iOS with gn (they are present in the gyp build). BUG=459705 Committed: https://crrev.com/aa7c1cf96274a0a531629f934bd9091a55439270 Cr-Commit-Position: refs/heads/master@{#355460}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Address comments and factorize the code to run java "scripts" #

Total comments: 5

Patch Set 3 : Fix grammar error and fix build/util/java_action.py on Windows #

Total comments: 2

Patch Set 4 : Checks sys.platform and fix a grammar error in the comment #

Patch Set 5 : TODO fix-it #

Patch Set 6 : TODO fix-it #

Unified diffs Side-by-side diffs Delta from patch set Stats (+880 lines, -5 lines) Patch
M BUILD.gn View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
A build/util/java_action.gni View 1 1 chunk +101 lines, -0 lines 0 comments Download
A build/util/java_action.py View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
M ios/third_party/gcdwebserver/BUILD.gn View 1 chunk +2 lines, -1 line 0 comments Download
A ios/web/BUILD.gn View 1 2 3 4 5 1 chunk +506 lines, -0 lines 0 comments Download
M ios/web/ios_web.gyp View 1 2 3 4 5 9 chunks +9 lines, -2 lines 0 comments Download
M ios/web/ios_web_unittests.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A ios/web/js_compile.gni View 1 2 3 4 1 chunk +171 lines, -0 lines 0 comments Download
M ui/base/BUILD.gn View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
sdefresne
eugenebut: please review as OWNERS dpranke: please review gn files BTW, proof that this works! ...
5 years, 2 months ago (2015-10-08 15:53:58 UTC) #2
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1393303003/diff/1/ios/web/BUILD.gn File ios/web/BUILD.gn (right): https://codereview.chromium.org/1393303003/diff/1/ios/web/BUILD.gn#newcode19 ios/web/BUILD.gn:19: # supports iOS 7.0 so need to use weak ...
5 years, 2 months ago (2015-10-08 16:10:41 UTC) #3
Dirk Pranke
https://codereview.chromium.org/1393303003/diff/1/ios/web/BUILD.gn File ios/web/BUILD.gn (right): https://codereview.chromium.org/1393303003/diff/1/ios/web/BUILD.gn#newcode28 ios/web/BUILD.gn:28: ":core", On 2015/10/08 16:10:41, eugenebut wrote: > Shouldn't "//" ...
5 years, 2 months ago (2015-10-08 17:49:45 UTC) #4
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1393303003/diff/1/ios/web/BUILD.gn File ios/web/BUILD.gn (right): https://codereview.chromium.org/1393303003/diff/1/ios/web/BUILD.gn#newcode28 ios/web/BUILD.gn:28: ":core", On 2015/10/08 17:49:45, Dirk Pranke wrote: > On ...
5 years, 2 months ago (2015-10-08 18:04:11 UTC) #5
Dirk Pranke
https://codereview.chromium.org/1393303003/diff/1/ios/web/BUILD.gn File ios/web/BUILD.gn (right): https://codereview.chromium.org/1393303003/diff/1/ios/web/BUILD.gn#newcode28 ios/web/BUILD.gn:28: ":core", On 2015/10/08 18:04:10, eugenebut wrote: > On 2015/10/08 ...
5 years, 2 months ago (2015-10-08 18:22:29 UTC) #6
sdefresne
Please take another look. https://codereview.chromium.org/1393303003/diff/1/ios/web/BUILD.gn File ios/web/BUILD.gn (right): https://codereview.chromium.org/1393303003/diff/1/ios/web/BUILD.gn#newcode19 ios/web/BUILD.gn:19: # supports iOS 7.0 so ...
5 years, 2 months ago (2015-10-09 13:54:45 UTC) #8
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/1393303003/diff/40001/build/util/java_action.py File build/util/java_action.py (right): https://codereview.chromium.org/1393303003/diff/40001/build/util/java_action.py#newcode28 build/util/java_action.py:28: """Lookup for |command| in PATH. NIT: s/Lookup/Looks up
5 years, 2 months ago (2015-10-09 15:52:36 UTC) #9
Dirk Pranke
https://codereview.chromium.org/1393303003/diff/1/ios/web/BUILD.gn File ios/web/BUILD.gn (right): https://codereview.chromium.org/1393303003/diff/1/ios/web/BUILD.gn#newcode28 ios/web/BUILD.gn:28: ":core", On 2015/10/09 13:54:45, sdefresne (OOO till 19th Oct.) ...
5 years, 2 months ago (2015-10-09 19:27:04 UTC) #10
Dirk Pranke
On 2015/10/09 13:54:45, sdefresne (OOO till 19th Oct.) wrote: > Please take another look. > ...
5 years, 2 months ago (2015-10-09 20:02:59 UTC) #11
Dirk Pranke
lgtm. https://codereview.chromium.org/1393303003/diff/40001/build/util/java_action.py File build/util/java_action.py (right): https://codereview.chromium.org/1393303003/diff/40001/build/util/java_action.py#newcode28 build/util/java_action.py:28: """Lookup for |command| in PATH. On 2015/10/09 15:52:36, ...
5 years, 2 months ago (2015-10-09 20:03:12 UTC) #12
sdefresne
https://codereview.chromium.org/1393303003/diff/40001/build/util/java_action.py File build/util/java_action.py (right): https://codereview.chromium.org/1393303003/diff/40001/build/util/java_action.py#newcode28 build/util/java_action.py:28: """Lookup for |command| in PATH. On 2015/10/09 at 20:03:12, ...
5 years, 2 months ago (2015-10-21 01:29:05 UTC) #13
Dirk Pranke
still lgtm. https://codereview.chromium.org/1393303003/diff/60001/build/util/java_action.py File build/util/java_action.py (right): https://codereview.chromium.org/1393303003/diff/60001/build/util/java_action.py#newcode39 build/util/java_action.py:39: On Windows, this respect the PATHEXT environment ...
5 years, 2 months ago (2015-10-21 19:40:36 UTC) #14
Dirk Pranke
Oh, I didn't answer the question. I would guess otherwise this might work on windows. ...
5 years, 2 months ago (2015-10-21 19:41:19 UTC) #15
sdefresne
droger, can you review ios/third_party/gcdwebserver/BUILD.gn as OWNERS?
5 years, 2 months ago (2015-10-21 23:23:08 UTC) #17
droger
lgtm
5 years, 2 months ago (2015-10-21 23:37:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1393303003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1393303003/100001
5 years, 2 months ago (2015-10-21 23:39:48 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1393303003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1393303003/120001
5 years, 2 months ago (2015-10-21 23:52:16 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 2 months ago (2015-10-22 00:41:18 UTC) #26
commit-bot: I haz the power
5 years, 2 months ago (2015-10-22 00:42:13 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/aa7c1cf96274a0a531629f934bd9091a55439270
Cr-Commit-Position: refs/heads/master@{#355460}

Powered by Google App Engine
This is Rietveld 408576698