all_android.gyp 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. # Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. # This is all.gyp file for Android to prevent breakage in Android and other
  5. # platform; It will be churning a lot in the short term and eventually be merged
  6. # into all.gyp.
  7. {
  8. 'variables': {
  9. # A hook that can be overridden in other repositories to add additional
  10. # compilation targets to 'All'
  11. 'android_app_targets%': [],
  12. },
  13. 'targets': [
  14. {
  15. 'target_name': 'All',
  16. 'type': 'none',
  17. 'dependencies': [
  18. '../content/content.gyp:content_shell_apk',
  19. '<@(android_app_targets)',
  20. 'android_builder_tests',
  21. '../android_webview/android_webview.gyp:android_webview_apk',
  22. '../chrome/chrome.gyp:chromium_testshell',
  23. ],
  24. }, # target_name: All
  25. {
  26. # The current list of tests for android. This is temporary
  27. # until the full set supported. If adding a new test here,
  28. # please also add it to build/android/run_tests.py, else the
  29. # test is not run.
  30. #
  31. # WARNING:
  32. # Do not add targets here without communicating the implications
  33. # on tryserver triggers and load. Discuss with jrg please.
  34. 'target_name': 'android_builder_tests',
  35. 'type': 'none',
  36. 'dependencies': [
  37. '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
  38. '../base/base.gyp:base_unittests',
  39. '../cc/cc_tests.gyp:cc_unittests',
  40. '../chrome/chrome.gyp:unit_tests',
  41. '../content/content.gyp:content_shell_test_apk',
  42. '../content/content.gyp:content_unittests',
  43. '../gpu/gpu.gyp:gpu_unittests',
  44. '../ipc/ipc.gyp:ipc_tests',
  45. '../media/media.gyp:media_unittests',
  46. '../net/net.gyp:net_unittests',
  47. '../sql/sql.gyp:sql_unittests',
  48. '../sync/sync.gyp:sync_unit_tests',
  49. '../third_party/WebKit/Source/WebKit/chromium/All.gyp:*',
  50. '../tools/android/device_stats_monitor/device_stats_monitor.gyp:device_stats_monitor',
  51. '../tools/android/fake_dns/fake_dns.gyp:fake_dns',
  52. '../tools/android/forwarder2/forwarder.gyp:forwarder2',
  53. '../tools/android/md5sum/md5sum.gyp:md5sum',
  54. '../ui/ui.gyp:ui_unittests',
  55. # From here down: not added to run_tests.py yet.
  56. '../jingle/jingle.gyp:jingle_unittests',
  57. # Required by ui_unittests.
  58. # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but
  59. # this would cause circular gyp dependency which needs refactoring the
  60. # gyps to resolve.
  61. '../chrome/chrome_resources.gyp:packed_resources',
  62. ],
  63. 'conditions': [
  64. ['linux_breakpad==1', {
  65. 'dependencies': [
  66. '../breakpad/breakpad.gyp:breakpad_unittests',
  67. ],
  68. }],
  69. ['"<(gtest_target_type)"=="shared_library"', {
  70. 'dependencies': [
  71. # The first item is simply the template. We add as a dep
  72. # to make sure it builds in ungenerated form. TODO(jrg):
  73. # once stable, transition to a test-only (optional)
  74. # target.
  75. '../testing/android/native_test.gyp:native_test_apk',
  76. # Unit test bundles packaged as an apk.
  77. '../base/base.gyp:base_unittests_apk',
  78. '../cc/cc_tests.gyp:cc_unittests_apk',
  79. '../chrome/chrome.gyp:unit_tests_apk',
  80. '../content/content.gyp:content_unittests_apk',
  81. '../gpu/gpu.gyp:gpu_unittests_apk',
  82. '../ipc/ipc.gyp:ipc_tests_apk',
  83. '../media/media.gyp:media_unittests_apk',
  84. '../net/net.gyp:net_unittests_apk',
  85. '../sql/sql.gyp:sql_unittests_apk',
  86. '../sync/sync.gyp:sync_unit_tests_apk',
  87. '../ui/ui.gyp:ui_unittests_apk',
  88. '../android_webview/android_webview.gyp:android_webview_test_apk',
  89. '../chrome/chrome.gyp:chromium_testshell_test_apk',
  90. ],
  91. }],
  92. ],
  93. },
  94. {
  95. # Experimental / in-progress targets that are expected to fail
  96. # but we still try to compile them on bots (turning the stage
  97. # orange, not red).
  98. 'target_name': 'android_experimental',
  99. 'type': 'none',
  100. 'dependencies': [
  101. ],
  102. },
  103. {
  104. # In-progress targets that are expected to fail and are NOT run
  105. # on any bot.
  106. 'target_name': 'android_in_progress',
  107. 'type': 'none',
  108. 'dependencies': [
  109. '../content/content.gyp:content_browsertests',
  110. ],
  111. },
  112. ], # targets
  113. }