Closed
Bug 1032756
Opened 11 years ago
Closed 11 years ago
Look for zipalign in Android's build tools directory
Categories
(Firefox Build System :: Android Studio and Gradle Integration, defect)
Firefox Build System
Android Studio and Gradle Integration
All
Android
Tracking
(firefox31 fixed, firefox32 fixed, firefox33 fixed)
RESOLVED
FIXED
mozilla33
People
(Reporter: lucasr, Assigned: nalexander)
Details
Attachments
(1 file, 1 obsolete file)
2.21 KB,
patch
|
glandium
:
review+
lucasr
:
feedback+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
I get a build error otherwise.
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
Comment on attachment 8448632 [details] [diff] [review]
Look for zipalign in Android's built tools directory (r=nalexander)
Review of attachment 8448632 [details] [diff] [review]:
-----------------------------------------------------------------
Fixes the build for me.
Attachment #8448632 -
Flags: review?(nalexander)
Comment 3•11 years ago
|
||
Will this break for older SDKs since you no longer look in ANDROID_TOOLS?
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #3)
> Will this break for older SDKs since you no longer look in ANDROID_TOOLS?
No idea, to be honest. Will check.
Assignee | ||
Comment 5•11 years ago
|
||
Google has a history of moving the Android tools around. We don't care
where they are, so let's try to find them anywhere we can.
glandium: I tested by moving zipalign around between the various
directories, killing config.cache, re-running |mach configure|, and
inspecting config.status. All good.
lucasr: can you verify this works for you?
Attachment #8448632 -
Attachment is obsolete: true
Attachment #8448632 -
Flags: review?(nalexander)
Attachment #8449694 -
Flags: review?(mh+mozilla)
Attachment #8449694 -
Flags: feedback?(lucasr.at.mozilla)
Reporter | ||
Comment 6•11 years ago
|
||
Comment on attachment 8449694 [details] [diff] [review]
Look for Android {build-,platform-}tools in all possible locations. r=glandium
Review of attachment 8449694 [details] [diff] [review]:
-----------------------------------------------------------------
Works for me.
Attachment #8449694 -
Flags: feedback?(lucasr.at.mozilla) → feedback+
Comment 7•11 years ago
|
||
Comment on attachment 8449694 [details] [diff] [review]
Look for Android {build-,platform-}tools in all possible locations. r=glandium
Review of attachment 8449694 [details] [diff] [review]:
-----------------------------------------------------------------
::: build/autoconf/android.m4
@@ +387,5 @@
> + MOZ_PATH_PROG(ZIPALIGN, zipalign, :, [$ALL_ANDROID_TOOLS_PATHS])
> + MOZ_PATH_PROG(DX, dx, :, [$ALL_ANDROID_TOOLS_PATHS])
> + MOZ_PATH_PROG(AAPT, aapt, :, [$ALL_ANDROID_TOOLS_PATHS])
> + MOZ_PATH_PROG(AIDL, aidl, :, [$ALL_ANDROID_TOOLS_PATHS])
> + MOZ_PATH_PROG(ADB, adb, :, [$ALL_ANDROID_TOOLS_PATHS])
Seems extreme, but meh.
Attachment #8449694 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Assignee: lucasr.at.mozilla → nalexander
Status: NEW → ASSIGNED
Comment 9•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Comment 10•11 years ago
|
||
Any chance of this change getting pushed to aurora/beta?
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 8449694 [details] [diff] [review]
Look for Android {build-,platform-}tools in all possible locations. r=glandium
Approval Request Comment
[Feature/regressing bug #]: Google. It's always Google.
[User impact if declined]: none.
[Describe test coverage new/current, TBPL]: been on m-c for a while.
[Risks and why]: essentially none. Build time configuration only; shouldn't change a thing in automation.
[String/UUID change made/needed]: none.
Attachment #8449694 -
Flags: approval-mozilla-beta?
Attachment #8449694 -
Flags: approval-mozilla-aurora?
Comment 12•11 years ago
|
||
Comment on attachment 8449694 [details] [diff] [review]
Look for Android {build-,platform-}tools in all possible locations. r=glandium
No risk to the final user. If that can simplify the life of the dev, taking it.
Attachment #8449694 -
Flags: approval-mozilla-beta?
Attachment #8449694 -
Flags: approval-mozilla-beta+
Attachment #8449694 -
Flags: approval-mozilla-aurora?
Attachment #8449694 -
Flags: approval-mozilla-aurora+
Comment 13•11 years ago
|
||
Updated•6 years ago
|
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 33 → mozilla33
You need to log in
before you can comment on or make changes to this bug.
Description
•