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

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: Sync master 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 ], 185 ],
186 'sources': [ '<@(layouttest_support_content_sources)' ] 186 'sources': [ '<@(layouttest_support_content_sources)' ]
187 }], 187 }],
188 ], 188 ],
189 }, 189 },
190 { 190 {
191 # GN version: //content/test:test_support 191 # GN version: //content/test:test_support
192 'target_name': 'test_support_content', 192 'target_name': 'test_support_content',
193 'type': 'static_library', 193 'type': 'static_library',
194 'dependencies': [ 194 'dependencies': [
195 '../gin/gin.gyp:gin',
195 '../net/net.gyp:net_test_support', 196 '../net/net.gyp:net_test_support',
196 '../skia/skia.gyp:skia', 197 '../skia/skia.gyp:skia',
197 '../storage/storage_common.gyp:storage_common', 198 '../storage/storage_common.gyp:storage_common',
198 '../testing/gmock.gyp:gmock', 199 '../testing/gmock.gyp:gmock',
199 '../testing/gtest.gyp:gtest', 200 '../testing/gtest.gyp:gtest',
200 '../ui/accessibility/accessibility.gyp:ax_gen', 201 '../ui/accessibility/accessibility.gyp:ax_gen',
201 '../ui/base/ui_base.gyp:ui_base', 202 '../ui/base/ui_base.gyp:ui_base',
202 '../ui/base/ui_base.gyp:ui_base_test_support', 203 '../ui/base/ui_base.gyp:ui_base_test_support',
203 '../ui/events/events.gyp:dom4_keycode_converter', 204 '../ui/events/events.gyp:dom4_keycode_converter',
204 '../ui/events/events.gyp:events_base', 205 '../ui/events/events.gyp:events_base',
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 'browser/compositor/test/no_transport_image_transport_factory.h', 334 'browser/compositor/test/no_transport_image_transport_factory.h',
334 ], 335 ],
335 'dependencies': [ 336 'dependencies': [
336 '../ui/compositor/compositor.gyp:compositor', 337 '../ui/compositor/compositor.gyp:compositor',
337 '../third_party/libvpx/libvpx.gyp:libvpx', 338 '../third_party/libvpx/libvpx.gyp:libvpx',
338 ], 339 ],
339 }], 340 }],
340 ['OS=="android"', { 341 ['OS=="android"', {
341 'dependencies': [ 342 'dependencies': [
342 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', 343 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
344 'content.gyp:content_v8_external_data',
343 ], 345 ],
344 }], 346 }],
345 ], 347 ],
346 }, 348 },
347 { 349 {
348 'target_name': 'content_unittests', 350 'target_name': 'content_unittests',
349 'type': '<(gtest_target_type)', 351 'type': '<(gtest_target_type)',
350 'dependencies': [ 352 'dependencies': [
351 'browser/service_worker/service_worker_proto.gyp:proto', 353 'browser/service_worker/service_worker_proto.gyp:proto',
352 'browser/speech/proto/speech_proto.gyp:speech_proto', 354 'browser/speech/proto/speech_proto.gyp:speech_proto',
(...skipping 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after
1608 { 1610 {
1609 # TODO(GN) 1611 # TODO(GN)
1610 'target_name': 'content_unittests_apk', 1612 'target_name': 'content_unittests_apk',
1611 'type': 'none', 1613 'type': 'none',
1612 'dependencies': [ 1614 'dependencies': [
1613 'content.gyp:content_java', 1615 'content.gyp:content_java',
1614 'content_unittests', 1616 'content_unittests',
1615 ], 1617 ],
1616 'variables': { 1618 'variables': {
1617 'test_suite_name': 'content_unittests', 1619 'test_suite_name': 'content_unittests',
1620 'conditions': [
1621 ['v8_use_external_startup_data==1', {
1622 'additional_input_paths': [
1623 '<(PRODUCT_DIR)/natives_blob.bin',
1624 '<(PRODUCT_DIR)/snapshot_blob.bin',
1625 ],
1626 }],
1627 ],
1618 }, 1628 },
1629 'copies': [
1630 {
1631 'destination': '<(PRODUCT_DIR)/content_unittests_apk/assets',
1632 'conditions': [
1633 ['v8_use_external_startup_data==1', {
1634 'files': [
1635 '<(PRODUCT_DIR)/natives_blob.bin',
1636 '<(PRODUCT_DIR)/snapshot_blob.bin',
1637 ],
1638 }],
1639 ],
1640 },
1641 ],
1619 'includes': [ '../build/apk_test.gypi' ], 1642 'includes': [ '../build/apk_test.gypi' ],
1620 }, 1643 },
1621 { 1644 {
1622 # TODO(GN) 1645 # TODO(GN)
1623 'target_name': 'content_browsertests_apk', 1646 'target_name': 'content_browsertests_apk',
1624 'type': 'none', 1647 'type': 'none',
1625 'dependencies': [ 1648 'dependencies': [
1626 'content.gyp:content_icudata', 1649 'content.gyp:content_icudata',
1627 'content.gyp:content_java', 1650 'content.gyp:content_java',
1651 'content.gyp:content_v8_external_data',
1628 'content_browsertests', 1652 'content_browsertests',
1629 'content_java_test_support', 1653 'content_java_test_support',
1630 'content_shell_java', 1654 'content_shell_java',
1631 ], 1655 ],
1632 'variables': { 1656 'variables': {
1633 'apk_name': 'content_browsertests', 1657 'apk_name': 'content_browsertests',
1634 'java_in_dir': 'shell/android/browsertests_apk', 1658 'java_in_dir': 'shell/android/browsertests_apk',
1635 'resource_dir': 'shell/android/browsertests_apk/res', 1659 'resource_dir': 'shell/android/browsertests_apk/res',
1636 'native_lib_target': 'libcontent_browsertests', 1660 'native_lib_target': 'libcontent_browsertests',
1637 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], 1661 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
1638 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', 1662 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1639 'conditions': [ 1663 'conditions': [
1640 ['icu_use_data_file_flag==1', { 1664 ['icu_use_data_file_flag==1', {
1641 'additional_input_paths': [ 1665 'additional_input_paths': [
1642 '<(PRODUCT_DIR)/icudtl.dat', 1666 '<(PRODUCT_DIR)/icudtl.dat',
1643 ], 1667 ],
1644 }], 1668 }],
1669 ['v8_use_external_startup_data==1', {
1670 'additional_input_paths': [
1671 '<(PRODUCT_DIR)/natives_blob.bin',
1672 '<(PRODUCT_DIR)/snapshot_blob.bin',
1673 ],
1674 }],
1645 ], 1675 ],
1646 }, 1676 },
1647 'includes': [ '../build/java_apk.gypi' ], 1677 'includes': [ '../build/java_apk.gypi' ],
1648 }, 1678 },
1649 { 1679 {
1650 # TODO(GN) 1680 # TODO(GN)
1651 'target_name': 'content_perftests_apk', 1681 'target_name': 'content_perftests_apk',
1652 'type': 'none', 1682 'type': 'none',
1653 'dependencies': [ 1683 'dependencies': [
1654 'content.gyp:content_java', 1684 'content.gyp:content_java',
1655 'content_perftests', 1685 'content_perftests',
1656 ], 1686 ],
1657 'variables': { 1687 'variables': {
1658 'test_suite_name': 'content_perftests', 1688 'test_suite_name': 'content_perftests',
1659 }, 1689 },
1660 'includes': [ '../build/apk_test.gypi' ], 1690 'includes': [ '../build/apk_test.gypi' ],
1661 }, 1691 },
1662 { 1692 {
1663 # TODO(GN) 1693 # TODO(GN)
1664 'target_name': 'chromium_linker_test_apk', 1694 'target_name': 'chromium_linker_test_apk',
1665 'type': 'none', 1695 'type': 'none',
1666 'conditions': [ 1696 'conditions': [
1667 ['target_arch != "x64" and target_arch != "arm64"', { 1697 ['target_arch != "x64" and target_arch != "arm64"', {
1668 'dependencies': [ 1698 'dependencies': [
1669 'chromium_android_linker_test', 1699 'chromium_android_linker_test',
1670 'content.gyp:content_icudata', 1700 'content.gyp:content_icudata',
1671 'content.gyp:content_java', 1701 'content.gyp:content_java',
1702 'content.gyp:content_v8_external_data',
1672 'content_shell_java', 1703 'content_shell_java',
1673 ], 1704 ],
1674 'variables': { 1705 'variables': {
1675 'apk_name': 'ChromiumLinkerTest', 1706 'apk_name': 'ChromiumLinkerTest',
1676 'java_in_dir': 'shell/android/linker_test_apk', 1707 'java_in_dir': 'shell/android/linker_test_apk',
1677 'resource_dir': 'shell/android/linker_test_apk/res', 1708 'resource_dir': 'shell/android/linker_test_apk/res',
1678 'native_lib_target': 'libchromium_android_linker_test', 1709 'native_lib_target': 'libchromium_android_linker_test',
1679 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/ content_shell.pak'], 1710 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/ content_shell.pak'],
1680 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', 1711 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1681 'use_chromium_linker': '1', 1712 'use_chromium_linker': '1',
1682 'enable_chromium_linker_tests': '1', 1713 'enable_chromium_linker_tests': '1',
1683 'conditions': [ 1714 'conditions': [
1684 ['icu_use_data_file_flag==1', { 1715 ['icu_use_data_file_flag==1', {
1685 'additional_input_paths': [ 1716 'additional_input_paths': [
1686 '<(PRODUCT_DIR)/icudtl.dat', 1717 '<(PRODUCT_DIR)/icudtl.dat',
1687 ], 1718 ],
1688 }], 1719 }],
1720 ['v8_use_external_startup_data==1', {
1721 'additional_input_paths': [
1722 '<(PRODUCT_DIR)/natives_blob.bin',
1723 '<(PRODUCT_DIR)/snapshot_blob.bin',
1724 ],
1725 }],
1689 ], 1726 ],
1690 }, 1727 },
1691 'includes': [ '../build/java_apk.gypi' ], 1728 'includes': [ '../build/java_apk.gypi' ],
1692 }, 1729 },
1693 ], 1730 ],
1694 ], 1731 ],
1695 }, 1732 },
1696 { 1733 {
1697 # TODO(GN) 1734 # TODO(GN)
1698 'target_name': 'chromium_android_linker_test', 1735 'target_name': 'chromium_android_linker_test',
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
1930 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], 1967 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],
1931 }, 1968 },
1932 ], 1969 ],
1933 }], 1970 }],
1934 ], 1971 ],
1935 }, 1972 },
1936 ], 1973 ],
1937 }], 1974 }],
1938 ], 1975 ],
1939 } 1976 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698