diff --git a/DEPS b/DEPS index f73de5f8f9..4fd4206c61 100644 --- a/DEPS +++ b/DEPS @@ -729,7 +729,7 @@ deps = { 'src/flutter/third_party/stb': Var('flutter_git') + '/third_party/stb.git' + '@' + '5736b15f7ea0ffb08dd38af21067c314d6a3aae9', - 'src/third_party/gradle': { + 'src/flutter/third_party/gradle': { 'packages': [ { # See tools/gradle/README.md for update instructions. diff --git a/engine/src/flutter/ci/licenses_golden/excluded_files b/engine/src/flutter/ci/licenses_golden/excluded_files index fdf367c7d4..da0300ef0a 100644 --- a/engine/src/flutter/ci/licenses_golden/excluded_files +++ b/engine/src/flutter/ci/licenses_golden/excluded_files @@ -1844,6 +1844,7 @@ ../../../flutter/third_party/gn ../../../flutter/third_party/google_fonts_for_unit_tests ../../../flutter/third_party/googletest +../../../flutter/third_party/gradle ../../../flutter/third_party/gtest-parallel/.git ../../../flutter/third_party/gtest-parallel/.gitignore ../../../flutter/third_party/gtest-parallel/CONTRIBUTING.md diff --git a/engine/src/flutter/ci/licenses_golden/licenses_dart b/engine/src/flutter/ci/licenses_golden/licenses_dart index ff0d0b2b6c..2da1aab9d0 100644 --- a/engine/src/flutter/ci/licenses_golden/licenses_dart +++ b/engine/src/flutter/ci/licenses_golden/licenses_dart @@ -4741,7 +4741,7 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0. -You may obtain a copy of this library's Source Code Form from: https://dart.googlesource.com/sdk/+/fe75fa5f7dc0dca6ff2da32beffea62e444da869 +You may obtain a copy of this library's Source Code Form from: https://dart.googlesource.com/sdk/+/0380354e24483e4f23216d93879ca513b6443ba0 /third_party/fallback_root_certificates/ ==================================================================================================== diff --git a/engine/src/flutter/ci/licenses_golden/tool_signature b/engine/src/flutter/ci/licenses_golden/tool_signature index d06a43bbf5..d54c55be37 100644 --- a/engine/src/flutter/ci/licenses_golden/tool_signature +++ b/engine/src/flutter/ci/licenses_golden/tool_signature @@ -1,2 +1,2 @@ -Signature: 73dfaba34f5ca20ba9bfcf0f19b74bd0 +Signature: b3ce02b496b8b284656eb974794a7b65 diff --git a/engine/src/flutter/testing/rules/run_gradle.py b/engine/src/flutter/testing/rules/run_gradle.py index 4e23ea5add..96fe500bee 100644 --- a/engine/src/flutter/testing/rules/run_gradle.py +++ b/engine/src/flutter/testing/rules/run_gradle.py @@ -17,7 +17,7 @@ SCRIPT_PATH = os.path.dirname(os.path.realpath(__file__)) BAT = '.bat' if sys.platform.startswith(('cygwin', 'win')) else '' GRADLE_BIN = os.path.normpath( - os.path.join(SCRIPT_PATH, '..', '..', '..', 'third_party', 'gradle', 'bin', 'gradle%s' % BAT) + os.path.join(SCRIPT_PATH, '..', '..', 'third_party', 'gradle', 'bin', 'gradle%s' % BAT) ) ANDROID_HOME = os.path.normpath( diff --git a/engine/src/flutter/testing/run_tests.py b/engine/src/flutter/testing/run_tests.py index c2d87e05d4..f71485daf1 100755 --- a/engine/src/flutter/testing/run_tests.py +++ b/engine/src/flutter/testing/run_tests.py @@ -707,7 +707,8 @@ def run_java_tests(executable_filter, android_variant='android_debug_unopt'): BUILDROOT_DIR, 'flutter', 'shell', 'platform', 'android', 'test_runner' ) gradle_bin = os.path.join( - BUILDROOT_DIR, 'third_party', 'gradle', 'bin', 'gradle.bat' if is_windows() else 'gradle' + BUILDROOT_DIR, 'flutter', 'third_party', 'gradle', 'bin', + 'gradle.bat' if is_windows() else 'gradle' ) flutter_jar = os.path.join(OUT_DIR, android_variant, 'flutter.jar') android_home = os.path.join(BUILDROOT_DIR, 'flutter', 'third_party', 'android_tools', 'sdk') diff --git a/engine/src/flutter/testing/scenario_app/android/README.md b/engine/src/flutter/testing/scenario_app/android/README.md index dc6f0049b3..65164ac91a 100644 --- a/engine/src/flutter/testing/scenario_app/android/README.md +++ b/engine/src/flutter/testing/scenario_app/android/README.md @@ -378,7 +378,7 @@ update it, run: ```sh cd testing/scenario_app/android -$ENGINE_SRC/third_party/gradle/bin/gradle app:dependencies --write-locks +$ENGINE_SRC/flutter/third_party/gradle/bin/gradle app:dependencies --write-locks ``` ## Getting Help diff --git a/engine/src/flutter/testing/scenario_app/android/app/build.gradle b/engine/src/flutter/testing/scenario_app/android/app/build.gradle index 821915b3e5..51eea65961 100644 --- a/engine/src/flutter/testing/scenario_app/android/app/build.gradle +++ b/engine/src/flutter/testing/scenario_app/android/app/build.gradle @@ -81,7 +81,7 @@ configureDependencies(new File(rootDir, '../../..')) { dependency -> tasks.register('generateLockfiles') { rootProject.subprojects.each { subproject -> - def gradle = "${rootProject.projectDir}/../../../../third_party/gradle/bin/gradle" + def gradle = "${rootProject.projectDir}/../../../third_party/gradle/bin/gradle" rootProject.exec { workingDir rootProject.projectDir executable gradle diff --git a/engine/src/flutter/tools/licenses/lib/paths.dart b/engine/src/flutter/tools/licenses/lib/paths.dart index af75a849e6..c37c01bdc7 100644 --- a/engine/src/flutter/tools/licenses/lib/paths.dart +++ b/engine/src/flutter/tools/licenses/lib/paths.dart @@ -87,6 +87,7 @@ final Set skippedPaths = { r'flutter/third_party/glfw/docs', r'flutter/third_party/gn', r'flutter/third_party/google_fonts_for_unit_tests', // only used in web unit tests + r'flutter/third_party/gradle', r'flutter/third_party/harfbuzz/docs', r'flutter/third_party/harfbuzz/util', // utils are command line tools that do not end up in the binary r'flutter/third_party/icu/filters', @@ -220,7 +221,6 @@ final Set skippedPaths = { r'out', // output of build r'third_party/android_embedding_dependencies', // Not shipped. Used only for the build-time classpath, and for the in-tree testing framework for Android r'third_party/android_tools', // excluded on advice - r'third_party/gradle', r'third_party/java', // only used for Android builds r'third_party/libxml', // dependency of the testing system that we don't actually use r'third_party/web_dependencies/canvaskit', // redundant; covered by Skia dependencies