JJianliang Wang[Feature] Add DevTools CDP Network domain
| Files | Last commit | Last update |
|---|---|---|
[Feature] LynxBase standalone -- Integrate all modules with the standalone LynxBase library Refactors the codebase to make LynxBase a fully independent component, meeting the dependency requirements for all modules. This commit completes the integration of all modules with the `LynxBase` library. Key Changes: 1. Refactor Lynx Log: a. Removed `LLog` implementations (`.java`, `.ets`, `.mm`) from the `lynx` module, forwarding all public APIs to the `LynxBase` library. b. On Android, replaced unused `ILogDelegate` and `ILynxLogService` with `BaseLogDelegate` to bridge the host-injected `AbsLogDelegate`. c. Adapted `LynxLogService` on Android, Darwin, and HarmonyOS to inherit from the `ILynxBaseLogService` interface and be injected via `LynxBaseService`. d. Replaced `logging_android.cc` and `logging_darwin.cc` in the `lynx` module with the implementations from `LynxBase`. 2. Implement Base Trace: a. On Darwin and HarmonyOS, implemented and injected `LynxBaseTraceService` during `LynxEnv` initialization, allowing `LynxBase` to retrieve the trace backend from the service. b. Replaced the `TRACE_EVENT` macro with the internal `BASE_TRACE_EVENT` macro within the `LynxBase` library. 3. Adapt Build System: a. Removed dependencies on the `base` submodule from GN projects. b. On Android, configured all modules to dynamically link the `lynx_base` library and depend on the `LynxBase` component at the platform level. c. On iOS, updated all Podspec targets (e.g., `Lynx`, `LynxDevtool`) to depend on the `LynxBase` podspec instead of `base` source files. d. On HarmonyOS, switched all modules from statically linking `base` source to dynamically linking the `lynx_base` library and depending on its HAR package. e. On Windows, established a static dependency on the `base` static library. f. Configured unit test modules to statically depend on the `base_static` library. 4. Update LynxEnv Initialization: a. Removed legacy `LLog` initialization logic. b. Added injection logic for the `LynxBase` Trace service on Darwin and HarmonyOS. c. Added calls to initialize `LynxBaseEnv` on all platforms. 5. Android Specific: Removed calls to `fml::MessageLoopAndroid::Register(env)` from outside the `LynxBase` library. 6. Symbol Management: Exported necessary symbols from `LynxBase` to support dynamic linking across all components. issue:m-6736726571 SkipChecks:macro AutoSubmit:true | 1 year ago | |
initial commit | 1 year ago | |
[Feature][Canvas][Harmony] Add native downstream surface bridge - Add the Harmony canvas-manager interface for downstream surfaces. - Add reusable checked Harmony N-API and unsigned string conversions. - Preserve module dependency boundaries through the assembly layer. TEST: Base conversion test object and focused harness; Harmony native library build; Harmony API metadata regeneration; git diff --check AutoSubmit: True Lynxstack-Change-Id: I6aabb7a7ef485b4d9224f31395d8d5c6f8a025a1 Lynxstack-Parent-Change-Id: If06f19283bbf427144e605e4f8d3082493e1822d | 2 months ago | |
[Feature] Add DevTools CDP Network domain | 1 month ago | |
[BugFix] Fix unicode decode utility iOS compilation - Widen unicode decode helper length parameters so iOS builds do not narrow size_t or pointer differences to 32-bit integers. - Keep the decode control flow unchanged while making conversions explicit where std::string APIs require size_t. TEST: clang++ -std=c++17 -Werror -Wshorten-64-to-32 -Ilynx -c lynx/base/src/string/unicode_decode_utils.cc -o /tmp/unicode_decode_utils.o TEST: clang++ -std=c++17 -Ilynx lynx/base/src/string/unicode_decode_utils.cc lynx/base/src/string/string_number_convert.cc -x c++ - -o /tmp/unicode_decode_utils_smoke && /tmp/unicode_decode_utils_smoke TEST: git diff --check TEST: tools/env.sh python3 tools_shared/git_lynx.py check --checkers coding-style AutoLand: release/4.0 | 4 months ago |