build-profile.json5 8.33 KB
{
  "app": {
    //    "signingConfigs": [
    //      {
    //        "name": "default",
    //        "type": "HarmonyOS",
    //        "material": {
    //          "certpath": "C:\\Users\\pc\\.ohos\\config\\default_sight_harmony_l75MehGV9G3TUayEtL68-EIWqyYDqfVXfu9D-DPJ7I0=.cer",
    //          "storePassword": "0000001AB256FAF47AA4D68E4841C95D357490DE9FBB26A3A9161AD3069E31B3623E25CB49409CCA9CF7",
    //          "keyAlias": "debugKey",
    //          "keyPassword": "0000001AFB06818C2BC8DC275326668AAC62B91EBF7D3F84E8BE0F156D02623AA0F4F8C6B73F362CB371",
    //          "profile": "C:\\Users\\pc\\.ohos\\config\\default_sight_harmony_l75MehGV9G3TUayEtL68-EIWqyYDqfVXfu9D-DPJ7I0=.p7b",
    //          "signAlg": "SHA256withECDSA",
    //          "storeFile": "C:\\Users\\pc\\.ohos\\config\\default_sight_harmony_l75MehGV9G3TUayEtL68-EIWqyYDqfVXfu9D-DPJ7I0=.p12"
    //        }
    //      }
    //    ],
    "signingConfigs": [
      {
        "name": "default",
        "type": "HarmonyOS",
        "material": {
          "certpath": "C:\\Users\\Thurman\\.ohos\\config\\default_sight_harmony_QWBSqgX-h8PHbOj8MRnxCwvXCUltlp6P5ebKMKA51TI=.cer",
          "storePassword": "00000019007D1BE372F9267A310C953AEA12FDB4353D441C310E4A4611BFEC577D837C9530B345C64D",
          "keyAlias": "debugKey",
          "keyPassword": "00000019D1436C0369AD6985BD560FAE6620037BB413CBE4E84AE05AD76BC45E637F5FB1E101B70922",
          "profile": "C:\\Users\\Thurman\\.ohos\\config\\default_sight_harmony_QWBSqgX-h8PHbOj8MRnxCwvXCUltlp6P5ebKMKA51TI=.p7b",
          "signAlg": "SHA256withECDSA",
          "storeFile": "C:\\Users\\Thurman\\.ohos\\config\\default_sight_harmony_QWBSqgX-h8PHbOj8MRnxCwvXCUltlp6P5ebKMKA51TI=.p12"
        }
      },
      {
        "name": "release",
        "type": "HarmonyOS",
        "material": {
          "certpath": "./singing_config/manual_com.peopledailychina.hosactivity_sign/鸿蒙中文版客户端证书正式.cer",
          "storePassword": "0000001E4D643D92F70DFDD813B928597AD5724094204DEB350DE798DBC2FBDAD97C54B58B01CC1B1756F6ED5EDE",
          "keyAlias": "peopledailyhosalias",
          "keyPassword": "0000001E33EC19E6AB58A6E4968586FEAB93B0990CA5A204048F4630232D6C77A89B5919EC9545ADDA7B4BB56BB4",
          "profile": "./singing_config/manual_com.peopledailychina.hosactivity_sign/peopledailychina-hos-profile-releaseRelease.p7b",
          "signAlg": "SHA256withECDSA",
          "storeFile": "./singing_config/manual_com.peopledailychina.hosactivity_sign/keystorefile.p12"
        }
      }
    ],
    "products": [
      {
        "name": "default",
        "signingConfig": "default",
        "compileSdkVersion": "5.0.0(12)",
        "compatibleSdkVersion": "5.0.0(12)",
        "runtimeOS": "HarmonyOS",
        "buildOption": {
          "arkOptions": {
            "buildProfileFields": {
              "BUILD_VERSION": ""
            }
          },
          "strictMode": {
            "useNormalizedOHMUrl": true
          }
        },
      },
      {
        "name": "productRELEASE",
        "signingConfig": "release",
        "compileSdkVersion": "5.0.0(12)",
        "compatibleSdkVersion": "5.0.0(12)",
        "runtimeOS": "HarmonyOS",
        "buildOption": {
          "arkOptions": {
            "buildProfileFields": {
              "BUILD_VERSION": ""
            }
          },
          "strictMode": {
            "useNormalizedOHMUrl": true
          }
        }
      }
    ],
    "buildModeSet": [
      {
        "name": "debug",
      },
      {
        "name": "release"
      }
    ]
  },
  "modules": [
    {
      "name": "phone",
      "srcPath": "./products/phone",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdConstant",
      "srcPath": "./commons/wdConstant",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdKit",
      "srcPath": "./commons/wdKit",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdBean",
      "srcPath": "./features/wdBean",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdComponent",
      "srcPath": "./features/wdComponent",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdNetwork",
      "srcPath": "./commons/wdNetwork",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdRouter",
      "srcPath": "./commons/wdRouter",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdJsBridge",
      "srcPath": "./commons/wdJsBridge"
    },
    {
      "name": "wdWebComponent",
      "srcPath": "./commons/wdWebComponent",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    //    {
    //      "name": "wdLayout",
    //      "srcPath": "./wdLayout",
    //      "targets": [
    //        {
    //          "name": "default",
    //          "applyToProducts": [
    //            "default"
    //          ]
    //        }
    //      ]
    //    },
    {
      "name": "wdPlayer",
      "srcPath": "./features/wdPlayer",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdDetailPlayApi",
      "srcPath": "./features/wdDetailPlayApi",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdDetailPlayShortVideo",
      "srcPath": "./features/wdDetailPlayShortVideo",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdDetailPlayVod",
      "srcPath": "./features/wdDetailPlayVod",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdDetailPlayLive",
      "srcPath": "./features/wdDetailPlayLive",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdLogin",
      "srcPath": "./features/wdLogin",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdHwAbility",
      "srcPath": "./features/wdHwAbility",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdShareBase",
      "srcPath": "./commons/wdShareBase",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdShare",
      "srcPath": "./features/wdShare",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    },
    {
      "name": "wdTracking",
      "srcPath": "./features/wdTracking",
      "targets": [
        {
          "name": "default",
          "applyToProducts": [
            "default",
            "productRELEASE"
          ]
        }
      ]
    }
  ]
}