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

Side by Side Diff: content/content_tests.gypi

Issue 594603003: Infrastructure for reading V8's initial snapshot from external files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Ross' comments Created 6 years, 2 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 ], 183 ],
184 'sources': [ '<@(layouttest_support_content_sources)' ] 184 'sources': [ '<@(layouttest_support_content_sources)' ]
185 }], 185 }],
186 ], 186 ],
187 }, 187 },
188 { 188 {
189 # GN version: //content/test:test_support 189 # GN version: //content/test:test_support
190 'target_name': 'test_support_content', 190 'target_name': 'test_support_content',
191 'type': 'static_library', 191 'type': 'static_library',
192 'dependencies': [ 192 'dependencies': [
193 '../gin/gin.gyp:gin',
193 '../net/net.gyp:net_test_support', 194 '../net/net.gyp:net_test_support',
194 '../skia/skia.gyp:skia', 195 '../skia/skia.gyp:skia',
195 '../storage/storage_common.gyp:storage_common', 196 '../storage/storage_common.gyp:storage_common',
196 '../testing/gmock.gyp:gmock', 197 '../testing/gmock.gyp:gmock',
197 '../testing/gtest.gyp:gtest', 198 '../testing/gtest.gyp:gtest',
198 '../ui/accessibility/accessibility.gyp:ax_gen', 199 '../ui/accessibility/accessibility.gyp:ax_gen',
199 '../ui/base/ui_base.gyp:ui_base', 200 '../ui/base/ui_base.gyp:ui_base',
200 '../ui/base/ui_base.gyp:ui_base_test_support', 201 '../ui/base/ui_base.gyp:ui_base_test_support',
201 '../ui/events/events.gyp:dom4_keycode_converter', 202 '../ui/events/events.gyp:dom4_keycode_converter',
202 '../ui/events/events.gyp:events_base', 203 '../ui/events/events.gyp:events_base',
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 'browser/compositor/test/no_transport_image_transport_factory.h', 332 'browser/compositor/test/no_transport_image_transport_factory.h',
332 ], 333 ],
333 'dependencies': [ 334 'dependencies': [
334 '../ui/compositor/compositor.gyp:compositor', 335 '../ui/compositor/compositor.gyp:compositor',
335 '../third_party/libvpx/libvpx.gyp:libvpx', 336 '../third_party/libvpx/libvpx.gyp:libvpx',
336 ], 337 ],
337 }], 338 }],
338 ['OS=="android"', { 339 ['OS=="android"', {
339 'dependencies': [ 340 'dependencies': [
340 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', 341 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
342 'content.gyp:content_v8_external_data',
341 ], 343 ],
342 }], 344 }],
343 ], 345 ],
344 }, 346 },
345 { 347 {
346 'target_name': 'content_unittests', 348 'target_name': 'content_unittests',
347 'type': '<(gtest_target_type)', 349 'type': '<(gtest_target_type)',
348 'dependencies': [ 350 'dependencies': [
349 'browser/service_worker/service_worker_proto.gyp:proto', 351 'browser/service_worker/service_worker_proto.gyp:proto',
350 'browser/speech/proto/speech_proto.gyp:speech_proto', 352 'browser/speech/proto/speech_proto.gyp:speech_proto',
(...skipping 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 { 1604 {
1603 # TODO(GN) 1605 # TODO(GN)
1604 'target_name': 'content_unittests_apk', 1606 'target_name': 'content_unittests_apk',
1605 'type': 'none', 1607 'type': 'none',
1606 'dependencies': [ 1608 'dependencies': [
1607 'content.gyp:content_java', 1609 'content.gyp:content_java',
1608 'content_unittests', 1610 'content_unittests',
1609 ], 1611 ],
1610 'variables': { 1612 'variables': {
1611 'test_suite_name': 'content_unittests', 1613 'test_suite_name': 'content_unittests',
1614 'conditions': [
1615 ['v8_use_external_startup_data==1', {
1616 'additional_input_paths': [
1617 '<(PRODUCT_DIR)/natives_blob.bin',
1618 '<(PRODUCT_DIR)/snapshot_blob.bin',
1619 ],
1620 }],
1621 ],
1612 }, 1622 },
1623 'copies': [
1624 {
1625 'destination': '<(PRODUCT_DIR)/content_unittests_apk/assets',
1626 'conditions': [
1627 ['v8_use_external_startup_data==1', {
1628 'files': [
1629 '<(PRODUCT_DIR)/natives_blob.bin',
1630 '<(PRODUCT_DIR)/snapshot_blob.bin',
1631 ],
1632 }],
1633 ],
1634 },
1635 ],
1613 'includes': [ '../build/apk_test.gypi' ], 1636 'includes': [ '../build/apk_test.gypi' ],
1614 }, 1637 },
1615 { 1638 {
1616 # TODO(GN) 1639 # TODO(GN)
1617 'target_name': 'content_browsertests_apk', 1640 'target_name': 'content_browsertests_apk',
1618 'type': 'none', 1641 'type': 'none',
1619 'dependencies': [ 1642 'dependencies': [
1620 'content.gyp:content_icudata', 1643 'content.gyp:content_icudata',
1621 'content.gyp:content_java', 1644 'content.gyp:content_java',
1645 'content.gyp:content_v8_external_data',
1622 'content_browsertests', 1646 'content_browsertests',
1623 'content_java_test_support', 1647 'content_java_test_support',
1624 'content_shell_java', 1648 'content_shell_java',
1625 ], 1649 ],
1626 'variables': { 1650 'variables': {
1627 'apk_name': 'content_browsertests', 1651 'apk_name': 'content_browsertests',
1628 'java_in_dir': 'shell/android/browsertests_apk', 1652 'java_in_dir': 'shell/android/browsertests_apk',
1629 'resource_dir': 'shell/android/browsertests_apk/res', 1653 'resource_dir': 'shell/android/browsertests_apk/res',
1630 'native_lib_target': 'libcontent_browsertests', 1654 'native_lib_target': 'libcontent_browsertests',
1631 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], 1655 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
1632 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', 1656 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1633 'conditions': [ 1657 'conditions': [
1634 ['icu_use_data_file_flag==1', { 1658 ['icu_use_data_file_flag==1', {
1635 'additional_input_paths': [ 1659 'additional_input_paths': [
1636 '<(PRODUCT_DIR)/icudtl.dat', 1660 '<(PRODUCT_DIR)/icudtl.dat',
1637 ], 1661 ],
1638 }], 1662 }],
1663 ['v8_use_external_startup_data==1', {
1664 'additional_input_paths': [
1665 '<(PRODUCT_DIR)/natives_blob.bin',
1666 '<(PRODUCT_DIR)/snapshot_blob.bin',
1667 ],
1668 }],
1639 ], 1669 ],
1640 }, 1670 },
1641 'includes': [ '../build/java_apk.gypi' ], 1671 'includes': [ '../build/java_apk.gypi' ],
1642 }, 1672 },
1643 { 1673 {
1644 # TODO(GN) 1674 # TODO(GN)
1645 'target_name': 'content_perftests_apk', 1675 'target_name': 'content_perftests_apk',
1646 'type': 'none', 1676 'type': 'none',
1647 'dependencies': [ 1677 'dependencies': [
1648 'content.gyp:content_java', 1678 'content.gyp:content_java',
1649 'content_perftests', 1679 'content_perftests',
1650 ], 1680 ],
1651 'variables': { 1681 'variables': {
1652 'test_suite_name': 'content_perftests', 1682 'test_suite_name': 'content_perftests',
1653 }, 1683 },
1654 'includes': [ '../build/apk_test.gypi' ], 1684 'includes': [ '../build/apk_test.gypi' ],
1655 }, 1685 },
1656 { 1686 {
1657 # TODO(GN) 1687 # TODO(GN)
1658 'target_name': 'chromium_linker_test_apk', 1688 'target_name': 'chromium_linker_test_apk',
1659 'type': 'none', 1689 'type': 'none',
1660 'conditions': [ 1690 'conditions': [
1661 ['target_arch != "x64" and target_arch != "arm64"', { 1691 ['target_arch != "x64" and target_arch != "arm64"', {
1662 'dependencies': [ 1692 'dependencies': [
1663 'chromium_android_linker_test', 1693 'chromium_android_linker_test',
1664 'content.gyp:content_icudata', 1694 'content.gyp:content_icudata',
1665 'content.gyp:content_java', 1695 'content.gyp:content_java',
1696 'content.gyp:content_v8_external_data',
1666 'content_shell_java', 1697 'content_shell_java',
1667 ], 1698 ],
1668 'variables': { 1699 'variables': {
1669 'apk_name': 'ChromiumLinkerTest', 1700 'apk_name': 'ChromiumLinkerTest',
1670 'java_in_dir': 'shell/android/linker_test_apk', 1701 'java_in_dir': 'shell/android/linker_test_apk',
1671 'resource_dir': 'shell/android/linker_test_apk/res', 1702 'resource_dir': 'shell/android/linker_test_apk/res',
1672 'native_lib_target': 'libchromium_android_linker_test', 1703 'native_lib_target': 'libchromium_android_linker_test',
1673 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/ content_shell.pak'], 1704 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/ content_shell.pak'],
1674 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', 1705 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1675 'use_chromium_linker': '1', 1706 'use_chromium_linker': '1',
1676 'enable_chromium_linker_tests': '1', 1707 'enable_chromium_linker_tests': '1',
1677 'conditions': [ 1708 'conditions': [
1678 ['icu_use_data_file_flag==1', { 1709 ['icu_use_data_file_flag==1', {
1679 'additional_input_paths': [ 1710 'additional_input_paths': [
1680 '<(PRODUCT_DIR)/icudtl.dat', 1711 '<(PRODUCT_DIR)/icudtl.dat',
1681 ], 1712 ],
1682 }], 1713 }],
1714 ['v8_use_external_startup_data==1', {
1715 'additional_input_paths': [
1716 '<(PRODUCT_DIR)/natives_blob.bin',
1717 '<(PRODUCT_DIR)/snapshot_blob.bin',
1718 ],
1719 }],
1683 ], 1720 ],
1684 }, 1721 },
1685 'includes': [ '../build/java_apk.gypi' ], 1722 'includes': [ '../build/java_apk.gypi' ],
1686 }, 1723 },
1687 ], 1724 ],
1688 ], 1725 ],
1689 }, 1726 },
1690 { 1727 {
1691 # TODO(GN) 1728 # TODO(GN)
1692 'target_name': 'chromium_android_linker_test', 1729 'target_name': 'chromium_android_linker_test',
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1923 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], 1960 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],
1924 }, 1961 },
1925 ], 1962 ],
1926 }], 1963 }],
1927 ], 1964 ],
1928 }, 1965 },
1929 ], 1966 ],
1930 }], 1967 }],
1931 ], 1968 ],
1932 } 1969 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698