summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Choudhary <caditya@google.com>2024-02-02 13:55:58 +0000
committerAditya Choudhary <caditya@google.com>2024-02-02 13:55:58 +0000
commit9eba36ee93c5f821302b1fe525000bad004e140c (patch)
tree033a9bd40032c5751a81455db6df1c3b2b18fc55
parent6b816667d4397c7dd1632776862b731b73b724de (diff)
downloadgtest_extras-9eba36ee93c5f821302b1fe525000bad004e140c.tar.gz
Migrate Test Targets to New Android Ownership Model
This CL is created as a best effort to migrate test targets to the new Android ownership model. It is based on historical data from repository history and insights from git blame. Given the nature of this effort, there may be instances of incorrect attribution. If you find incorrect or unnecessary attribution in this CL, please create a new CL to fix that. For detailed guidelines and further information on the migration please refer to the link below, go/new-android-ownership-model Bug: 304529413 Test: N/A Change-Id: Id772842ed40a0035f302c6036eaa2e577022e560
-rw-r--r--Android.bp22
1 files changed, 18 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index c156e28..3e6e382 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13,6 +13,7 @@
// limitations under the License.
package {
+ default_team: "trendy_team_native_tools_libraries",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@@ -20,14 +21,19 @@ cc_defaults {
name: "libgtest_isolated_defaults",
vendor_available: true,
product_available: true,
- native_bridge_supported: true
+ native_bridge_supported: true,
}
cc_library_static {
name: "libgtest_isolated",
defaults: ["libgtest_isolated_defaults"],
host_supported: true,
- cflags: ["-Wall", "-Werror", "-Wextra", "-Wconversion"],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ "-Wextra",
+ "-Wconversion",
+ ],
export_include_dirs: ["include"],
srcs: [
@@ -54,7 +60,11 @@ cc_library_static {
name: "libgtest_isolated_main",
defaults: ["libgtest_isolated_defaults"],
host_supported: true,
- cflags: ["-Wall", "-Werror", "-Wextra"],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ "-Wextra",
+ ],
srcs: [
"Main.cpp",
],
@@ -82,7 +92,11 @@ cc_test {
"tests/OptionsTest.cpp",
"tests/SystemTests.cpp",
],
- cflags: ["-Wall", "-Werror", "-Wextra"],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ "-Wextra",
+ ],
shared_libs: [
"libbase",