Move //third_party/java
to //flutter/third_party/java
(flutter/engine#53590)
... as part of buildmoot.
This commit is contained in:
parent
883d4ec201
commit
15becdc41e
2
DEPS
2
DEPS
@ -792,7 +792,7 @@ deps = {
|
|||||||
'dep_type': 'cipd',
|
'dep_type': 'cipd',
|
||||||
},
|
},
|
||||||
|
|
||||||
'src/third_party/java/openjdk': {
|
'src/flutter/third_party/java/openjdk': {
|
||||||
'packages': [
|
'packages': [
|
||||||
{
|
{
|
||||||
'package': 'flutter/java/openjdk/${{platform}}',
|
'package': 'flutter/java/openjdk/${{platform}}',
|
||||||
|
@ -2076,6 +2076,7 @@
|
|||||||
../../../flutter/third_party/inja/test
|
../../../flutter/third_party/inja/test
|
||||||
../../../flutter/third_party/inja/third_party/amalgamate
|
../../../flutter/third_party/inja/third_party/amalgamate
|
||||||
../../../flutter/third_party/inja/third_party/include/doctest
|
../../../flutter/third_party/inja/third_party/include/doctest
|
||||||
|
../../../flutter/third_party/java
|
||||||
../../../flutter/third_party/json/.clang-format
|
../../../flutter/third_party/json/.clang-format
|
||||||
../../../flutter/third_party/json/.clang-tidy
|
../../../flutter/third_party/json/.clang-tidy
|
||||||
../../../flutter/third_party/json/.git
|
../../../flutter/third_party/json/.git
|
||||||
@ -3572,5 +3573,4 @@
|
|||||||
../../../fuchsia/sdk/linux/tools
|
../../../fuchsia/sdk/linux/tools
|
||||||
../../../fuchsia/sdk/linux/version_history.json
|
../../../fuchsia/sdk/linux/version_history.json
|
||||||
../../../out
|
../../../out
|
||||||
../../../third_party
|
|
||||||
../../../tools
|
../../../tools
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
Signature: ab7d947173008367f25140349a15810a
|
Signature: 20cf9943c0d497ff413da0c272ee0b96
|
||||||
|
|
||||||
|
@ -441,15 +441,16 @@ action("flutter_shell_java") {
|
|||||||
] + rebase_path(embedding_dependencies_jars, root_build_dir)
|
] + rebase_path(embedding_dependencies_jars, root_build_dir)
|
||||||
|
|
||||||
if (host_os == "mac") {
|
if (host_os == "mac") {
|
||||||
_javacbin =
|
_javacbin = rebase_path(
|
||||||
rebase_path("//third_party/java/openjdk/Contents/Home/bin/javac")
|
"//flutter/third_party/java/openjdk/Contents/Home/bin/javac")
|
||||||
_jarbin = rebase_path("//third_party/java/openjdk/Contents/Home/bin/jar")
|
_jarbin =
|
||||||
|
rebase_path("//flutter/third_party/java/openjdk/Contents/Home/bin/jar")
|
||||||
} else if (host_os == "win") {
|
} else if (host_os == "win") {
|
||||||
_javacbin = rebase_path("//third_party/java/openjdk/bin/javac.exe")
|
_javacbin = rebase_path("//flutter/third_party/java/openjdk/bin/javac.exe")
|
||||||
_jarbin = rebase_path("//third_party/java/openjdk/bin/jar.exe")
|
_jarbin = rebase_path("//flutter/third_party/java/openjdk/bin/jar.exe")
|
||||||
} else {
|
} else {
|
||||||
_javacbin = rebase_path("//third_party/java/openjdk/bin/javac")
|
_javacbin = rebase_path("//flutter/third_party/java/openjdk/bin/javac")
|
||||||
_jarbin = rebase_path("//third_party/java/openjdk/bin/jar")
|
_jarbin = rebase_path("//flutter/third_party/java/openjdk/bin/jar")
|
||||||
}
|
}
|
||||||
|
|
||||||
args = [
|
args = [
|
||||||
|
@ -26,9 +26,9 @@ def java_home():
|
|||||||
script_path = os.path.dirname(os.path.realpath(__file__))
|
script_path = os.path.dirname(os.path.realpath(__file__))
|
||||||
if is_mac():
|
if is_mac():
|
||||||
return os.path.join(
|
return os.path.join(
|
||||||
script_path, '..', '..', '..', '..', 'third_party', 'java', 'openjdk', 'Contents', 'Home'
|
script_path, '..', '..', '..', 'third_party', 'java', 'openjdk', 'Contents', 'Home'
|
||||||
)
|
)
|
||||||
return os.path.join(script_path, '..', '..', 'third_party', 'java', 'openjdk')
|
return os.path.join(script_path, '..', 'third_party', 'java', 'openjdk')
|
||||||
|
|
||||||
|
|
||||||
def java_bin():
|
def java_bin():
|
||||||
|
@ -26,13 +26,11 @@ ANDROID_HOME = os.path.normpath(
|
|||||||
|
|
||||||
if platform.system() == 'Darwin':
|
if platform.system() == 'Darwin':
|
||||||
JAVA_HOME = os.path.normpath(
|
JAVA_HOME = os.path.normpath(
|
||||||
os.path.join(
|
os.path.join(SCRIPT_PATH, '..', '..', 'third_party', 'java', 'openjdk', 'Contents', 'Home')
|
||||||
SCRIPT_PATH, '..', '..', '..', 'third_party', 'java', 'openjdk', 'Contents', 'Home'
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
JAVA_HOME = os.path.normpath(
|
JAVA_HOME = os.path.normpath(
|
||||||
os.path.join(SCRIPT_PATH, '..', '..', '..', 'third_party', 'java', 'openjdk')
|
os.path.join(SCRIPT_PATH, '..', '..', 'third_party', 'java', 'openjdk')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -691,10 +691,8 @@ def assert_expected_xcode_version():
|
|||||||
def java_home():
|
def java_home():
|
||||||
script_path = os.path.dirname(os.path.realpath(__file__))
|
script_path = os.path.dirname(os.path.realpath(__file__))
|
||||||
if is_mac():
|
if is_mac():
|
||||||
return os.path.join(
|
return os.path.join(script_path, '..', 'third_party', 'java', 'openjdk', 'Contents', 'Home')
|
||||||
script_path, '..', '..', 'third_party', 'java', 'openjdk', 'Contents', 'Home'
|
return os.path.join(script_path, '..', 'third_party', 'java', 'openjdk')
|
||||||
)
|
|
||||||
return os.path.join(script_path, '..', '..', 'third_party', 'java', 'openjdk')
|
|
||||||
|
|
||||||
|
|
||||||
def java_bin():
|
def java_bin():
|
||||||
|
@ -166,9 +166,9 @@ ArgParser setupOptions() {
|
|||||||
|
|
||||||
String getJavaHome(String src) {
|
String getJavaHome(String src) {
|
||||||
if (Platform.isMacOS) {
|
if (Platform.isMacOS) {
|
||||||
return path.normalize('$src/third_party/java/openjdk/Contents/Home/');
|
return path.normalize('$src/flutter/third_party/java/openjdk/Contents/Home/');
|
||||||
}
|
}
|
||||||
return path.normalize('$src/third_party/java/openjdk/');
|
return path.normalize('$src/flutter/third_party/java/openjdk/');
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The root directory of this project.
|
/// The root directory of this project.
|
||||||
|
@ -17,17 +17,15 @@ SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
|
|||||||
def JavadocBin():
|
def JavadocBin():
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
return os.path.join(
|
return os.path.join(
|
||||||
SCRIPT_DIR, '..', '..', '..', 'third_party', 'java', 'openjdk', 'Contents', 'Home', 'bin',
|
SCRIPT_DIR, '..', '..', 'third_party', 'java', 'openjdk', 'Contents', 'Home', 'bin',
|
||||||
'javadoc'
|
'javadoc'
|
||||||
)
|
)
|
||||||
elif sys.platform.startswith(('cygwin', 'win')):
|
elif sys.platform.startswith(('cygwin', 'win')):
|
||||||
return os.path.join(
|
return os.path.join(
|
||||||
SCRIPT_DIR, '..', '..', '..', 'third_party', 'java', 'openjdk', 'bin', 'javadoc.exe'
|
SCRIPT_DIR, '..', '..', 'third_party', 'java', 'openjdk', 'bin', 'javadoc.exe'
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
return os.path.join(
|
return os.path.join(SCRIPT_DIR, '..', '..', 'third_party', 'java', 'openjdk', 'bin', 'javadoc')
|
||||||
SCRIPT_DIR, '..', '..', '..', 'third_party', 'java', 'openjdk', 'bin', 'javadoc'
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
@ -105,6 +105,7 @@ final Set<String> skippedPaths = <String>{
|
|||||||
r'flutter/third_party/inja/doc', // documentation
|
r'flutter/third_party/inja/doc', // documentation
|
||||||
r'flutter/third_party/inja/third_party/amalgamate', // only used at build time
|
r'flutter/third_party/inja/third_party/amalgamate', // only used at build time
|
||||||
r'flutter/third_party/inja/third_party/include/doctest', // seems to be a unit test library
|
r'flutter/third_party/inja/third_party/include/doctest', // seems to be a unit test library
|
||||||
|
r'flutter/third_party/java', // only used for Android builds
|
||||||
r'flutter/third_party/json/docs',
|
r'flutter/third_party/json/docs',
|
||||||
r'flutter/third_party/libcxx/benchmarks',
|
r'flutter/third_party/libcxx/benchmarks',
|
||||||
r'flutter/third_party/libcxx/docs',
|
r'flutter/third_party/libcxx/docs',
|
||||||
@ -222,7 +223,6 @@ final Set<String> skippedPaths = <String>{
|
|||||||
r'fuchsia/sdk/mac/tools',
|
r'fuchsia/sdk/mac/tools',
|
||||||
r'out', // output of build
|
r'out', // output of build
|
||||||
r'third_party/android_tools', // excluded on advice
|
r'third_party/android_tools', // excluded on advice
|
||||||
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/libxml', // dependency of the testing system that we don't actually use
|
||||||
r'tools', // not distributed in binary
|
r'tools', // not distributed in binary
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user