Android.bp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // Copyright 2019 Google Inc. All rights reserved.
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. package {
  15. default_applicable_licenses: ["Android-Apache-2.0"],
  16. }
  17. python_test_host {
  18. name: "par_test",
  19. main: "par_test.py",
  20. srcs: [
  21. "par_test.py",
  22. "testpkg/par_test.py",
  23. ],
  24. version: {
  25. py2: {
  26. enabled: true,
  27. embedded_launcher: true,
  28. },
  29. py3: {
  30. enabled: false,
  31. embedded_launcher: true,
  32. },
  33. },
  34. }
  35. python_test_host {
  36. name: "par_test3",
  37. main: "par_test.py",
  38. srcs: [
  39. "par_test.py",
  40. "testpkg/par_test.py",
  41. ],
  42. version: {
  43. py3: {
  44. embedded_launcher: true,
  45. },
  46. },
  47. }