commit | f598393b372888949fca93a904f3a2751a37a6f0 | [log] [tgz] |
---|---|---|
author | Matt Sandy <msandy@google.com> | Wed Jul 24 11:03:41 2019 -0700 |
committer | Matt Sandy <msandy@google.com> | Wed Jul 24 11:11:17 2019 -0700 |
tree | a48622bc9bed354f45fb92fd2e373e37ad630543 | |
parent | 5a429a3ff97678738fa6c95a77d89745c5a58c3d [diff] |
[build] add guard to ensure use with linux only This change adds an assert to verify that the library is built only for linux. See BLD-572 for details. Test: CQ Change-Id: I9a8932c556a8c575d2bf5c6dd85fc6a37cd4fe46
diff --git a/BUILD.gn b/BUILD.gn index 44bbac1..18e48e9 100644 --- a/BUILD.gn +++ b/BUILD.gn
@@ -58,6 +58,7 @@ } group("libxml2") { + assert(is_linux, "${target_name} only builds for linux currently (BLD-572)") public_deps = [ ":xml2" ] }