forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1369801 - dt-addon-fennec: package specific version of devtools a…
…ddon for fennec;r=jryans MozReview-Commit-ID: 50jh5spnHw6 --HG-- extra : rebase_source : 8b0b8f2f936a6f83166690cd15df642c61114a7e
- Loading branch information
1 parent
2d21a9f
commit 8a25ab0
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,10 +27,20 @@ if CONFIG['MOZ_DEVTOOLS'] != 'addon': | |
'shared', | ||
] | ||
FINAL_TARGET_FILES.features['[email protected]'] += [ | ||
'bootstrap.js', | ||
'install.rdf', | ||
] | ||
|
||
# For Fennec, provide an empty bootstrap.js that doesn't do anything. | ||
# DevTools initialization is handled by mobile/android/chrome/content/RemoteDebugger.js | ||
if CONFIG['MOZ_DEVTOOLS'] == 'server': | ||
FINAL_TARGET_FILES.features['[email protected]'] += [ | ||
'server/bootstrap.js', | ||
] | ||
elif CONFIG['MOZ_DEVTOOLS'] != 'addon': | ||
FINAL_TARGET_FILES.features['[email protected]'] += [ | ||
'bootstrap.js', | ||
] | ||
|
||
# /browser uses DIST_SUBDIR. We opt-in to this treatment when building | ||
# DevTools for the browser to keep the root omni.ja slim for use by external XUL | ||
# apps. Mulet also uses this since it includes /browser. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
/* exported startup, shutdown, install, uninstall */ | ||
|
||
// Fake bootstrap used when shipping only server part of devtools. | ||
|
||
"use strict"; | ||
|
||
function startup(data) { | ||
} | ||
|
||
function shutdown(data, reason) { | ||
} | ||
|
||
function install() {} | ||
function uninstall() {} |