make/conf/jib-profiles.js
changeset 47292 798610a8a552
parent 47217 72e3ae9a25eb
child 47364 6b3389375f31
child 47611 7eda0a64c199
equal deleted inserted replaced
47291:c87f7ff9ef65 47292:798610a8a552
   898                     remote: "bundles/openjdk/GPL/windows-x86/\\1",
   898                     remote: "bundles/openjdk/GPL/windows-x86/\\1",
   899                 }
   899                 }
   900             }
   900             }
   901         },
   901         },
   902 
   902 
       
   903         "windows-x64-open": {
       
   904             artifacts: {
       
   905                 jdk: {
       
   906                     local: "bundles/\\(jdk.*bin.tar.gz\\)",
       
   907                     remote: [
       
   908                         "bundles/openjdk/GPL/windows-x64/jdk-" + data.version
       
   909                             + "_windows-x64_bin.tar.gz",
       
   910                         "bundles/openjdk/GPL/windows-x64/\\1"
       
   911                     ],
       
   912                     subdir: "jdk-" + data.version
       
   913                 },
       
   914                 jre: {
       
   915                     local: "bundles/\\(jre.*bin.tar.gz\\)",
       
   916                     remote: "bundles/openjdk/GPL/windows-x64/\\1"
       
   917                 },
       
   918                 test: {
       
   919                     local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
       
   920                     remote: [
       
   921                         "bundles/openjdk/GPL/windows-x64/jdk-" + data.version
       
   922                             + "_windows-x64_bin-tests.tar.gz",
       
   923                         "bundles/openjdk/GPL/windows-x64/\\1"
       
   924                     ]
       
   925                 },
       
   926                 jdk_symbols: {
       
   927                     local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
       
   928                     remote: [
       
   929                         "bundles/openjdk/GPL/windows-x64/jdk-" + data.version
       
   930                             + "_windows-x64_bin-symbols.tar.gz",
       
   931                         "bundles/openjdk/GPL/windows-x64/\\1"
       
   932                     ],
       
   933                     subdir: "jdk-" + data.version
       
   934                 },
       
   935                 jre_symbols: {
       
   936                     local: "bundles/\\(jre.*bin-symbols.tar.gz\\)",
       
   937                     remote: "bundles/openjdk/GPL/windows-x64/\\1",
       
   938                 }
       
   939             }
       
   940         },
       
   941 
   903         "linux-x86-open-debug": {
   942         "linux-x86-open-debug": {
   904             artifacts: {
   943             artifacts: {
   905                 jdk: {
   944                 jdk: {
   906                     local: "bundles/\\(jdk.*bin-debug.tar.gz\\)",
   945                     local: "bundles/\\(jdk.*bin-debug.tar.gz\\)",
   907                     remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
   946                     remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
   927     profiles["linux-x64-ri"] = clone(profiles["linux-x64-open"]);
   966     profiles["linux-x64-ri"] = clone(profiles["linux-x64-open"]);
   928     profiles["linux-x86-ri"] = clone(profiles["linux-x86-open"]);
   967     profiles["linux-x86-ri"] = clone(profiles["linux-x86-open"]);
   929     profiles["linux-x86-ri-debug"] = clone(profiles["linux-x86-open-debug"]);
   968     profiles["linux-x86-ri-debug"] = clone(profiles["linux-x86-open-debug"]);
   930     profiles["macosx-x64-ri"] = clone(profiles["macosx-x64-open"]);
   969     profiles["macosx-x64-ri"] = clone(profiles["macosx-x64-open"]);
   931     profiles["windows-x86-ri"] = clone(profiles["windows-x86-open"]);
   970     profiles["windows-x86-ri"] = clone(profiles["windows-x86-open"]);
       
   971     profiles["windows-x64-ri"] = clone(profiles["windows-x64-open"]);
   932 
   972 
   933     // Generate artifacts for ri profiles
   973     // Generate artifacts for ri profiles
   934     [ "linux-x64-ri", "linux-x86-ri", "linux-x86-ri-debug", "macosx-x64-ri", "windows-x86-ri" ]
   974     [ "linux-x64-ri", "linux-x86-ri", "linux-x86-ri-debug", "macosx-x64-ri", "windows-x86-ri", "windows-x64-ri" ]
   935         .forEach(function (name) {
   975         .forEach(function (name) {
   936             // Rewrite all remote dirs to "bundles/openjdk/BCL/..."
   976             // Rewrite all remote dirs to "bundles/openjdk/BCL/..."
   937             for (artifactName in profiles[name].artifacts) {
   977             for (artifactName in profiles[name].artifacts) {
   938                 var artifact = profiles[name].artifacts[artifactName];
   978                 var artifact = profiles[name].artifacts[artifactName];
   939                 artifact.remote = replaceAll("\/GPL\/", "/BCL/",
   979                 artifact.remote = replaceAll("\/GPL\/", "/BCL/",
   945     profilesRiFreetype = {
   985     profilesRiFreetype = {
   946         "windows-x86-ri": {
   986         "windows-x86-ri": {
   947             configure_args: "--with-freetype-license="
   987             configure_args: "--with-freetype-license="
   948                 + input.get("freetype", "install_path")
   988                 + input.get("freetype", "install_path")
   949                 + "/freetype-2.7.1-v120-x86/freetype.md"
   989                 + "/freetype-2.7.1-v120-x86/freetype.md"
       
   990         },
       
   991         "windows-x64-ri": {
       
   992             configure_args: "--with-freetype-license="
       
   993                 + input.get("freetype", "install_path")
       
   994                 + "/freetype-2.7.1-v120-x64/freetype.md"
   950         }
   995         }
   951     };
   996     };
   952     profiles = concatObjects(profiles, profilesRiFreetype);
   997     profiles = concatObjects(profiles, profilesRiFreetype);
   953 
   998 
   954     // Generate the missing platform attributes
   999     // Generate the missing platform attributes