Closed
Bug 738559
Opened 13 years ago
Closed 13 years ago
add mozglue for gonk
Categories
(Core :: mozglue, defect)
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: gal, Assigned: gal)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → gal
Comment 2•13 years ago
|
||
Comment on attachment 608621 [details] [diff] [review]
patch
Review of attachment 608621 [details] [diff] [review]:
-----------------------------------------------------------------
::: configure.in
@@ +7274,3 @@
> fi
> + WRAP_LDFLAGS="${WRAP_LDFLAGS} -Wl,--wrap=getaddrinfo,--wrap=freeaddrinfo,--wrap=gai_strerror"
> + WRAP_LDFLAGS="${WRAP_LDFLAGS} -Wl,--wrap=fork,--wrap=pthread_atfork"
Do you really want to also wrap getaddrinfo, etc.?
::: mozglue/build/Makefile.in
@@ +96,5 @@
> +# To properly wrap jemalloc's pthread_atfork call.
> +EXTRA_DSO_LDOPTS += -Wl,--wrap=pthread_atfork
> +SHARED_LIBRARY_LIBS += $(call EXPAND_LIBNAME_PATH,android,$(DEPTH)/other-licenses/android)
> +SHARED_LIBRARY_LIBS += $(call EXPAND_LIBNAME_PATH,gonk,../gonk)
> +endif
Please share this with android.
::: mozglue/gonk/GonkGlue.cpp
@@ +31,5 @@
> + * and other provisions required by the GPL or the LGPL. If you do not delete
> + * the provisions above, a recipient may use your version of this file under
> + * the terms of any one of the MPL, the GPL or the LGPL.
> + *
> + * ***** END LICENSE BLOCK ***** */
Please use MPL2 header.
@@ +80,5 @@
> + if (it->parent)
> + it->parent();
> + }
> + return pid;
> +}
Please move that under mozglue/build, remove the mozglue/android/APKOpen.cpp corresponding code, and make both android and gonk build from mozglue/build.
Attachment #608621 -
Flags: review-
Assignee | ||
Comment 3•13 years ago
|
||
Can we do some of this as follow-up fixes? The jemalloc landing broke our builds and our build host is burning. And yes we want to wrap getaddrinfo etc hence the libandroid import.
Comment 4•13 years ago
|
||
(In reply to Andreas Gal :gal from comment #3)
> Can we do some of this as follow-up fixes? The jemalloc landing broke our
> builds and our build host is burning. And yes we want to wrap getaddrinfo
> etc hence the libandroid import.
Ok. Please change the license boilerplate, though.
Assignee | ||
Comment 5•13 years ago
|
||
Will change boilerplate and land and file follow-up. Thanks. Can you stamp with these conditions?
Updated•13 years ago
|
Attachment #608621 -
Flags: review- → review+
Assignee | ||
Comment 6•13 years ago
|
||
Attachment #608621 -
Attachment is obsolete: true
Assignee | ||
Updated•13 years ago
|
Attachment #608624 -
Attachment is patch: true
Assignee | ||
Comment 7•13 years ago
|
||
Pushed to inbound. Follow-up filed. MPL2 header fixed.
http://hg.mozilla.org/integration/mozilla-inbound/rev/fd2c598e7fde
Comment 8•13 years ago
|
||
Wait!
The mozglue/gonk/Makefile.in has C++ comment syntax in it instead of Makefile # comments!
Assignee | ||
Comment 9•13 years ago
|
||
mwu will fix in follow-up, we wanted to stop the builder from burning
Comment 10•13 years ago
|
||
Mode header is wrong too (C++ instead of Makefile), which screws things up massively in emacs.
Assignee | ||
Comment 11•13 years ago
|
||
Please take this to the follow-up bug
Comment 12•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in
before you can comment on or make changes to this bug.
Description
•