Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/mobile/android/gradle/   (Android Betriebssystem Version 17©)  Datei vom 27.6.2026 mit Größe 924 B image not shown  

Quelle  debug_level.gradle   Sprache: unbekannt

 
Spracherkennung für: .gradle vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

/* 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/. */

// Bug 1353055 - Strip 'vars' debugging information to agree with moz.build.
ext.configureVariantDebugLevel = { variantName, buildType ->
    // The default is 'lines,source,vars', which includes debugging information
    // that is quite large: roughly 500kb for Fennec.  Therefore we remove
    // 'vars' unless we're producing a debug build, where it is useful.
    if (!'debug'.equals(buildType) || mozconfig.substs.MOZILLA_OFFICIAL) {
        // `onVariants` runs before AGP creates the javac task, so defer with `configureEach`.
        tasks.matching { it.name == "compile${variantName.capitalize()}JavaWithJavac" }.configureEach {
            options.debugOptions.debugLevel = 'lines,source'
        }
    }
}

[Dauer der Verarbeitung: 0.26 Sekunden, vorverarbeitet 2026-08-25]