Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(895)

Side by Side Diff: content/content_tests.gypi

Issue 525533003: Add content_shell_test_apk and a several dependencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-content-shell-apk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/toolchain/android/BUILD.gn ('k') | content/public/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'layouttest_support_content_sources': [ 7 'layouttest_support_content_sources': [
8 'public/test/layouttest_support.h', 8 'public/test/layouttest_support.h',
9 'public/test/nested_message_pump_android.cc', 9 'public/test/nested_message_pump_android.cc',
10 'public/test/nested_message_pump_android.h', 10 'public/test/nested_message_pump_android.h',
(...skipping 1330 matching lines...) Expand 10 before | Expand all | Expand 10 after
1341 }], 1341 }],
1342 ['enable_web_speech==0', { 1342 ['enable_web_speech==0', {
1343 'sources/': [ 1343 'sources/': [
1344 ['exclude', '^browser/speech/'], 1344 ['exclude', '^browser/speech/'],
1345 ] 1345 ]
1346 }], 1346 }],
1347 ['branding=="Chrome"', { 1347 ['branding=="Chrome"', {
1348 'sources!': [ 1348 'sources!': [
1349 # These tests depend on single process mode, which is disabled 1349 # These tests depend on single process mode, which is disabled
1350 # in official builds. 1350 # in official builds.
1351 'renderer/browser_render_view_browsertest.cc', 1351 'renderer/browser_render_view_browsertest.cc',
1352 'renderer/dom_serializer_browsertest.cc', 1352 'renderer/dom_serializer_browsertest.cc',
1353 'renderer/resource_fetcher_browsertest.cc', 1353 'renderer/resource_fetcher_browsertest.cc',
1354 'renderer/savable_resources_browsertest.cc', 1354 'renderer/savable_resources_browsertest.cc',
1355 ], 1355 ],
1356 }], 1356 }],
1357 ], 1357 ],
1358 }, 1358 },
1359 { 1359 {
1360 'target_name': 'content_gl_tests', 1360 'target_name': 'content_gl_tests',
1361 'type': '<(gtest_target_type)', 1361 'type': '<(gtest_target_type)',
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', 1539 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
1540 ], 1540 ],
1541 }], 1541 }],
1542 ], 1542 ],
1543 }, 1543 },
1544 ] 1544 ]
1545 }], 1545 }],
1546 ['OS == "android"', { 1546 ['OS == "android"', {
1547 'targets': [ 1547 'targets': [
1548 { 1548 {
1549 # TODO(GN)
1549 'target_name': 'content_gl_tests_apk', 1550 'target_name': 'content_gl_tests_apk',
1550 'type': 'none', 1551 'type': 'none',
1551 'dependencies': [ 1552 'dependencies': [
1552 'content_gl_tests', 1553 'content_gl_tests',
1553 'content_java_test_support', 1554 'content_java_test_support',
1554 ], 1555 ],
1555 'variables': { 1556 'variables': {
1556 'test_suite_name': 'content_gl_tests', 1557 'test_suite_name': 'content_gl_tests',
1557 }, 1558 },
1558 'includes': [ 1559 'includes': [
1559 '../build/apk_test.gypi', 1560 '../build/apk_test.gypi',
1560 ], 1561 ],
1561 }, 1562 },
1562 { 1563 {
1564 # TODO(GN)
1563 'target_name': 'content_unittests_apk', 1565 'target_name': 'content_unittests_apk',
1564 'type': 'none', 1566 'type': 'none',
1565 'dependencies': [ 1567 'dependencies': [
1566 'content.gyp:content_java', 1568 'content.gyp:content_java',
1567 'content_unittests', 1569 'content_unittests',
1568 ], 1570 ],
1569 'variables': { 1571 'variables': {
1570 'test_suite_name': 'content_unittests', 1572 'test_suite_name': 'content_unittests',
1571 }, 1573 },
1572 'includes': [ '../build/apk_test.gypi' ], 1574 'includes': [ '../build/apk_test.gypi' ],
1573 }, 1575 },
1574 { 1576 {
1577 # TODO(GN)
1575 'target_name': 'content_browsertests_apk', 1578 'target_name': 'content_browsertests_apk',
1576 'type': 'none', 1579 'type': 'none',
1577 'dependencies': [ 1580 'dependencies': [
1578 'content.gyp:content_icudata', 1581 'content.gyp:content_icudata',
1579 'content.gyp:content_java', 1582 'content.gyp:content_java',
1580 'content_browsertests', 1583 'content_browsertests',
1581 'content_java_test_support', 1584 'content_java_test_support',
1582 'content_shell_java', 1585 'content_shell_java',
1583 ], 1586 ],
1584 'variables': { 1587 'variables': {
1585 'apk_name': 'content_browsertests', 1588 'apk_name': 'content_browsertests',
1586 'java_in_dir': 'shell/android/browsertests_apk', 1589 'java_in_dir': 'shell/android/browsertests_apk',
1587 'resource_dir': 'shell/android/browsertests_apk/res', 1590 'resource_dir': 'shell/android/browsertests_apk/res',
1588 'native_lib_target': 'libcontent_browsertests', 1591 'native_lib_target': 'libcontent_browsertests',
1589 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], 1592 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
1590 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', 1593 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1591 'conditions': [ 1594 'conditions': [
1592 ['icu_use_data_file_flag==1', { 1595 ['icu_use_data_file_flag==1', {
1593 'additional_input_paths': [ 1596 'additional_input_paths': [
1594 '<(PRODUCT_DIR)/icudtl.dat', 1597 '<(PRODUCT_DIR)/icudtl.dat',
1595 ], 1598 ],
1596 }], 1599 }],
1597 ], 1600 ],
1598 }, 1601 },
1599 'includes': [ '../build/java_apk.gypi' ], 1602 'includes': [ '../build/java_apk.gypi' ],
1600 }, 1603 },
1601 { 1604 {
1605 # TODO(GN)
1602 'target_name': 'content_perftests_apk', 1606 'target_name': 'content_perftests_apk',
1603 'type': 'none', 1607 'type': 'none',
1604 'dependencies': [ 1608 'dependencies': [
1605 'content.gyp:content_java', 1609 'content.gyp:content_java',
1606 'content_perftests', 1610 'content_perftests',
1607 ], 1611 ],
1608 'variables': { 1612 'variables': {
1609 'test_suite_name': 'content_perftests', 1613 'test_suite_name': 'content_perftests',
1610 }, 1614 },
1611 'includes': [ '../build/apk_test.gypi' ], 1615 'includes': [ '../build/apk_test.gypi' ],
1612 }, 1616 },
1613 { 1617 {
1618 # TODO(GN)
1614 'target_name': 'chromium_linker_test_apk', 1619 'target_name': 'chromium_linker_test_apk',
1615 'type': 'none', 1620 'type': 'none',
1616 'conditions': [ 1621 'conditions': [
1617 ['target_arch != "x64" and target_arch != "arm64"', { 1622 ['target_arch != "x64" and target_arch != "arm64"', {
1618 'dependencies': [ 1623 'dependencies': [
1619 'chromium_android_linker_test', 1624 'chromium_android_linker_test',
1620 'content.gyp:content_icudata', 1625 'content.gyp:content_icudata',
1621 'content.gyp:content_java', 1626 'content.gyp:content_java',
1622 'content_shell_java', 1627 'content_shell_java',
1623 ], 1628 ],
(...skipping 13 matching lines...) Expand all
1637 ], 1642 ],
1638 }], 1643 }],
1639 ], 1644 ],
1640 }, 1645 },
1641 'includes': [ '../build/java_apk.gypi' ], 1646 'includes': [ '../build/java_apk.gypi' ],
1642 }, 1647 },
1643 ], 1648 ],
1644 ], 1649 ],
1645 }, 1650 },
1646 { 1651 {
1652 # TODO(GN)
1647 'target_name': 'chromium_android_linker_test', 1653 'target_name': 'chromium_android_linker_test',
1648 'type': 'shared_library', 1654 'type': 'shared_library',
1649 'defines!': ['CONTENT_IMPLEMENTATION'], 1655 'defines!': ['CONTENT_IMPLEMENTATION'],
1650 'dependencies': [ 1656 'dependencies': [
1651 'chromium_android_linker_test_jni_headers', 1657 'chromium_android_linker_test_jni_headers',
1652 'content_shell_lib', 1658 'content_shell_lib',
1653 # Required to include "content/public/browser/android/compositor.h" 1659 # Required to include "content/public/browser/android/compositor.h"
1654 # in chromium_linker_test_android.cc :-( 1660 # in chromium_linker_test_android.cc :-(
1655 '../skia/skia.gyp:skia', 1661 '../skia/skia.gyp:skia',
1656 ], 1662 ],
1657 'sources': [ 1663 'sources': [
1658 'shell/android/linker_test_apk/chromium_linker_test_android.cc', 1664 'shell/android/linker_test_apk/chromium_linker_test_android.cc',
1659 'shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc' , 1665 'shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc' ,
1660 ], 1666 ],
1661 }, 1667 },
1662 { 1668 {
1669 # TODO(GN)
1663 'target_name': 'chromium_android_linker_test_jni_headers', 1670 'target_name': 'chromium_android_linker_test_jni_headers',
1664 'type': 'none', 1671 'type': 'none',
1665 'sources': [ 1672 'sources': [
1666 'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test _apk/LinkerTests.java', 1673 'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test _apk/LinkerTests.java',
1667 ], 1674 ],
1668 'variables': { 1675 'variables': {
1669 'jni_gen_package': 'content/shell', 1676 'jni_gen_package': 'content/shell',
1670 }, 1677 },
1671 'includes': [ '../build/jni_generator.gypi' ], 1678 'includes': [ '../build/jni_generator.gypi' ],
1672 }, 1679 },
1673 { 1680 {
1681 # TODO(GN)
1674 'target_name': 'video_decode_accelerator_unittest_apk', 1682 'target_name': 'video_decode_accelerator_unittest_apk',
1675 'type': 'none', 1683 'type': 'none',
1676 'dependencies': [ 1684 'dependencies': [
1677 'video_decode_accelerator_unittest', 1685 'video_decode_accelerator_unittest',
1678 ], 1686 ],
1679 'variables': { 1687 'variables': {
1680 'test_suite_name': 'video_decode_accelerator_unittest', 1688 'test_suite_name': 'video_decode_accelerator_unittest',
1681 }, 1689 },
1682 'includes': [ '../build/apk_test.gypi' ], 1690 'includes': [ '../build/apk_test.gypi' ],
1683 }, 1691 },
1684 ],
1685 }],
1686 ['OS == "android"', {
1687 'targets': [
1688 { 1692 {
1693 # GN: //content/public/test/android:test_support_content_jni_headers
1689 'target_name': 'test_support_content_jni_headers', 1694 'target_name': 'test_support_content_jni_headers',
1690 'type': 'none', 1695 'type': 'none',
1691 'sources': [ 1696 'sources': [
1692 'public/test/android/javatests/src/org/chromium/content/browser/test /NestedSystemMessageHandler.java', 1697 'public/test/android/javatests/src/org/chromium/content/browser/test /NestedSystemMessageHandler.java',
1693 ], 1698 ],
1694 'variables': { 1699 'variables': {
1695 'jni_gen_package': 'content/public/test', 1700 'jni_gen_package': 'content/public/test',
1696 }, 1701 },
1697 'includes': [ '../build/jni_generator.gypi' ], 1702 'includes': [ '../build/jni_generator.gypi' ],
1698 }, 1703 },
1699 { 1704 {
1705 # GN: //content/public/test/android:content_java_test_support
1700 'target_name': 'content_java_test_support', 1706 'target_name': 'content_java_test_support',
1701 'type': 'none', 1707 'type': 'none',
1702 'dependencies': [ 1708 'dependencies': [
1703 '../base/base.gyp:base', 1709 '../base/base.gyp:base',
1704 '../base/base.gyp:base_java_test_support', 1710 '../base/base.gyp:base_java_test_support',
1705 'content.gyp:content_common', 1711 'content.gyp:content_common',
1706 'content.gyp:content_java', 1712 'content.gyp:content_java',
1707 ], 1713 ],
1708 'variables': { 1714 'variables': {
1709 'java_in_dir': '../content/public/test/android/javatests', 1715 'java_in_dir': '../content/public/test/android/javatests',
1710 }, 1716 },
1711 'includes': [ '../build/java.gypi' ], 1717 'includes': [ '../build/java.gypi' ],
1712 }, 1718 },
1713 { 1719 {
1720 # GN: //content/shell/android:content_shell_test_apk
1721 # and //content/public/android:content_javatests
1714 'target_name': 'content_shell_test_apk', 1722 'target_name': 'content_shell_test_apk',
1715 'type': 'none', 1723 'type': 'none',
1716 'dependencies': [ 1724 'dependencies': [
1717 'content_java_test_support', 1725 'content_java_test_support',
1718 'content_shell_apk_java', 1726 'content_shell_apk_java',
1719 'content.gyp:content_java', 1727 'content.gyp:content_java',
1720 '../base/base.gyp:base_java', 1728 '../base/base.gyp:base_java',
1721 '../base/base.gyp:base_javatests', 1729 '../base/base.gyp:base_javatests',
1722 '../base/base.gyp:base_java_test_support', 1730 '../base/base.gyp:base_java_test_support',
1723 '../media/media.gyp:media_java', 1731 '../media/media.gyp:media_java',
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1876 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], 1884 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],
1877 }, 1885 },
1878 ], 1886 ],
1879 }], 1887 }],
1880 ], 1888 ],
1881 }, 1889 },
1882 ], 1890 ],
1883 }], 1891 }],
1884 ], 1892 ],
1885 } 1893 }
OLDNEW
« no previous file with comments | « build/toolchain/android/BUILD.gn ('k') | content/public/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698