mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1603804. Move third_party/python/lldbutils to python/lldbutils. r=ahal
This undoes the mistaken move of this directory into third_party that happened as part of bug 1346025. The .flake8 changes are required because lldbutils used to be excluded from linting by virtue of being inside third_party, but would otherwise be subject to it after this move. Fixing the existing lint errors will happen in: - https://bugzilla.mozilla.org/show_bug.cgi?id=1605144 - https://bugzilla.mozilla.org/show_bug.cgi?id=1605145 Differential Revision: https://phabricator.services.mozilla.com/D57141 --HG-- rename : third_party/python/lldbutils/README.txt => python/lldbutils/README.txt rename : third_party/python/lldbutils/lldbutils/__init__.py => python/lldbutils/lldbutils/__init__.py rename : third_party/python/lldbutils/lldbutils/content.py => python/lldbutils/lldbutils/content.py rename : third_party/python/lldbutils/lldbutils/general.py => python/lldbutils/lldbutils/general.py rename : third_party/python/lldbutils/lldbutils/gfx.py => python/lldbutils/lldbutils/gfx.py rename : third_party/python/lldbutils/lldbutils/layout.py => python/lldbutils/lldbutils/layout.py rename : third_party/python/lldbutils/lldbutils/utils.py => python/lldbutils/lldbutils/utils.py extra : moz-landing-system : lando
This commit is contained in:
parent
13b94af1eb
commit
8e978a5ef3
1
.flake8
1
.flake8
@ -24,6 +24,7 @@ exclude =
|
||||
netwerk/protocol/http/make_incoming_tables.py,
|
||||
python/devtools/migrate-l10n/migrate/main.py,
|
||||
python/l10n/fluent_migrations,
|
||||
python/lldbutils,
|
||||
python/mozbuild/dumbmake,
|
||||
security/manager/ssl/tests/unit,
|
||||
servo/components/style,
|
||||
|
@ -10,7 +10,7 @@
|
||||
# or the dist/bin directory. (.lldbinit files in the objdir and dist/bin set
|
||||
# topsrcdir appropriately.)
|
||||
script topsrcdir = topsrcdir if "topsrcdir" in locals() else os.getcwd()
|
||||
script sys.path.append(os.path.join(topsrcdir, "third_party/python/lldbutils"))
|
||||
script sys.path.append(os.path.join(topsrcdir, "python/lldbutils"))
|
||||
script import lldbutils
|
||||
script lldbutils.init()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user