diff --git a/BUILD.gn b/BUILD.gn index c86ed4160669dd3ce28adc4cfa351d97a84ca7c7..d7002f07a05b108402d68d1a8a12e1879a60ffb5 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -98,6 +98,23 @@ if (defined(ohos_lite)) { "Pe068,Pa093,Pe111,Pa181,Pe128,Pe161,Pe177,Pe185,Pe186,Pe550,Pe554", ] cflags_cc = cflags + } else if (defined(board_toolchain_type) && + board_toolchain_type == "clang") { + target_type = "static_library" + defines = [ + "HB_TINY", + "HB_CUSTOM_MALLOC", + "HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING", + "HB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR", + ] + cflags = [ + "-Wall", + "-Wno-error=unused-variable", + "-Wno-unused-variable", + "-Wno-error=extra-semi-stmt", + "-Wno-extra-semi-stmt", + ] + cflags_cc = cflags } else { target_type = "shared_library" defines = [ "HAVE_PTHREAD = 1" ] diff --git a/README.OpenSource b/README.OpenSource index 332ffda483b789b7d7f3d455595294d6017023d1..e887c5a7ad982635ae0fe405d76fd10aaca48a0d 100755 --- a/README.OpenSource +++ b/README.OpenSource @@ -1,6 +1,6 @@ [ { - "Name" : "harfbuzz", + "Name" : "openEuler:HarfBuzz", "License" : "MIT License", "License File" : "COPYING", "Version Number" : "2.8.2-4.oe2203sp3", diff --git a/bundle.json b/bundle.json index 6dcbf07dc1fd040a199745ef29e3d71dcbf7f064..29b055cf10114ced775db272250644838860eed4 100644 --- a/bundle.json +++ b/bundle.json @@ -15,7 +15,10 @@ "subsystem": "thirdparty", "syscap": [], "features": [], - "adapted_system_type": [ "standard"], + "adapted_system_type": [ + "small", + "mini" + ], "rom": "", "ram": "", "deps": {