Issue #1053 - Part 1c: Remove references to mobile/android targets and paths

This commit is contained in:
Moonchild 2020-12-25 23:29:47 +00:00 committed by roytam1
commit b21588597c
80 changed files with 8 additions and 3636 deletions

View file

@ -1,111 +0,0 @@
import os
config = {
#########################################################################
######## ANDROID GENERIC CONFIG KEYS/VAlUES
# note: overridden by MOZHARNESS_ACTIONS in TaskCluster tasks
'default_actions': [
'clobber',
'clone-tools',
'checkout-sources',
'setup-mock',
'build',
'upload-files',
'sendchange',
'multi-l10n',
'generate-build-stats',
'update', # decided by query_is_nightly()
],
"buildbot_json_path": "buildprops.json",
'exes': {
"buildbot": "/tools/buildbot/bin/buildbot",
},
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'enable_signing': True,
# mock shtuff
'mock_mozilla_dir': '/builds/mock_mozilla',
'mock_target': 'mozilla-centos6-x86_64-android',
'mock_files': [
('/home/cltbld/.ssh', '/home/mock_mozilla/.ssh'),
('/home/cltbld/.hgrc', '/builds/.hgrc'),
('/home/cltbld/.boto', '/builds/.boto'),
('/builds/relengapi.tok', '/builds/relengapi.tok'),
('/tools/tooltool.py', '/builds/tooltool.py'),
('/builds/mozilla-api.key', '/builds/mozilla-api.key'),
('/builds/mozilla-fennec-geoloc-api.key', '/builds/mozilla-fennec-geoloc-api.key'),
('/builds/crash-stats-api.token', '/builds/crash-stats-api.token'),
('/usr/local/lib/hgext', '/usr/local/lib/hgext'),
],
'secret_files': [
{'filename': '/builds/mozilla-fennec-geoloc-api.key',
'secret_name': 'project/releng/gecko/build/level-%(scm-level)s/mozilla-fennec-geoloc-api.key',
'min_scm_level': 2, 'default': 'try-build-has-no-secrets'},
{'filename': '/builds/adjust-sdk.token',
'secret_name': 'project/releng/gecko/build/level-%(scm-level)s/adjust-sdk.token',
'min_scm_level': 2, 'default': 'try-build-has-no-secrets'},
{'filename': '/builds/adjust-sdk-beta.token',
'secret_name': 'project/releng/gecko/build/level-%(scm-level)s/adjust-sdk-beta.token',
'min_scm_level': 2, 'default': 'try-build-has-no-secrets'},
],
'enable_ccache': True,
'vcs_share_base': '/builds/hg-shared',
'objdir': 'obj-firefox',
'tooltool_script': ["/builds/tooltool.py"],
'tooltool_bootstrap': "setup.sh",
'enable_count_ctors': False,
'enable_talos_sendchange': True,
'enable_unittest_sendchange': True,
'multi_locale': True,
#########################################################################
#########################################################################
'base_name': 'Android 2.3 %(branch)s',
'platform': 'android',
'stage_platform': 'android',
'stage_product': 'mobile',
'publish_nightly_en_US_routes': True,
'post_upload_include_platform': True,
'enable_max_vsize': False,
'use_package_as_marfile': True,
'env': {
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'MOZ_AUTOMATION': '1',
'DISPLAY': ':2',
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': 'obj-firefox',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/tooltool_cache',
'TOOLTOOL_HOME': '/builds',
'CCACHE_DIR': '/builds/ccache',
'CCACHE_COMPRESS': '1',
'CCACHE_UMASK': '002',
'LC_ALL': 'C',
'PATH': '/tools/buildbot/bin:/usr/local/bin:/bin:/usr/bin',
'SHIP_LICENSED_FONTS': '1',
},
'upload_env': {
# stage_server is dictated from build_pool_specifics.py
'UPLOAD_HOST': '%(stage_server)s',
'UPLOAD_USER': '%(stage_username)s',
'UPLOAD_SSH_KEY': '/home/mock_mozilla/.ssh/%(stage_ssh_key)s',
'UPLOAD_TO_TEMP': '1',
},
"check_test_env": {
'MINIDUMP_STACKWALK': '%(abs_tools_dir)s/breakpad/linux/minidump_stackwalk',
'MINIDUMP_SAVE_PATH': '%(base_work_dir)s/minidumps',
},
'mock_packages': ['autoconf213', 'mozilla-python27-mercurial', 'yasm',
'ccache', 'zip', "gcc472_0moz1", "gcc473_0moz1",
'java-1.7.0-openjdk-devel', 'zlib-devel',
'glibc-static', 'openssh-clients', 'mpfr',
'wget', 'glibc.i686', 'libstdc++.i686',
'zlib.i686', 'freetype-2.3.11-6.el6_1.8.x86_64',
'ant', 'ant-apache-regexp'
],
'src_mozconfig': 'mobile/android/config/mozconfigs/android/nightly',
'tooltool_manifest_src': "mobile/android/config/tooltool-manifests/android/releng.manifest",
#########################################################################
}

View file

@ -1,8 +0,0 @@
config = {
'base_name': 'Android armv7 API 15+ %(branch)s',
'stage_platform': 'android-api-15',
'build_type': 'api-15-opt',
'src_mozconfig': 'mobile/android/config/mozconfigs/android-api-15/nightly',
'tooltool_manifest_src': 'mobile/android/config/tooltool-manifests/android/releng.manifest',
'multi_locale_config_platform': 'android',
}

View file

@ -1,9 +0,0 @@
config = {
'base_name': 'Android armv7 API 15+ %(branch)s debug',
'stage_platform': 'android-api-15-debug',
'build_type': 'api-15-debug',
'src_mozconfig': 'mobile/android/config/mozconfigs/android-api-15/debug',
'tooltool_manifest_src': 'mobile/android/config/tooltool-manifests/android/releng.manifest',
'multi_locale_config_platform': 'android',
'debug_build': True,
}

View file

@ -1,18 +0,0 @@
config = {
'base_name': 'Android armv7 API 15+ %(branch)s Gradle',
'stage_platform': 'android-api-15-gradle',
'build_type': 'api-15-gradle',
'src_mozconfig': 'mobile/android/config/mozconfigs/android-api-15-gradle/nightly',
'tooltool_manifest_src': 'mobile/android/config/tooltool-manifests/android/releng.manifest',
'multi_locale_config_platform': 'android',
# It's not obvious, but postflight_build is after packaging, so the Gecko
# binaries are in the object directory, ready to be packaged into the
# GeckoView AAR.
'postflight_build_mach_commands': [
['gradle',
'geckoview:assembleWithGeckoBinaries',
'geckoview_example:assembleWithGeckoBinaries',
'uploadArchives',
],
],
}

View file

@ -1,21 +0,0 @@
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',
# 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',
],
],
}

View file

@ -1,9 +0,0 @@
config = {
'base_name': 'Android armv7 API 15+ partner Sample1 %(branch)s',
'stage_platform': 'android-api-15-partner-sample1',
'build_type': 'api-15-partner-sample1-opt',
'src_mozconfig': None, # use manifest to determine mozconfig src
'src_mozconfig_manifest': 'partner/mozconfigs/mozconfig1.json',
'tooltool_manifest_src': 'mobile/android/config/tooltool-manifests/android/releng.manifest',
'multi_locale_config_platform': 'android',
}

View file

@ -1,11 +0,0 @@
config = {
'base_name': 'Android checkstyle %(branch)s',
'stage_platform': 'android-checkstyle',
'build_type': 'api-15-opt',
'src_mozconfig': 'mobile/android/config/mozconfigs/android-api-15-frontend/nightly',
'tooltool_manifest_src': 'mobile/android/config/tooltool-manifests/android-frontend/releng.manifest',
'multi_locale_config_platform': 'android',
'postflight_build_mach_commands': [
['gradle', 'app:checkstyle'],
],
}

View file

@ -1,11 +0,0 @@
config = {
'base_name': 'Android lint %(branch)s',
'stage_platform': 'android-lint',
'build_type': 'api-15-opt',
'src_mozconfig': 'mobile/android/config/mozconfigs/android-api-15-frontend/nightly',
'tooltool_manifest_src': 'mobile/android/config/tooltool-manifests/android-frontend/releng.manifest',
'multi_locale_config_platform': 'android',
'postflight_build_mach_commands': [
['gradle', 'app:lintAutomationDebug'],
],
}

View file

@ -1,11 +0,0 @@
config = {
'base_name': 'Android armv7 unit tests %(branch)s',
'stage_platform': 'android-test',
'build_type': 'api-15-opt',
'src_mozconfig': 'mobile/android/config/mozconfigs/android-api-15-frontend/nightly',
'tooltool_manifest_src': 'mobile/android/config/tooltool-manifests/android-frontend/releng.manifest',
'multi_locale_config_platform': 'android',
'postflight_build_mach_commands': [
['gradle', 'app:testAutomationDebugUnitTest'],
],
}

View file

@ -1,8 +0,0 @@
config = {
'base_name': 'Android 4.2 x86 %(branch)s',
'stage_platform': 'android-x86',
'publish_nightly_en_US_routes': False,
'build_type': 'x86-opt',
'src_mozconfig': 'mobile/android/config/mozconfigs/android-x86/nightly',
'tooltool_manifest_src': 'mobile/android/config/tooltool-manifests/android-x86/releng.manifest',
}