mirror of
https://github.com/openharmony/ability_form_fwk.git
synced 2026-08-24 07:47:15 -04:00
b487cd5188
- Add ohos_static_library("libfms_internal_static") with all source files
- Add ohos_shared_library("libfms") for production (version_script + LTO + --gc-sections)
- Add ohos_shared_library("libfms_test") for testing (--whole-archive, no version_script)
- Clear libfms.map global section (59→0 entries), keep local: *;
- Remove 5 redundant :libfms deps from frameworks/js/napi/BUILD.gn
- Update 266 test BUILD.gns: :fms_target/:libfms → :libfms_test
- ROM result: libfms.z.so 1,485,336 B (-346,680 B, -18.9%)
Signed-off-by: xiangcong3 <xiangcong4@huawei.com>
AI[90%] Human Fixed[0%] Human[10%] AI Adopted[100%]
Co-authored-by: opencode (glm-5.1) <ai@local>
19 lines
617 B
Plaintext
19 lines
617 B
Plaintext
# Copyright (c) 2023 Huawei Device Co., Ltd.
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
{
|
|
global:
|
|
local:
|
|
*;
|
|
};
|