Closed
Bug 1170691
Opened 9 years ago
Closed 9 years ago
use GENERATED_FILES in toolkit/components/telemetry/
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox41 fixed)
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: froydnj, Assigned: froydnj)
Details
Attachments
(2 files)
14.73 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
1.90 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
The patch is mostly noise from using function-style print in the scripts, but ideally the intent should be pretty clear.
Attachment #8614225 -
Flags: review?(mshal)
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8614225 [details] [diff] [review] use GENERATED_FILES in toolkit/components/telemetry/ Argh, now we can't import modules from the srcdir. Canceling review for the moment.
Attachment #8614225 -
Flags: review?(mshal)
Assignee | ||
Comment 3•9 years ago
|
||
The old way of writing scripts for generated files would invoke the script thusly: python script.py arg1... Invoking the script this way means that the script's directory is automatically added to sys.path, and importing modules from that directory is easy. Let's make it equally easy in the new world for GENERATED_FILES, too.
Attachment #8614262 -
Flags: review?(mshal)
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8614225 [details] [diff] [review] use GENERATED_FILES in toolkit/components/telemetry/ mshal isn't doing reviews at this point, so picking on glandium.
Attachment #8614225 -
Flags: review?(mh+mozilla)
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8614262 [details] [diff] [review] part 1 - add the generating script's directory to sys.path in file_generate.py mshal isn't doing reviews at this point, so picking on glandium.
Attachment #8614262 -
Flags: review?(mshal) → review?(mh+mozilla)
Comment 6•9 years ago
|
||
Comment on attachment 8614225 [details] [diff] [review] use GENERATED_FILES in toolkit/components/telemetry/ Review of attachment 8614225 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/components/telemetry/moz.build @@ +57,5 @@ > ] > > +histogram_files = [ > + SRCDIR + '/Histograms.json', > + TOPSRCDIR + '/dom/base/UseCounters.conf', Rebase on top of bug 1170431
Updated•9 years ago
|
Attachment #8614225 -
Flags: review?(mh+mozilla) → review+
Updated•9 years ago
|
Attachment #8614262 -
Flags: review?(mh+mozilla) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/b1aec9026884 https://hg.mozilla.org/integration/mozilla-inbound/rev/282f50513dd4
https://hg.mozilla.org/mozilla-central/rev/b1aec9026884 https://hg.mozilla.org/mozilla-central/rev/282f50513dd4
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•