summaryrefslogtreecommitdiff
path: root/cc/library_test.go
diff options
context:
space:
mode:
author Chris Parsons <cparsons@google.com> 2021-12-03 17:27:16 -0500
committer Chris Parsons <cparsons@google.com> 2021-12-06 14:11:40 -0500
commit77acf2e5c14e538ca8f6b06ba7ca90e6cd286a43 (patch)
tree7e68b2b2060fbcca5ec6c1b993c8fb91c61a7fac /cc/library_test.go
parent85c0097d69ada327332ae1ba2db189fab837c539 (diff)
bp2build: split full_cc_library into shared/static
Test: mixed_droid.sh in conjunction with rule changes Test: bp2build.sh Change-Id: If0577065fd39a0446eab16b62c15204d43207e19
Diffstat (limited to 'cc/library_test.go')
-rw-r--r--cc/library_test.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/cc/library_test.go b/cc/library_test.go
index 7ddfaa7fd..7427b5974 100644
--- a/cc/library_test.go
+++ b/cc/library_test.go
@@ -257,9 +257,14 @@ cc_library {
CcObjectFiles: []string{"foo.o"},
Includes: []string{"include"},
SystemIncludes: []string{"system_include"},
- RootStaticArchives: []string{"foo.a"},
RootDynamicLibraries: []string{"foo.so"},
},
+ "//foo/bar:bar_bp2build_cc_library_static": cquery.CcInfo{
+ CcObjectFiles: []string{"foo.o"},
+ Includes: []string{"include"},
+ SystemIncludes: []string{"system_include"},
+ RootStaticArchives: []string{"foo.a"},
+ },
},
}
ctx := testCcWithConfig(t, config)