Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  soong_only.md   Sprache: Unknown

 

Spracherkennung für: .md vermutete Sprache: Python {Python[57] R[48] MT940[30]} [Methode: maximale Elemente, drei Dimensionen]

# Soong-only builds

Android builds can now be done without makefiles for generating build targets. (makefiles are
still used for product config) Doing so will halve the analysis time of the build, increasing
developer productivity.

To enable soong-only builds:

  1. Run `build/soong/scripts/soong_only_diff_test.py <product_name>`
    a. This will run both a soong-only and soong+make build, and report differences between them.
    b. It must be run in an envsetup'd shell.
  2. Fix any diffs reported by the script
    a. If you still have modules defined in Android.mk files, they must be converted to Android.bp
       files. See [our mk -> bp conversion guide](./mk2bp.md) for this.
    b. There may also be bugs or unconverted parts of the core build system code. Please reach out
       to the soong team if you encounter problems despite all Android.mk files being converted to
       soong.
  3. Add `PRODUCT_SOONG_ONLY := true` to your product config.

It's possible that your build doesn't work or produces incorrect results after enabling soong-only
mode. There can be issues in two main places:

 - If you still have modules defined in Android.mk files, they must be converted to Android.bp
   files. See [our mk -> bp conversion guide](./mk2bp.md) for this.
 - There may also be bugs or unconverted parts of the core build system code. Please reach out to
   the soong team if you encounter problems despite all Android.mk files being converted to soong.

To test that your build works with soong only, you can use
`build/soong/scripts/soong_only_diff_test.py <product name>`. That script will run both a soong-only
and soong+make build of your product, and report any differences found. The script must be run
in an envsetup'd shell.

Soong-only mode can also be controlled with the `SOONG_ONLY=true/false` environment variable.

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-04) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1104857
#Domains=440033