diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-25 16:18:20 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-25 16:18:20 +0200 |
commit | e85a871e579ef77b6b226249d199a50d8a91f08f (patch) | |
tree | 12f8b73c103d00cb849aaeea5bd4a81e35aa0181 | |
parent | 393f775463d2f78f137cb8ea4897bbc887718129 (diff) | |
download | rules-cc-e85a871e579ef77b6b226249d199a50d8a91f08f.tar.gz |
Adapt object-library test to the removal of object libraries
... in a5a98b35fc9a710e723673946ea5c769274b9ddb. Instead, use
a "configure" target to configure the library as being an object
library.
-rw-r--r-- | tests/test_cases/deps/object/TARGETS | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/test_cases/deps/object/TARGETS b/tests/test_cases/deps/object/TARGETS index 98d7bdb..412d2ea 100644 --- a/tests/test_cases/deps/object/TARGETS +++ b/tests/test_cases/deps/object/TARGETS @@ -8,8 +8,14 @@ , "stage": ["foo"] } , "bar": + { "type": "configure" + , "target": "bar (plain)" + , "config": + {"type": "singleton_map", "key": "BUILD_OBJECT_ONLY", "value": "true"} + } +, "bar (plain)": { "type": ["@", "rules", "CC", "library"] - , "object_only": ["yes"] + , "name": ["bar"] , "hdrs": ["bar.hpp"] , "srcs": ["bar.cpp"] , "stage": ["bar"] |