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

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
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 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 }], 1346 }],
1347 ['enable_web_speech==0', { 1347 ['enable_web_speech==0', {
1348 'sources/': [ 1348 'sources/': [
1349 ['exclude', '^browser/speech/'], 1349 ['exclude', '^browser/speech/'],
1350 ] 1350 ]
1351 }], 1351 }],
1352 ['branding=="Chrome"', { 1352 ['branding=="Chrome"', {
1353 'sources!': [ 1353 'sources!': [
1354 # These tests depend on single process mode, which is disabled 1354 # These tests depend on single process mode, which is disabled
1355 # in official builds. 1355 # in official builds.
1356 'renderer/browser_render_view_browsertest.cc', 1356 'renderer/browser_render_view_browsertest.cc',
1357 'renderer/dom_serializer_browsertest.cc', 1357 'renderer/dom_serializer_browsertest.cc',
1358 'renderer/resource_fetcher_browsertest.cc', 1358 'renderer/resource_fetcher_browsertest.cc',
1359 'renderer/savable_resources_browsertest.cc', 1359 'renderer/savable_resources_browsertest.cc',
1360 ], 1360 ],
1361 }], 1361 }],
1362 ], 1362 ],
1363 }, 1363 },
1364 { 1364 {
1365 'target_name': 'content_gl_tests', 1365 'target_name': 'content_gl_tests',
1366 'type': '<(gtest_target_type)', 1366 'type': '<(gtest_target_type)',
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1544 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', 1544 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
1545 ], 1545 ],
1546 }], 1546 }],
1547 ], 1547 ],
1548 }, 1548 },
1549 ] 1549 ]
1550 }], 1550 }],
1551 ['OS == "android"', { 1551 ['OS == "android"', {
1552 'targets': [ 1552 'targets': [
1553 { 1553 {
1554 # TODO(GN)
1554 'target_name': 'content_gl_tests_apk', 1555 'target_name': 'content_gl_tests_apk',
1555 'type': 'none', 1556 'type': 'none',
1556 'dependencies': [ 1557 'dependencies': [
1557 'content_gl_tests', 1558 'content_gl_tests',
1558 'content_java_test_support', 1559 'content_java_test_support',
1559 ], 1560 ],
1560 'variables': { 1561 'variables': {
1561 'test_suite_name': 'content_gl_tests', 1562 'test_suite_name': 'content_gl_tests',
1562 }, 1563 },
1563 'includes': [ 1564 'includes': [
1564 '../build/apk_test.gypi', 1565 '../build/apk_test.gypi',
1565 ], 1566 ],
1566 }, 1567 },
1567 { 1568 {
1569 # TODO(GN)
1568 'target_name': 'content_unittests_apk', 1570 'target_name': 'content_unittests_apk',
1569 'type': 'none', 1571 'type': 'none',
1570 'dependencies': [ 1572 'dependencies': [
1571 'content.gyp:content_java', 1573 'content.gyp:content_java',
1572 'content_unittests', 1574 'content_unittests',
1573 ], 1575 ],
1574 'variables': { 1576 'variables': {
1575 'test_suite_name': 'content_unittests', 1577 'test_suite_name': 'content_unittests',
1576 }, 1578 },
1577 'includes': [ '../build/apk_test.gypi' ], 1579 'includes': [ '../build/apk_test.gypi' ],
1578 }, 1580 },
1579 { 1581 {
1582 # TODO(GN)
1580 'target_name': 'content_browsertests_apk', 1583 'target_name': 'content_browsertests_apk',
1581 'type': 'none', 1584 'type': 'none',
1582 'dependencies': [ 1585 'dependencies': [
1583 'content.gyp:content_icudata', 1586 'content.gyp:content_icudata',
1584 'content.gyp:content_java', 1587 'content.gyp:content_java',
1585 'content_browsertests', 1588 'content_browsertests',
1586 'content_java_test_support', 1589 'content_java_test_support',
1587 'content_shell_java', 1590 'content_shell_java',
1588 ], 1591 ],
1589 'variables': { 1592 'variables': {
1590 'apk_name': 'content_browsertests', 1593 'apk_name': 'content_browsertests',
1591 'java_in_dir': 'shell/android/browsertests_apk', 1594 'java_in_dir': 'shell/android/browsertests_apk',
1592 'resource_dir': 'shell/android/browsertests_apk/res', 1595 'resource_dir': 'shell/android/browsertests_apk/res',
1593 'native_lib_target': 'libcontent_browsertests', 1596 'native_lib_target': 'libcontent_browsertests',
1594 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], 1597 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
1595 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', 1598 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1596 'conditions': [ 1599 'conditions': [
1597 ['icu_use_data_file_flag==1', { 1600 ['icu_use_data_file_flag==1', {
1598 'additional_input_paths': [ 1601 'additional_input_paths': [
1599 '<(PRODUCT_DIR)/icudtl.dat', 1602 '<(PRODUCT_DIR)/icudtl.dat',
1600 ], 1603 ],
1601 }], 1604 }],
1602 ], 1605 ],
1603 }, 1606 },
1604 'includes': [ '../build/java_apk.gypi' ], 1607 'includes': [ '../build/java_apk.gypi' ],
1605 }, 1608 },
1606 { 1609 {
1610 # TODO(GN)
1607 'target_name': 'content_perftests_apk', 1611 'target_name': 'content_perftests_apk',
1608 'type': 'none', 1612 'type': 'none',
1609 'dependencies': [ 1613 'dependencies': [
1610 'content.gyp:content_java', 1614 'content.gyp:content_java',
1611 'content_perftests', 1615 'content_perftests',
1612 ], 1616 ],
1613 'variables': { 1617 'variables': {
1614 'test_suite_name': 'content_perftests', 1618 'test_suite_name': 'content_perftests',
1615 }, 1619 },
1616 'includes': [ '../build/apk_test.gypi' ], 1620 'includes': [ '../build/apk_test.gypi' ],
1617 }, 1621 },
1618 { 1622 {
1623 # TODO(GN)
1619 'target_name': 'chromium_linker_test_apk', 1624 'target_name': 'chromium_linker_test_apk',
1620 'type': 'none', 1625 'type': 'none',
1621 'conditions': [ 1626 'conditions': [
1622 ['target_arch != "x64" and target_arch != "arm64"', { 1627 ['target_arch != "x64" and target_arch != "arm64"', {
1623 'dependencies': [ 1628 'dependencies': [
1624 'chromium_android_linker_test', 1629 'chromium_android_linker_test',
1625 'content.gyp:content_icudata', 1630 'content.gyp:content_icudata',
1626 'content.gyp:content_java', 1631 'content.gyp:content_java',
1627 'content_shell_java', 1632 'content_shell_java',
1628 ], 1633 ],
(...skipping 13 matching lines...) Expand all
1642 ], 1647 ],
1643 }], 1648 }],
1644 ], 1649 ],
1645 }, 1650 },
1646 'includes': [ '../build/java_apk.gypi' ], 1651 'includes': [ '../build/java_apk.gypi' ],
1647 }, 1652 },
1648 ], 1653 ],
1649 ], 1654 ],
1650 }, 1655 },
1651 { 1656 {
1657 # TODO(GN)
1652 'target_name': 'chromium_android_linker_test', 1658 'target_name': 'chromium_android_linker_test',
1653 'type': 'shared_library', 1659 'type': 'shared_library',
1654 'defines!': ['CONTENT_IMPLEMENTATION'], 1660 'defines!': ['CONTENT_IMPLEMENTATION'],
1655 'dependencies': [ 1661 'dependencies': [
1656 'chromium_android_linker_test_jni_headers', 1662 'chromium_android_linker_test_jni_headers',
1657 'content_shell_lib', 1663 'content_shell_lib',
1658 # Required to include "content/public/browser/android/compositor.h" 1664 # Required to include "content/public/browser/android/compositor.h"
1659 # in chromium_linker_test_android.cc :-( 1665 # in chromium_linker_test_android.cc :-(
1660 '../skia/skia.gyp:skia', 1666 '../skia/skia.gyp:skia',
1661 ], 1667 ],
1662 'sources': [ 1668 'sources': [
1663 'shell/android/linker_test_apk/chromium_linker_test_android.cc', 1669 'shell/android/linker_test_apk/chromium_linker_test_android.cc',
1664 'shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc' , 1670 'shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc' ,
1665 ], 1671 ],
1666 }, 1672 },
1667 { 1673 {
1674 # TODO(GN)
1668 'target_name': 'chromium_android_linker_test_jni_headers', 1675 'target_name': 'chromium_android_linker_test_jni_headers',
1669 'type': 'none', 1676 'type': 'none',
1670 'sources': [ 1677 'sources': [
1671 'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test _apk/LinkerTests.java', 1678 'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test _apk/LinkerTests.java',
1672 ], 1679 ],
1673 'variables': { 1680 'variables': {
1674 'jni_gen_package': 'content/shell', 1681 'jni_gen_package': 'content/shell',
1675 }, 1682 },
1676 'includes': [ '../build/jni_generator.gypi' ], 1683 'includes': [ '../build/jni_generator.gypi' ],
1677 }, 1684 },
1678 { 1685 {
1686 # TODO(GN)
1679 'target_name': 'video_decode_accelerator_unittest_apk', 1687 'target_name': 'video_decode_accelerator_unittest_apk',
1680 'type': 'none', 1688 'type': 'none',
1681 'dependencies': [ 1689 'dependencies': [
1682 'video_decode_accelerator_unittest', 1690 'video_decode_accelerator_unittest',
1683 ], 1691 ],
1684 'variables': { 1692 'variables': {
1685 'test_suite_name': 'video_decode_accelerator_unittest', 1693 'test_suite_name': 'video_decode_accelerator_unittest',
1686 }, 1694 },
1687 'includes': [ '../build/apk_test.gypi' ], 1695 'includes': [ '../build/apk_test.gypi' ],
1688 }, 1696 },
1689 ],
1690 }],
1691 ['OS == "android"', {
1692 'targets': [
1693 { 1697 {
1698 # GN: //content/public/test/android:test_support_content_jni_headers
1694 'target_name': 'test_support_content_jni_headers', 1699 'target_name': 'test_support_content_jni_headers',
1695 'type': 'none', 1700 'type': 'none',
1696 'sources': [ 1701 'sources': [
1697 'public/test/android/javatests/src/org/chromium/content/browser/test /NestedSystemMessageHandler.java', 1702 'public/test/android/javatests/src/org/chromium/content/browser/test /NestedSystemMessageHandler.java',
1698 ], 1703 ],
1699 'variables': { 1704 'variables': {
1700 'jni_gen_package': 'content/public/test', 1705 'jni_gen_package': 'content/public/test',
1701 }, 1706 },
1702 'includes': [ '../build/jni_generator.gypi' ], 1707 'includes': [ '../build/jni_generator.gypi' ],
1703 }, 1708 },
1704 { 1709 {
1710 # GN: //content/public/test/android:content_java_test_support
1705 'target_name': 'content_java_test_support', 1711 'target_name': 'content_java_test_support',
1706 'type': 'none', 1712 'type': 'none',
1707 'dependencies': [ 1713 'dependencies': [
1708 '../base/base.gyp:base', 1714 '../base/base.gyp:base',
1709 '../base/base.gyp:base_java_test_support', 1715 '../base/base.gyp:base_java_test_support',
1710 'content.gyp:content_common', 1716 'content.gyp:content_common',
1711 'content.gyp:content_java', 1717 'content.gyp:content_java',
1712 ], 1718 ],
1713 'variables': { 1719 'variables': {
1714 'java_in_dir': '../content/public/test/android/javatests', 1720 'java_in_dir': '../content/public/test/android/javatests',
1715 }, 1721 },
1716 'includes': [ '../build/java.gypi' ], 1722 'includes': [ '../build/java.gypi' ],
1717 }, 1723 },
1718 { 1724 {
1725 # GN: //content/shell/android:content_shell_test_apk
1726 # and //content/public/android:content_javatests
1719 'target_name': 'content_shell_test_apk', 1727 'target_name': 'content_shell_test_apk',
1720 'type': 'none', 1728 'type': 'none',
1721 'dependencies': [ 1729 'dependencies': [
1722 'content_java_test_support', 1730 'content_java_test_support',
1723 'content_shell_apk_java', 1731 'content_shell_apk_java',
1724 'content.gyp:content_java', 1732 'content.gyp:content_java',
1725 '../base/base.gyp:base_java', 1733 '../base/base.gyp:base_java',
1726 '../base/base.gyp:base_javatests', 1734 '../base/base.gyp:base_javatests',
1727 '../base/base.gyp:base_java_test_support', 1735 '../base/base.gyp:base_java_test_support',
1728 '../media/media.gyp:media_java', 1736 '../media/media.gyp:media_java',
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1881 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], 1889 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],
1882 }, 1890 },
1883 ], 1891 ],
1884 }], 1892 }],
1885 ], 1893 ],
1886 }, 1894 },
1887 ], 1895 ],
1888 }], 1896 }],
1889 ], 1897 ],
1890 } 1898 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698