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

Issue 1413693009: [mac] Fix cross-compilation for Android from a Mac

Created:
5 years, 1 month ago by chris.a.williams
Modified:
5 years, 1 month ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[mac] Fix cross-compilation for Android from a Mac Also, fix markdown so lists appear properly in generated HTML at https://chromium.googlesource.com/v8/v8/+/master/docs/ I had to duplicate some logic for finding Android cross-compile binaries in the Makefile.android since we can't override AR path from gyp. BUG= TEST=Run make android_arm.release from a Mac

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -6 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M Makefile.android View 2 chunks +10 lines, -0 lines 1 comment Download
M build/standalone.gypi View 3 chunks +20 lines, -6 lines 3 comments Download
M docs/building_with_gyp.md View 3 chunks +6 lines, -0 lines 0 comments Download
M docs/d8_on_android.md View 1 chunk +1 line, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 6 chunks +6 lines, -0 lines 1 comment Download

Messages

Total messages: 16 (5 generated)
Michael Achenbach
https://codereview.chromium.org/1413693009/diff/1/Makefile.android File Makefile.android (right): https://codereview.chromium.org/1413693009/diff/1/Makefile.android#newcode38 Makefile.android:38: HOST_OS = $(shell uname -s | sed -e 's/Linux/linux/;s/Darwin/darwin/') ...
5 years, 1 month ago (2015-10-26 20:00:34 UTC) #3
chris.a.williams
On 2015/10/26 20:00:34, Michael Achenbach wrote: > https://codereview.chromium.org/1413693009/diff/1/Makefile.android > File Makefile.android (right): > > https://codereview.chromium.org/1413693009/diff/1/Makefile.android#newcode38 ...
5 years, 1 month ago (2015-10-26 20:45:09 UTC) #4
Michael Achenbach
We still use make locally a lot while the continuous bots use ninja. https://codereview.chromium.org/1413693009/diff/1/build/standalone.gypi File ...
5 years, 1 month ago (2015-10-27 14:47:54 UTC) #5
Jakob Kummerow
DBC. https://codereview.chromium.org/1413693009/diff/1/tools/gyp/v8.gyp File tools/gyp/v8.gyp (right): https://codereview.chromium.org/1413693009/diff/1/tools/gyp/v8.gyp#newcode149 tools/gyp/v8.gyp:149: 'standalone_static_library': 1, I don't think we want non-thin ...
5 years, 1 month ago (2015-10-27 16:53:35 UTC) #6
chris.a.williams
On 2015/10/27 14:47:54, Michael Achenbach (OOO) wrote: > We still use make locally a lot ...
5 years, 1 month ago (2015-10-27 17:00:13 UTC) #7
chris.a.williams
On 2015/10/27 16:53:35, Jakob wrote: > DBC. > > https://codereview.chromium.org/1413693009/diff/1/tools/gyp/v8.gyp > File tools/gyp/v8.gyp (right): > ...
5 years, 1 month ago (2015-10-27 17:02:05 UTC) #8
Michael Achenbach
Changes to standalone.gypi - ok if they pass CQ. Changes to Makefile.android - only used ...
5 years, 1 month ago (2015-10-30 11:42:17 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413693009/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413693009/1
5 years, 1 month ago (2015-10-30 11:42:51 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_android_arm_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/9389)
5 years, 1 month ago (2015-10-30 11:47:22 UTC) #14
Jakob Kummerow
On 2015/10/27 17:02:05, chris.a.williams wrote: > On 2015/10/27 16:53:35, Jakob wrote: > > DBC. > ...
5 years, 1 month ago (2015-10-30 11:51:08 UTC) #15
Jakob Kummerow
5 years, 1 month ago (2015-10-30 11:57:25 UTC) #16
In light of the tryjob failures:

https://codereview.chromium.org/1413693009/diff/1/build/standalone.gypi
File build/standalone.gypi (right):

https://codereview.chromium.org/1413693009/diff/1/build/standalone.gypi#newco...
build/standalone.gypi:347: 'host_ld': '<!(which ld)',
Yeah, this can't be in an OS-independent section.

https://codereview.chromium.org/1413693009/diff/1/build/standalone.gypi#newco...
build/standalone.gypi:352: 'host_ld': '<!(which ld)',
Also, having the same stuff in both branches of a condition is a clear sign that
it shouldn't be conditional at all.

Powered by Google App Engine
This is Rietveld 408576698