diff --git a/BUILD.gn b/BUILD.gn deleted file mode 100755 index 06eadf8659289894c119d9c55f5c97b837f9dfaf..0000000000000000000000000000000000000000 --- a/BUILD.gn +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved. - -if (defined(ohos_lite)) { - import("//build/lite/config/component/lite_component.gni") -} else { - import("//build/ohos.gni") -} - -config("libjpeg_config") { - include_dirs = [ "//third_party/libjpeg" ] -} - -libjpeg_source = [ - "//third_party/libjpeg/cdjpeg.c", - "//third_party/libjpeg/jaricom.c", - "//third_party/libjpeg/jcapimin.c", - "//third_party/libjpeg/jcapistd.c", - "//third_party/libjpeg/jcarith.c", - "//third_party/libjpeg/jccoefct.c", - "//third_party/libjpeg/jccolor.c", - "//third_party/libjpeg/jcdctmgr.c", - "//third_party/libjpeg/jchuff.c", - "//third_party/libjpeg/jcinit.c", - "//third_party/libjpeg/jcmainct.c", - "//third_party/libjpeg/jcmarker.c", - "//third_party/libjpeg/jcmaster.c", - "//third_party/libjpeg/jcomapi.c", - "//third_party/libjpeg/jcparam.c", - "//third_party/libjpeg/jcprepct.c", - "//third_party/libjpeg/jcsample.c", - "//third_party/libjpeg/jctrans.c", - "//third_party/libjpeg/jdapimin.c", - "//third_party/libjpeg/jdapistd.c", - "//third_party/libjpeg/jdarith.c", - "//third_party/libjpeg/jdatadst.c", - "//third_party/libjpeg/jdatasrc.c", - "//third_party/libjpeg/jdcoefct.c", - "//third_party/libjpeg/jdcolor.c", - "//third_party/libjpeg/jddctmgr.c", - "//third_party/libjpeg/jdhuff.c", - "//third_party/libjpeg/jdinput.c", - "//third_party/libjpeg/jdmainct.c", - "//third_party/libjpeg/jdmarker.c", - "//third_party/libjpeg/jdmaster.c", - "//third_party/libjpeg/jdmerge.c", - "//third_party/libjpeg/jdpostct.c", - "//third_party/libjpeg/jdsample.c", - "//third_party/libjpeg/jdtrans.c", - "//third_party/libjpeg/jerror.c", - "//third_party/libjpeg/jfdctflt.c", - "//third_party/libjpeg/jfdctfst.c", - "//third_party/libjpeg/jfdctint.c", - "//third_party/libjpeg/jidctflt.c", - "//third_party/libjpeg/jidctfst.c", - "//third_party/libjpeg/jidctint.c", - "//third_party/libjpeg/jmemmgr.c", - "//third_party/libjpeg/jmemnobs.c", - "//third_party/libjpeg/jquant1.c", - "//third_party/libjpeg/jquant2.c", - "//third_party/libjpeg/jutils.c", - "//third_party/libjpeg/rdbmp.c", - "//third_party/libjpeg/rdcolmap.c", - "//third_party/libjpeg/rdgif.c", - "//third_party/libjpeg/rdppm.c", - "//third_party/libjpeg/rdrle.c", - "//third_party/libjpeg/rdswitch.c", - "//third_party/libjpeg/rdtarga.c", - "//third_party/libjpeg/transupp.c", -] - -if (defined(ohos_lite)) { - lite_library("libjpeg") { - if (ohos_kernel_type == "liteos_m") { - target_type = "static_library" - if (board_toolchain_type == "iccarm") { - cflags = [ - "--diag_suppress", - "Pe188,Pa089", - ] - cflags_cc = cflags - } - } else { - target_type = "shared_library" - } - sources = libjpeg_source - - public_configs = [ ":libjpeg_config" ] - } -} else { - ohos_static_library("libjpeg_static") { - sources = libjpeg_source - - public_configs = [ ":libjpeg_config" ] - } -} diff --git a/bundle.json b/bundle.json deleted file mode 100644 index 36f0a1441429e405006286881d08fe6dc26cc75f..0000000000000000000000000000000000000000 --- a/bundle.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "name": "@ohos/libjpeg", - "description": "IJG is an informal group that writes and distributes a widely used free library for JPEG image compression", - "version": "3.1", - "license": "JPEG License", - "publishAs": "code-segment", - "segment": { - "destPath": "third_party/libjpeg" - }, - "dirs": {}, - "scripts": {}, - "licensePath": "README", - "readmePath": { - "en": "" - }, - "component": { - "name": "thirdparty_libjpeg", - "subsystem": "", - "syscap": [], - "features": [], - "adapted_system_type": [], - "rom": "", - "ram": "", - "deps": { - "components": [], - "third_party": [] - }, - "build": { - "sub_component": [], - "inner_kits": [], - "test": [] - } - } -} \ No newline at end of file