Skip to content

Commit

Permalink
Merge from (root)
Browse files Browse the repository at this point in the history
  • Loading branch information
javafxports-github-bot committed Aug 20, 2018
2 parents ef98184 + b31dc0f commit 3934566
Show file tree
Hide file tree
Showing 530 changed files with 14 additions and 86,879 deletions.
1 change: 0 additions & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" exported="true" path="/web"/>
<classpathentry kind="src" exported="true" path="/fxml"/>
<classpathentry kind="src" exported="true" path="/fxpackager"/>
<classpathentry kind="src" exported="true" path="/swt"/>
<classpathentry kind="src" exported="true" path="/swing"/>
<classpathentry kind="src" exported="true" path="/media"/>
Expand Down
17 changes: 0 additions & 17 deletions .idea/fxpackager.iml

This file was deleted.

1 change: 0 additions & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .idea/rt.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

664 changes: 2 additions & 662 deletions build.gradle

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion buildSrc/android.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ def armArchs = ["armeabi", "armeabiv-7a"]
ANDROID = [:]
ANDROID.compileSwing = false;
ANDROID.compileSWT = false;
ANDROID.compileFXPackager = false;
ANDROID.glassPlatform = "android"
ANDROID.armArch = armArchs[0]
ANDROID.libDest = "lib"
Expand Down
3 changes: 1 addition & 2 deletions buildSrc/armv6hf.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -77,7 +77,6 @@ ARMV6HF.library = { name -> return "lib${name}.so" as String }

ARMV6HF.compileSwing = false;
ARMV6HF.compileSWT = false;
ARMV6HF.compileFXPackager = false;
ARMV6HF.compileWebnodeNative = false;
ARMV6HF.compileMediaNative = false;

Expand Down
1 change: 0 additions & 1 deletion buildSrc/dalvik.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def armArchs = ["armeabi", "armeabiv-7a"]
ext.DALVIK = [:]
DALVIK.compileSwing = false;
DALVIK.compileSWT = false;
DALVIK.compileFXPackager = false;
DALVIK.compileDesignTime = false;
DALVIK.glassPlatform = "android"
DALVIK.armArch = armArchs[0]
Expand Down
3 changes: 1 addition & 2 deletions buildSrc/ios.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -37,7 +37,6 @@ if (!IOS.canBuild) return;

IOS.compileSwing = false;
IOS.compileSWT = false;
IOS.compileFXPackager = false;

defineProperty("USE_LIPO", "false")
IOS.useLipo = Boolean.parseBoolean(USE_LIPO)
Expand Down
21 changes: 0 additions & 21 deletions buildSrc/linux.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ if (!LINUX.canBuild) return;
// All desktop related packages should be built
LINUX.compileSwing = true;
LINUX.compileSWT = true;
LINUX.compileFXPackager = true;

// Libraries end up in the lib/$OS_ARCH directory for Linux
LINUX.libDest = "lib"
Expand Down Expand Up @@ -258,26 +257,6 @@ LINUX.prismSW.linker = linker
LINUX.prismSW.linkFlags = [linkFlags].flatten()
LINUX.prismSW.lib = "prism_sw"

LINUX.launcher = [:]
LINUX.launcher.compiler = compiler
LINUX.launcher.ccFlags = ["-Wextra", "-Wformat", "-Wformat-security", "-DJAVAARCH=\"$OS_ARCH\"", "-I$JDK_HOME/include", "-I$JDK_HOME/include/linux", "-c"]
LINUX.launcher.linker = linker
LINUX.launcher.linkFlags = ["-ldl"]
if (!IS_64) {
LINUX.launcher.ccFlags += "-m32"
LINUX.launcher.linkFlags += "-m32"
}

LINUX.launcherlibrary = [:]
LINUX.launcherlibrary.compiler = compiler
LINUX.launcherlibrary.ccFlags = ["-Wextra", "-Wformat", "-Wformat-security", "-DJAVAARCH=\"$OS_ARCH\"", "-I$JDK_HOME/include", "-I$JDK_HOME/include/linux", "-c", "-fPIC", "-std=gnu++98", "-ffunction-sections", "-fdata-sections"]
LINUX.launcherlibrary.linker = linker
LINUX.launcherlibrary.linkFlags = ["-ldl", "-lpthread", "-shared", "-static-libgcc", "-static-libstdc++", "-Wl,--gc-sections"]
if (!IS_64) {
LINUX.launcherlibrary.ccFlags += "-m32"
LINUX.launcherlibrary.linkFlags += "-m32"
}

LINUX.iio = [:]
LINUX.iio.nativeSource = [
file("${project("graphics").projectDir}/src/main/native-iio"),
Expand Down
25 changes: 1 addition & 24 deletions buildSrc/mac.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -31,7 +31,6 @@ if (!MAC.canBuild) return;
// All desktop related packages should be built
MAC.compileSwing = true;
MAC.compileSWT = true;
MAC.compileFXPackager = true;

MAC.includeNull3d = true

Expand Down Expand Up @@ -168,28 +167,6 @@ MAC.prismSW.linker = linker
MAC.prismSW.linkFlags = [MAC.prism.linkFlags].flatten()
MAC.prismSW.lib = "prism_sw"

MAC.launcher = [:]
MAC.launcher.compiler = compiler
MAC.launcher.ccFlags = [
"-std=c99",
ccBaseFlags,
"-framework", "Cocoa",
IS_DEBUG_NATIVE ? ["-DDEBUG", "-O0"] : ["-O3", "-DNDEBUG"]].flatten()
MAC.launcher.linker = linker
MAC.launcher.linkFlags = ["-ldl"]

MAC.launcherlibrary = [:]
MAC.launcherlibrary.compiler = compiler
MAC.launcherlibrary.ccFlags = [
"-c",
ccBaseFlags,
IS_DEBUG_NATIVE ? ["-DDEBUG", "-O0"] : ["-O3", "-DNDEBUG"]].flatten()
MAC.launcherlibrary.ccFlags += "-stdlib=libstdc++"
MAC.launcherlibrary.linker = linker
MAC.launcherlibrary.linkFlags = ["-ldl", "-dynamiclib",
"-framework", "Cocoa",
"-stdlib=libstdc++"]

MAC.iio = [:]
MAC.iio.javahInclude = ["com/sun/javafx/iio/**/*"]
MAC.iio.nativeSource = [
Expand Down
42 changes: 1 addition & 41 deletions buildSrc/win.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ if (!WIN.canBuild) return;

WIN.compileSwing = true;
WIN.compileSWT = true;
WIN.compileFXPackager = true;

WIN.includeNull3d = true

Expand Down Expand Up @@ -104,7 +103,7 @@ if (winVsVer >= 120) {
}


// Common set of flags for all modules except fxpackager
// Common set of flags for all modules
def ccFlags = ["/nologo", "/W3", "/EHsc", "/c",
"/D_STATIC_CPPLIB", "/D_DISABLE_DEPRECATE_STATIC_CPPLIB", "/DINLINE=__inline",
"/DUNICODE", "/D_UNICODE", "/DWIN32", "/DIAL", "/D_LITTLE_ENDIAN", "/DWIN32_LEAN_AND_MEAN",
Expand Down Expand Up @@ -365,45 +364,6 @@ WIN.prismD3D.rcCompiler = rcCompiler;
WIN.prismD3D.rcSource = defaultRcSource
WIN.prismD3D.rcFlags = ["/d", "JFX_FNAME=prism_d3d.dll", "/d", "JFX_INTERNAL_NAME=prismD3D", rcFlags].flatten();

WIN.launcher = [:]
WIN.launcher.compiler = compiler
WIN.launcher.ccFlags = ["/nologo", "/W3", "/MT", "/EHsc", "/D_WINDOWS", "/DUNICODE", "/D_UNICODE", "/DWIN32",
"/D_LITTLE_ENDIAN", "/DWIN32_LEAN_AND_MEAN", "/I$JDK_HOME/include", "/I$JDK_HOME/include/win32",
ccDebugFlags].flatten();
WIN.launcher.linker = linker
WIN.launcher.linkFlags = ["/link", "/nologo", "/WX", "/SUBSYSTEM:WINDOWS", "user32.lib", "shell32.lib", "advapi32.lib"]
if (IS_DEBUG_NATIVE) WIN.launcher.linkFlags.add("/debug");

WIN.launcherlibrary = [:]
WIN.launcherlibrary.compiler = compiler
WIN.launcherlibrary.ccFlags = ["/nologo", "/W3",
// "/WX",
"/EHsc", "/c", "/D_WINDOWS", "/DUNICODE", "/D_UNICODE", "/DWIN32",
"/D_LITTLE_ENDIAN", "/DWIN32_LEAN_AND_MEAN", "/I$JDK_HOME/include", "/I$JDK_HOME/include/win32",
ccDebugFlags].flatten();
WIN.launcherlibrary.linker = linker
WIN.launcherlibrary.linkFlags = ["/nologo", "/WX", "/DLL", "/SUBSYSTEM:WINDOWS", "user32.lib", "shell32.lib", "advapi32.lib", "ole32.lib"]
if (IS_DEBUG_NATIVE) WIN.launcherlibrary.linkFlags.add("/debug");

WIN.fxpackager = [:]
WIN.fxpackager.nativeSource = [
file("${project("fxpackager").projectDir}/src/main/native/javapackager/win")]
WIN.fxpackager.compiler = compiler
WIN.fxpackager.ccFlags = ["/nologo", "/W3", "/EHsc", "/MT", "/GS", "/DUNICODE", "/D_UNICODE",
"/DWIN32", "/D_LITTLE_ENDIAN", "/DWIN32_LEAN_AND_MEAN",
"/D_WIN32_WINDOWS=0X0500", "/D_WIN32_WINNT=0X0500",
"/I$JDK_HOME/include", "/I$JDK_HOME/include/win32",
"/O2", "-c"]
WIN.fxpackager.linker = linker
WIN.fxpackager.linkFlags = ["/nologo", "/SUBSYSTEM:CONSOLE", "/opt:REF", "/incremental:no", "/manifest", "kernel32.lib", "advapi32.lib"];
WIN.fxpackager.rcSource = file("${project("fxpackager").projectDir}/src/main/native/javapackager/win/javapackager.rc")
WIN.fxpackager.rcCompiler = rcCompiler
WIN.fxpackager.rcFlags = [
"/l", "0x409",
"/d", "JFX_FNAME=javapackager.exe",
"/d", "JFX_INTERNAL_NAME=javapackager",
rcFlags].flatten();

WIN.iio = [:]
WIN.iio.javahInclude = ["com/sun/javafx/iio/**/*"]
WIN.iio.nativeSource = [
Expand Down
28 changes: 0 additions & 28 deletions dependencies/java.base/module-info.java.extra

This file was deleted.

26 changes: 0 additions & 26 deletions dependencies/jdk.jlink/module-info.java.extra

This file was deleted.

Loading

0 comments on commit 3934566

Please sign in to comment.