commit | c403f7ce6dc31d4f39af25862b782508e2cf1026 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Wed Mar 18 14:01:18 2015 -0700 |
committer | Dan Albert <danalbert@google.com> | Wed Mar 18 23:39:02 2015 -0700 |
tree | 2cfda3b514855268ea1a3077a9945f8afa7faf8b | |
parent | 512e24f4418ed33838f694de8968d2efa52897f2 [diff] |
Add support for cc_test. This behaves slightly differently than it does in the make based build. 1. The make based build manually passes -DGTEST_OS_ANDROID (or whatever). gtest-port.h already has logic that does this, so it's a no-op. 2. Host libraries are named identically, rather than libgtest_host. Change-Id: Ic40a1025c698611d202cb7c8ec45abd8fe130065