51b2f1b64c
Remove #defines that lived in gn_to_bp.py and android_framework_defines.gni. These have been moved into a new file in Android, SkUserConfigManual.h, in https://googleplex-android-review.git.corp.google.com/#/c/2519600/ Update gn_to_bp.py to include SkUserConfigManual.h, so it will still result in using the same #defines. Lately, we've found it difficult to guard changes behind a flag. e.g. a change to drawing causes a CTS failure in Android, so we have to do the following: - put the change behind a flag, and add it to gn_to_bp.py or android_framework_defines.gni - generate new images on Android (by running CTS with external/skia modified to not define the flag) - create a CL in CTS that uses the new images - land a CL in Skia that stops defining the flag - when the Skia change lands, wait for the auto-roller to create a CL that includes the change, stop the auto-roller, add the topic to the CTS CL so the two can land at the same time - land both Android changes (with TreeHugger) - restart the Android auto-roller With SkUserConfigManual.h (which lives in Android), the process will be similar to Chromium: - land a CL in Android's external/skia that defines a flag e.g. SK_SUPPORT_LEGACY_FEATURE. Land without TreeHugger because it isn't used in Skia and does not do anything - land a change in Skia that changes behavior unless SK_SUPPORT_LEGACY_FEATURE is defined. This will safely go through the Android roll and not change any behavior for Android - create two Android CLs - one in CTS to use the new images, and one in external/skia to delete SK_SUPPORT_LEGACY_FEATURE. Set them to the same topic and land them with TreeHugger In the new process, there is no need to mess with the Android roll. A downside to the new process is that we cannot test the android framework defines without checking in to Android. But given how much we've progressed in automating Android testing, this is fine. Bug: b/63429612 Change-Id: Idfbaef2f4cae641a75fb6e7bf70428733a441336 Reviewed-on: https://skia-review.googlesource.com/22072 Commit-Queue: Leon Scroggins <scroggo@google.com> Reviewed-by: Eric Boren <borenet@google.com> |
||
---|---|---|
.. | ||
alternate_repo.json | ||
Build-Mac-Clang-arm64-Debug-Android.json | ||
Build-Mac-Clang-arm64-Debug-iOS.json | ||
Build-Mac-Clang-x64-Release-iOS.json | ||
Build-Mac-Clang-x86_64-Debug-CommandBuffer.json | ||
Build-Mac-Clang-x86_64-Release.json | ||
Build-Ubuntu-Clang-arm64-Release-Android_Vulkan.json | ||
Build-Ubuntu-Clang-arm64-Release-Android.json | ||
Build-Ubuntu-Clang-arm-Release-Chromebook_C100p.json | ||
Build-Ubuntu-Clang-mipsel-Debug-Android.json | ||
Build-Ubuntu-Clang-x86_64-Debug-ASAN.json | ||
Build-Ubuntu-Clang-x86_64-Debug-MSAN.json | ||
Build-Ubuntu-Clang-x86_64-Debug.json | ||
Build-Ubuntu-Clang-x86_64-Release-Mini.json | ||
Build-Ubuntu-Clang-x86_64-Release-Vulkan.json | ||
Build-Ubuntu-GCC-arm-Release-Chromecast.json | ||
Build-Ubuntu-GCC-x86_64-Debug-GN.json | ||
Build-Ubuntu-GCC-x86_64-Debug-MSAN.json | ||
Build-Ubuntu-GCC-x86_64-Debug-NoGPU.json | ||
Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE.json | ||
Build-Ubuntu-GCC-x86_64-Release-ANGLE.json | ||
Build-Ubuntu-GCC-x86_64-Release-Fast.json | ||
Build-Ubuntu-GCC-x86_64-Release-Flutter_Android.json | ||
Build-Ubuntu-GCC-x86_64-Release-Mesa.json | ||
Build-Ubuntu-GCC-x86_64-Release-PDFium_SkiaPaths.json | ||
Build-Ubuntu-GCC-x86_64-Release-PDFium.json | ||
Build-Ubuntu-GCC-x86_64-Release-Shared.json | ||
Build-Ubuntu-GCC-x86-Debug.json | ||
Build-Win-Clang-arm64-Release-Android.json | ||
Build-Win-MSVC-x86_64-Release-Vulkan.json | ||
Build-Win-MSVC-x86-Debug-ANGLE.json | ||
Build-Win-MSVC-x86-Debug-Exceptions.json | ||
Build-Win-MSVC-x86-Debug.json | ||
Build-Win-MSVC-x86-Release-GDI.json | ||
Build-Win-MSVC-x86-Release-GN.json | ||
flutter_trybot.json | ||
pdfium_trybot.json | ||
trybot.json |