BasicNativeAndroidTest: Move gtest to a single flavor#489
Open
utzcoz wants to merge 1 commit intoandroid:mainfrom
Open
BasicNativeAndroidTest: Move gtest to a single flavor#489utzcoz wants to merge 1 commit intoandroid:mainfrom
utzcoz wants to merge 1 commit intoandroid:mainfrom
Conversation
bcd2d99 to
db23ecd
Compare
Contributor
Author
|
cc @fsladkey and @brettchabot for reviewing and discussion. I am experimenting junit-gtest, and I want to find a better approach to resolve junit-gtest packaged so files, and if Google has more experience, really hope to listen your response. |
The junit-gtest library will bring native test library and its c++ shared library into the final package. It's not easy to keep these necessary shared libraries into androidTest flavor only. So this CL adds a new flavor called nativeTest to include native test related libraries and run it with androidTest. For normal usage, we can use core flavor, the new default flavor without any native test related libraries. Signed-off-by: utzcoz <utzcoz@outlook.com>
db23ecd to
d092540
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The junit-gtest library will bring native test library and its c++ shared library into the final package. It's not easy to keep these necessary shared libraries into androidTest flavor only. So this CL adds a new flavor called nativeTest to include native test related libraries and run it with androidTest. For normal usage, we can use core flavor, the new default flavor without any native test related libraries.