зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1734028 - Update GeckoView Contributor Guide r=geckoview-reviewers,agi,calu
Differential Revision: https://phabricator.services.mozilla.com/D127493
This commit is contained in:
Родитель
8e643f5b0b
Коммит
7a6decb12a
Двоичные данные
mobile/android/docs/geckoview/assets/DisableInstantRun.png
Двоичные данные
mobile/android/docs/geckoview/assets/DisableInstantRun.png
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 303 KiB |
Двоичные данные
mobile/android/docs/geckoview/assets/GeckoViewStructure.png
Двоичные данные
mobile/android/docs/geckoview/assets/GeckoViewStructure.png
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 30 KiB После Ширина: | Высота: | Размер: 73 KiB |
|
@ -25,8 +25,10 @@ in ``mozilla-central``. You will need to get set up as a contributor to
|
|||
Firefox in order to contribute to GeckoView. To get set up with
|
||||
``mozilla-central``, follow the `Quick Start Guide for Git
|
||||
Users <mc-quick-start.html>`_, or the `Contributing to the Mozilla code
|
||||
base <https://developer.mozilla.org/docs/Mozilla/Developer_guide/Introduction>`_
|
||||
guide on `MDN <https://developer.mozilla.org/>`_ for Mercurial users.
|
||||
base <https://firefox-source-docs.mozilla.org/setup/contributing_code.html>`_
|
||||
guide and `Firefox Contributors’ Quick Reference
|
||||
<https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html>`_
|
||||
for Mercurial users.
|
||||
|
||||
Once you have a copy of ``mozilla-central``, you will need to build
|
||||
GeckoView.
|
||||
|
@ -83,15 +85,6 @@ Build Using Android Studio
|
|||
|
||||
- Install `Android
|
||||
Studio <https://developer.android.com/studio/install>`_.
|
||||
- Disable Instant Run. This is because Fennec and the Geckoview Example
|
||||
app cannot deploy with Instant Run on.
|
||||
|
||||
- Select Android Studio > Preferences from the menu bar
|
||||
- Navigate to Build, Execution, Deployment > Instant Run.
|
||||
- Uncheck the box that reads
|
||||
``Enable Instant Run to hot swap code/resource changes on deploy``.
|
||||
|
||||
|alt text|
|
||||
- Choose File->Open from the toolbar
|
||||
- Navigate to the root of your ``mozilla-central`` source directory and
|
||||
click “Open”
|
||||
|
@ -103,17 +96,12 @@ Build Using Android Studio
|
|||
- Wait for the project to index and gradle to sync. Once synced, the
|
||||
workspace will reconfigure to display the different projects.
|
||||
|
||||
- annotations contains custom annotations used inside GeckoView and
|
||||
Fennec.
|
||||
- app is Fennec - Firefox for Android. Here is where you will find
|
||||
code specific to that app.
|
||||
- annotations contains custom Java annotations used inside GeckoView
|
||||
- app contains geckoview build settings and omnijar. omnijar contains
|
||||
the parts of Gecko and GeckoView that are not written in Java or Kotlin
|
||||
- geckoview is the GeckoView project. Here is all the Java files
|
||||
related to GeckoView
|
||||
- geckoview_example is an example browser built using GeckoView.
|
||||
- omnijar contains the parts of Gecko and GeckoView that are not
|
||||
written in Java or Kotlin
|
||||
- thirdparty contains third party code that Fennec and GeckoView
|
||||
use.
|
||||
|
||||
|alt text 1|
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче