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

Issue 14192035: Removed product_dir override in runtime/dart-runtime.gyp (Closed)

Created:
7 years, 8 months ago by kustermann
Modified:
7 years, 8 months ago
Reviewers:
ricow1, zra
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Removed product_dir override in runtime/dart-runtime.gyp Committed: https://code.google.com/p/dart/source/detail?r=21793

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M runtime/dart-runtime.gyp View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
kustermann
I hope this will fix our dartium issues.
7 years, 8 months ago (2013-04-22 09:05:29 UTC) #1
ricow1
LGTM, it will :-)
7 years, 8 months ago (2013-04-22 09:06:05 UTC) #2
kustermann
Committed patchset #1 manually as r21793 (presubmit successful).
7 years, 8 months ago (2013-04-22 09:06:28 UTC) #3
ricow1
On 2013/04/22 09:06:05, ricow1 wrote: > LGTM, it will :-) Zachary: This was causing dartium ...
7 years, 8 months ago (2013-04-22 09:07:49 UTC) #4
zra
On 2013/04/22 09:07:49, ricow1 wrote: > On 2013/04/22 09:06:05, ricow1 wrote: > > LGTM, it ...
7 years, 8 months ago (2013-04-22 16:33:12 UTC) #5
kustermann
7 years, 8 months ago (2013-04-22 17:01:25 UTC) #6
Message was sent while issue was closed.
On 2013/04/22 16:33:12, zra wrote:
> On 2013/04/22 09:07:49, ricow1 wrote:
> > On 2013/04/22 09:06:05, ricow1 wrote:
> > > LGTM, it will :-)
> > 
> > Zachary: This was causing dartium mac bots to fail compiling, see e.g.:
> >
>
http://build.chromium.org/p/client.dart/builders/dartium-mac-full/builds/4155...
> > 
> > Is this needed for cross-compilation to work?
> 
> Yes, it is needed for cross-compilation. I'll look into what I have to do on
Mac
> to get the file into the right place.

We looked into this a bit this morning. Here is what's happening:
Chrome/Dartium has a special 'postbuilds' action on mac (see
'src/build/common.gypi)
which calls 'build/mac/change_mach_o_flags_from_xcode.sh'. This shell script
uses the environment variables BUILT_PRODUCTS_DIR/EXECUTABLE_PATH to find the
executable and then calls 'build/mac/change_mach_o_flags.py' (I think this one
enables ALSR and marks the heap section as non-exec).

The shell script then generates the wrong path (the libdart_dependency_helper
file is not where it expects it to be) -- so it fails.

Powered by Google App Engine
This is Rietveld 408576698