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

Issue 2174373002: [iOS] Fix build always considered dirty. (Closed)

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

Description

[iOS] Fix build always considered dirty. Fix build when dSYM generation is enabled and output is a thin binary by correctly informing gn and ninja of the location where the .dSYM file is generated. When defining "dsym_switch" in the toolchain definition, the value of root_out_dir is not yet known (it is only known later when we know if the toolchain is the default toolchain or not), so use {{root_out_dir}} to lazily perform the expansion when the information is known. When determining whether dSYM generation is enabled in the toolchain definition, look at "toochain_os" instead of "is_ios" as "is_ios" is defined based on target_os (i.e. is incorrect in the toolchain). Use output_dir/output_name instead of using rebase_path() to generate an output name containing directory information because 1. this is a hack that output_dir was introduced to fix, 2. link tool and ninja do not agree about the location of the .dSYM file. BUG=630901 Committed: https://crrev.com/92754a40e7bd74f5a4b3437d33fa4d90068c01d2 Cr-Commit-Position: refs/heads/master@{#407737}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -17 lines) Patch
M build/config/ios/rules.gni View 8 chunks +10 lines, -15 lines 0 comments Download
M build/toolchain/mac/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (8 generated)
sdefresne
Dirk: can you take a look? Justin: FYI, thank you for the report
4 years, 5 months ago (2016-07-25 15:38:43 UTC) #5
Dirk Pranke
lgtm
4 years, 5 months ago (2016-07-25 21:05:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2174373002/1
4 years, 4 months ago (2016-07-26 08:44:41 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-07-26 08:47:25 UTC) #11
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 08:49:28 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/92754a40e7bd74f5a4b3437d33fa4d90068c01d2
Cr-Commit-Position: refs/heads/master@{#407737}

Powered by Google App Engine
This is Rietveld 408576698