mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-27 01:03:08 +00:00
commit
a2a265a57b
@ -41,7 +41,7 @@ class PaBackend : public Backend {
|
||||
public:
|
||||
|
||||
PaBackend() = default;
|
||||
~PaBackend() override;
|
||||
~PaBackend() noexcept override;
|
||||
|
||||
bool Initialize(BackendType type, SrcLanguage language) override;
|
||||
|
||||
|
@ -16,5 +16,6 @@ import("//build/ohos.gni")
|
||||
ohos_prebuilt_etc("ohos.para.dac") {
|
||||
source = "//foundation/arkui/ace_engine/adapter/ohos/services/etc/ace_engine.para.dac"
|
||||
part_name = "ace_engine"
|
||||
subsystem_name = "arkui"
|
||||
module_install_dir = "etc/param"
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//arkcompiler/ets_frontend/es2panda/es2abc_config.gni")
|
||||
import("//build/config/components/ets_frontend/es2abc_config.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//foundation/arkui/ace_engine/ace_config.gni")
|
||||
import("//foundation/arkui/ace_engine/adapter/preview/build/config.gni")
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "bridge/cj_frontend/interfaces/cj_ffi/cj_image_ffi.h"
|
||||
|
||||
#ifndef __NON_OHOS__
|
||||
#include "foundation/multimedia/image_framework/frameworks/kits/cj/include/pixel_map_impl.h"
|
||||
#include "pixel_map_impl.h"
|
||||
#endif
|
||||
#include "cj_lambda.h"
|
||||
#include "core/components_ng/pattern/image/image_model_ng.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "core/components_ng/base/view_abstract_model_ng.h"
|
||||
#include "core/components_ng/base/view_stack_model.h"
|
||||
#ifndef _NON_OHOS_
|
||||
#include "foundation/multimedia/image_framework/frameworks/kits/cj/include/pixel_map_impl.h"
|
||||
#include "pixel_map_impl.h"
|
||||
|
||||
#include "adapter/ohos/osal/pixel_map_ohos.h"
|
||||
#endif
|
||||
|
@ -13,8 +13,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "foundation/multimedia/image_framework/frameworks/kits/cj/include/pixel_map_impl.h"
|
||||
#include "bridge/cj_frontend/interfaces/cj_ffi/cj_richeditor_controller_ffi.h"
|
||||
|
||||
#include "pixel_map_impl.h"
|
||||
|
||||
#include "bridge/common/utils/utils.h"
|
||||
|
||||
using namespace OHOS::Ace;
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "core/components_ng/pattern/shape/shape_model_ng.h"
|
||||
|
||||
#ifndef _NON_OHOS_
|
||||
#include "foundation/multimedia/image_framework/frameworks/kits/cj/include/pixel_map_impl.h"
|
||||
#include "pixel_map_impl.h"
|
||||
#endif
|
||||
|
||||
using namespace OHOS::Ace;
|
||||
|
@ -640,13 +640,17 @@ template("declarative_js_engine") {
|
||||
# add for cross_platfrom_build temporarily, shall be removed after external_deps is supported
|
||||
if (is_arkui_x) {
|
||||
configs += [ "$ark_ets_path:ark_jsruntime_public_config" ]
|
||||
deps += [ "$ark_ets_path:libark_jsruntime_static" ]
|
||||
deps += [
|
||||
"$ace_graphic/rosen/modules/render_service_base:librender_service_base_static",
|
||||
"$ark_ets_path:libark_jsruntime_static",
|
||||
]
|
||||
if (defined(config.pixel_map_support) && config.pixel_map_support) {
|
||||
configs += [ "//foundation/multimedia/image_framework/interfaces/innerkits:image_external_config" ]
|
||||
}
|
||||
} else {
|
||||
external_deps += [
|
||||
"ets_runtime:libark_jsruntime",
|
||||
"graphic_2d:librender_service_base",
|
||||
"napi:ace_napi",
|
||||
]
|
||||
}
|
||||
@ -1068,6 +1072,7 @@ template("declarative_js_engine_ng") {
|
||||
]
|
||||
configs += [ "$ark_ets_path:ark_jsruntime_public_config" ]
|
||||
deps += [
|
||||
"$ace_graphic/rosen/modules/render_service_base:librender_service_base_static",
|
||||
"$ark_ets_path:libark_jsruntime_static",
|
||||
"//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing:drawing_napi_impl",
|
||||
]
|
||||
@ -1077,6 +1082,7 @@ template("declarative_js_engine_ng") {
|
||||
} else {
|
||||
external_deps += [
|
||||
"ets_runtime:libark_jsruntime",
|
||||
"graphic_2d:librender_service_base",
|
||||
"napi:ace_napi",
|
||||
]
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ es2abc_gen_abc("gen_arkComponent_abc") {
|
||||
out_puts = [ base_output_path + "/arkComponent.abc" ]
|
||||
}
|
||||
|
||||
if (!is_arkui_x) {
|
||||
if (!is_arkui_x && (use_mac || use_mingw_win || use_linux)) {
|
||||
es2abc_gen_abc("gen_js_mock_system_plugin_abc") {
|
||||
extra_visibility = [ ":*" ] # Only targets in this file can depend on this.
|
||||
src_js = rebase_path(
|
||||
@ -155,7 +155,7 @@ gen_obj("abc_ark_component") {
|
||||
snapshot_dep = [ ":gen_arkComponent_abc" ]
|
||||
}
|
||||
|
||||
if (!is_arkui_x) {
|
||||
if (!is_arkui_x && (use_mac || use_mingw_win || use_linux)) {
|
||||
gen_obj("abc_mock_system_plugin") {
|
||||
input = base_output_path + "/jsMockSystemPlugin.abc"
|
||||
if (use_mac || use_mingw_win || use_linux) {
|
||||
@ -177,6 +177,7 @@ foreach(item, abc_sources) {
|
||||
ohos_prebuilt_etc("copy_" + item + "_abc") {
|
||||
source = base_output_path + "/" + item + ".abc"
|
||||
deps = [ ":gen_" + item + "_abc" ]
|
||||
subsystem_name = ace_engine_subsystem
|
||||
part_name = ace_engine_part
|
||||
module_install_dir = "etc/abc/framework"
|
||||
}
|
||||
|
@ -20,8 +20,8 @@
|
||||
#include "core/components_ng/base/frame_node.h"
|
||||
#ifdef ENABLE_ROSEN_BACKEND
|
||||
#ifdef TEXGINE_SUPPORT_FOR_OHOS
|
||||
#include "foundation/graphic/graphic_2d/rosen/modules/texgine/src/font_config.h"
|
||||
#include "foundation/graphic/graphic_2d/rosen/modules/texgine/src/font_parser.h"
|
||||
#include "texgine/src/font_config.h"
|
||||
#include "texgine/src/font_parser.h"
|
||||
#endif
|
||||
#endif
|
||||
#ifdef USE_PLATFORM_FONT
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "include/core/SkColor.h"
|
||||
#else
|
||||
#include "rosen_text/typography_types.h"
|
||||
#include "third_party/skia/include/core/SkColor.h"
|
||||
#include "SkColor.h"
|
||||
#endif
|
||||
|
||||
#include "core/components/common/properties/text_style.h"
|
||||
|
@ -45,7 +45,7 @@
|
||||
#include "core/pipeline/base/render_node.h"
|
||||
|
||||
#if defined(ENABLE_STANDARD_INPUT)
|
||||
#include "commonlibrary/c_utils/base/include/refbase.h"
|
||||
#include "refbase.h"
|
||||
|
||||
namespace OHOS::MiscServices {
|
||||
class OnTextChangedListener;
|
||||
|
@ -21,13 +21,14 @@
|
||||
#include <optional>
|
||||
#include <sstream>
|
||||
|
||||
#include "event_handler.h"
|
||||
|
||||
#include "adapter/ohos/entrance/ace_container.h"
|
||||
#include "adapter/ohos/entrance/utils.h"
|
||||
#include "base/json/json_util.h"
|
||||
#include "base/log/ace_trace.h"
|
||||
#include "base/log/log.h"
|
||||
#include "base/memory/referenced.h"
|
||||
#include "base/notification/eventhandler/interfaces/inner_api/event_handler.h"
|
||||
#include "base/ressched/ressched_report.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "base/perfmonitor/perf_monitor.h"
|
||||
@ -47,7 +48,7 @@
|
||||
#include "parameters.h"
|
||||
#include "screen_manager/screen_types.h"
|
||||
#include "system_ability_definition.h"
|
||||
#include "third_party/icu/icu4c/source/common/unicode/ucnv.h"
|
||||
#include "unicode/ucnv.h"
|
||||
#include "transaction/rs_interfaces.h"
|
||||
#include "web_configuration_observer.h"
|
||||
#include "web_javascript_execute_callback.h"
|
||||
|
@ -23,8 +23,8 @@
|
||||
|
||||
#ifdef OHOS_STANDARD_SYSTEM
|
||||
#include "display_type.h"
|
||||
#include "foundation/graphic/graphic_surface/interfaces/inner_api/surface/window.h"
|
||||
#include "foundation/window/window_manager/interfaces/innerkits/wm/window.h"
|
||||
#include "surface/window.h"
|
||||
#include "wm/window.h"
|
||||
#include "render_service_client/core/ui/rs_node.h"
|
||||
#include "render_service_client/core/ui/rs_surface_node.h"
|
||||
#include "surface_delegate.h"
|
||||
|
@ -62,7 +62,7 @@
|
||||
|
||||
#ifndef ACE_UNITTEST
|
||||
#ifdef ENABLE_STANDARD_INPUT
|
||||
#include "commonlibrary/c_utils/base/include/refbase.h"
|
||||
#include "refbase.h"
|
||||
|
||||
#include "core/components_ng/pattern/text_field/on_text_changed_listener_impl.h"
|
||||
#endif
|
||||
|
@ -57,7 +57,7 @@
|
||||
|
||||
#ifndef ACE_UNITTEST
|
||||
#ifdef ENABLE_STANDARD_INPUT
|
||||
#include "commonlibrary/c_utils/base/include/refbase.h"
|
||||
#include "refbase.h"
|
||||
|
||||
namespace OHOS::MiscServices {
|
||||
class OnTextChangedListener;
|
||||
|
@ -76,7 +76,7 @@
|
||||
|
||||
#ifndef ACE_UNITTEST
|
||||
#ifdef ENABLE_STANDARD_INPUT
|
||||
#include "commonlibrary/c_utils/base/include/refbase.h"
|
||||
#include "refbase.h"
|
||||
|
||||
namespace OHOS::MiscServices {
|
||||
class InspectorFilter;
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include <limits>
|
||||
|
||||
#include "drawable_descriptor.h"
|
||||
#include "third_party/cJSON/cJSON.h"
|
||||
#include "cJSON.h"
|
||||
#ifndef PREVIEW
|
||||
#include "image_source.h"
|
||||
#endif
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include <string>
|
||||
|
||||
#include "napi/native_api.h"
|
||||
#include "napi/native_engine/native_value.h"
|
||||
#include "napi/native_node_api.h"
|
||||
|
||||
#include "base/memory/referenced.h"
|
||||
|
@ -24,9 +24,9 @@
|
||||
#include "native_engine/impl/ark/ark_native_engine.h"
|
||||
#include "native_value.h"
|
||||
#include "node_api.h"
|
||||
#include "interaction_manager.h"
|
||||
|
||||
#include "base/log/log_wrapper.h"
|
||||
#include "base/msdp/device_status/interfaces/innerkits/interaction/include/interaction_manager.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "core/common/ace_engine.h"
|
||||
#include "frameworks/core/components/common/properties/color.h"
|
||||
|
@ -29,11 +29,11 @@
|
||||
#include "jsnapi.h"
|
||||
#include "pixel_map.h"
|
||||
#include "pixel_map_napi.h"
|
||||
#include "interaction_manager.h"
|
||||
|
||||
#include "adapter/ohos/capability/interaction/start_drag_listener_impl.h"
|
||||
#include "base/log/log_wrapper.h"
|
||||
#include "base/memory/referenced.h"
|
||||
#include "base/msdp/device_status/interfaces/innerkits/interaction/include/interaction_manager.h"
|
||||
#include "base/utils/utils.h"
|
||||
#include "bridge/common/utils/utils.h"
|
||||
#include "bridge/declarative_frontend/engine/functions/js_drag_function.h"
|
||||
|
Loading…
Reference in New Issue
Block a user