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

Issue 1723663002: Adds the OCHamcrest library to the iOS build. (Closed)

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

Description

Adds the OCHamcrest library to the iOS build. OCHamcrest is a dependency of the integration testing framework that will be used by iOS code. It is only used for tests (and is marked as so in ios/third_party/ochamcrest/BUILD.gn). The build is a bit involved as OCHamcrest as it mix relative imports "..." with imports of the form <OCHamcrest/...> but the source code is not found in an OCHamcrest directory. So build such a directory structure in <(SHARED_INTERMEDIATE_DIR)/ios/third_party/ochamcrest as part of the build. TBR=dpranke@chromium.org BUG=580730 TEST=None Committed: https://crrev.com/a9045f46f887e536b148ed436851b132d8e1025c Cr-Commit-Position: refs/heads/master@{#376985}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase & add comments & copy files to <(SHARED_INTERMEDIATE_DIR)/ios/third_party/ochamcrest #

Patch Set 3 : Change ios/chrome/tools/build/ios_copy_files.py to use hardlinks if possible #

Unified diffs Side-by-side diffs Delta from patch set Stats (+529 lines, --1 lines) Patch
M .gitignore View 1 1 chunk +1 line, -0 lines 0 comments Download
M BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M DEPS View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ios/DEPS View 1 1 chunk +5 lines, -0 lines 0 comments Download
A ios/chrome/tools/build/ios_copy_files.py View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
M ios/ios.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
A ios/third_party/ochamcrest/BUILD.gn View 1 1 chunk +205 lines, -0 lines 0 comments Download
A ios/third_party/ochamcrest/LICENSE View 1 chunk +13 lines, -0 lines 0 comments Download
A + ios/third_party/ochamcrest/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A ios/third_party/ochamcrest/README.chromium View 1 chunk +12 lines, -0 lines 0 comments Download
A ios/third_party/ochamcrest/ochamcrest.gyp View 1 1 chunk +238 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
rohitrao (ping after 24h)
+others for their opinion We have two possible options for the ochamcrest build. 1) This ...
4 years, 10 months ago (2016-02-23 00:05:36 UTC) #2
sdefresne
On 2016/02/23 at 00:05:36, rohitrao wrote: > +others for their opinion > > We have ...
4 years, 10 months ago (2016-02-23 09:09:00 UTC) #3
blundell
I have no problem with building out of the intermediate dir; it's what we do ...
4 years, 10 months ago (2016-02-23 09:09:04 UTC) #4
rohitrao (ping after 24h)
LGTM i guess Have you verified that no-op builds work properly? Does shutil.copy change timestamps ...
4 years, 10 months ago (2016-02-23 12:24:05 UTC) #5
blundell
On 2016/02/23 12:24:05, rohitrao wrote: > LGTM i guess > > Have you verified that ...
4 years, 10 months ago (2016-02-23 12:34:40 UTC) #6
sdefresne
As blundell@ said, the copy will happen before the target are run, and only if ...
4 years, 10 months ago (2016-02-23 12:58:39 UTC) #7
sdefresne
PTAL
4 years, 10 months ago (2016-02-23 13:42:45 UTC) #9
rohitrao (ping after 24h)
LGTM although I don't totally understand the hard link code.
4 years, 10 months ago (2016-02-23 13:55:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723663002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723663002/40001
4 years, 10 months ago (2016-02-23 13:59:03 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-23 15:22:53 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-23 15:24:04 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a9045f46f887e536b148ed436851b132d8e1025c
Cr-Commit-Position: refs/heads/master@{#376985}

Powered by Google App Engine
This is Rietveld 408576698