Closed
Bug 822017
Opened 11 years ago
Closed 11 years ago
Remove the global PB specific code from the testpilot extension
Categories
(Firefox :: Private Browsing, defect)
Tracking
()
RESOLVED
FIXED
Firefox 20
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(2 files, 1 obsolete file)
6.87 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
3.01 KB,
patch
|
ted
:
review+
ehsan.akhgari
:
checkin+
|
Details | Diff | Splinter Review |
Is there any way for us to preprocess the files inside http://mxr.mozilla.org/mozilla-central/source/browser/app/profile/extensions/testpilot@labs.mozilla.com/, for example http://mxr.mozilla.org/mozilla-central/source/browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js? I can't quite figure out how this extension is built...
Assignee | ||
Comment 1•11 years ago
|
||
I replaced the install.rdf specific logic in the Makefile with a generic logic which can handle any file names *.in.
Comment 2•11 years ago
|
||
Comment on attachment 696575 [details] [diff] [review] Patch (v1) Review of attachment 696575 [details] [diff] [review]: ----------------------------------------------------------------- I don't think this is something I should review.
Attachment #696575 -
Flags: review?(josh)
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 696575 [details] [diff] [review] Patch (v1) Trying Dao...
Attachment #696575 -
Flags: review?(dao)
Comment 4•11 years ago
|
||
Comment on attachment 696575 [details] [diff] [review] Patch (v1) I think I recall Gregg being granted ownership of Test Pilot when Jono left.
Attachment #696575 -
Flags: review?(glind)
Comment 5•11 years ago
|
||
Comment on attachment 696575 [details] [diff] [review] Patch (v1) Review of attachment 696575 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/app/profile/extensions/Makefile.in @@ +36,5 @@ > endef # do not remove the blank line! > > libs:: > $(NSINSTALL) -D $(DISTROEXT) > $(foreach dir,$(EXTENSIONS),$(_INSTALL_EXTENSION)) Man this whole thing is so horrible.
Comment 6•11 years ago
|
||
This replaces ehsan's build changes, while improving the existing build rules and making things less worse overall.
Attachment #696613 -
Flags: review?(ted)
Updated•11 years ago
|
Assignee: ehsan → mh+mozilla
Comment 7•11 years ago
|
||
Comment on attachment 696613 [details] [diff] [review] Use less bad build rules in browser/app/profile/extensions Ah, need to find the .in recursively.
Attachment #696613 -
Flags: review?(ted)
Comment 8•11 years ago
|
||
Attachment #696616 -
Flags: review?(ted)
Updated•11 years ago
|
Attachment #696613 -
Attachment is obsolete: true
Updated•11 years ago
|
Assignee: mh+mozilla → ehsan
Comment 9•11 years ago
|
||
Comment on attachment 696616 [details] [diff] [review] Use less bad build rules in browser/app/profile/extensions Review of attachment 696616 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/app/profile/extensions/Makefile.in @@ +44,5 @@ > +$(foreach d,$(EXTENSIONS), \ > + $(foreach in,$(shell cd $(srcdir) ; find $(d) -name '*.in'), \ > + $(eval $(call pp_one,$(d),$(in))) \ > + ) \ > +) This sucks less, but this still kind of sucks. We should think about how we'd represent complicated logic like this in the new moz.build setup. ::: browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/Makefile.in @@ +15,1 @@ > $(NULL) nit: fix the indentation while you're here.
Attachment #696616 -
Flags: review?(ted) → review+
Comment 10•11 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #9) > Comment on attachment 696616 [details] [diff] [review] > Use less bad build rules in browser/app/profile/extensions > > Review of attachment 696616 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: browser/app/profile/extensions/Makefile.in > @@ +44,5 @@ > > +$(foreach d,$(EXTENSIONS), \ > > + $(foreach in,$(shell cd $(srcdir) ; find $(d) -name '*.in'), \ > > + $(eval $(call pp_one,$(d),$(in))) \ > > + ) \ > > +) > > This sucks less, but this still kind of sucks. We should think about how > we'd represent complicated logic like this in the new moz.build setup. We should just not have such complicated logic. In the present case, i'm planning to add a script to package extensions, based on the new packager code.
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 696616 [details] [diff] [review] Use less bad build rules in browser/app/profile/extensions https://hg.mozilla.org/integration/mozilla-inbound/rev/eed2a6f24243
Attachment #696616 -
Flags: checkin+
Assignee | ||
Updated•11 years ago
|
Whiteboard: [leave open]
Comment 12•11 years ago
|
||
Comment on attachment 696575 [details] [diff] [review] Patch (v1) I assume the Makefile.in changes are obsoleted by attachment 696616 [details] [diff] [review].
Attachment #696575 -
Flags: review?(dao) → review+
Assignee | ||
Comment 13•11 years ago
|
||
(In reply to comment #12) > I assume the Makefile.in changes are obsoleted by attachment 696616 [details] [diff] [review]. They are, yes.
Assignee | ||
Updated•11 years ago
|
Attachment #696575 -
Flags: review?(glind)
Assignee | ||
Comment 15•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/041b62d88da9
Whiteboard: [leave open]
Comment 16•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/041b62d88da9
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
You need to log in
before you can comment on or make changes to this bug.
Description
•