github.com/westcoastroms/westcoastroms-build@v0.0.0-20190928114312-2350e5a73030/build/soong/cc/libbuildversion/tests/Android.bp (about)

     1  cc_defaults {
     2      name: "build_version_test_defaults",
     3      use_version_lib: true,
     4      host_supported: true,
     5      target: {
     6          windows: {
     7              enabled: true,
     8          },
     9      },
    10  }
    11  
    12  cc_test {
    13      name: "build_version_test",
    14      defaults: ["build_version_test_defaults"],
    15      srcs: ["build_version_test.cpp"],
    16      target: {
    17          android: {
    18              shared_libs: ["libbuild_version_test"],
    19          },
    20          not_windows: {
    21              shared_libs: ["libbuild_version_test"],
    22          },
    23      },
    24  }
    25  
    26  cc_library_shared {
    27      name: "libbuild_version_test",
    28      defaults: ["build_version_test_defaults"],
    29      srcs: ["build_version_test_lib.cpp"],
    30      target: {
    31          windows: {
    32              enabled: false,
    33          },
    34      },
    35  }