testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15_gradle_dependencies.py
author Nick Alexander <nalexander@mozilla.com>
Tue, 29 Nov 2016 19:52:01 -0800
changeset 324852 f72e2fa55bf5c2e87b1e5f6f1c7657ff7a635dfb
parent 324609 6c23e6d1cd60cb911ecd7673276a65e9b9505f54
permissions -rw-r--r--
Bug 1285608 - Part 2: Make --artifact handle Android builds. r=chmanchester,maja_zf I'm not a fan of introducing a new configuration flags (and not knowing where or how to document it!), but there's a clear need for configuration in the absence of a documented way to add a coherent "artifact build dimension" akin to "opt/debug". I like adding a subtle tri-state flag even less, but I tried this with two flags (ignore and build-variant) and it was worse, so I'm rolling with a tri-state flag. MozReview-Commit-ID: KTNvacTBUXB

config = {
    'base_name': 'Android armv7 API 15+ Gradle dependencies %(branch)s',
    'stage_platform': 'android-api-15-gradle-dependencies',
    'build_type': 'api-15-opt',
    'src_mozconfig': 'mobile/android/config/mozconfigs/android-api-15-gradle-dependencies/nightly',
    'tooltool_manifest_src': 'mobile/android/config/tooltool-manifests/android-gradle-dependencies/releng.manifest',
    'multi_locale_config_platform': 'android',
    'postflight_build_mach_commands': [
        ['gradle',
         'assembleAutomationRelease',
         'assembleAutomationDebug',
         'assembleAutomationDebugAndroidTest',
         'checkstyle',
         'findbugsAutomationDebug',
         # Does not include Gecko binaries -- see mobile/android/gradle/with_gecko_binaries.gradle.
         'geckoview:assembleWithoutGeckoBinaries',
         # So that we pick up the test dependencies for the builders.
         'geckoview_example:assembleWithoutGeckoBinaries',
         'geckoview_example:assembleWithoutGeckoBinariesAndroidTest',
        ],
    ],
    'artifact_flag_build_variant_in_try': None, # There's no artifact equivalent.
}