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

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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 { 1027 {
1026 'target_name': 'content_perftests', 1028 'target_name': 'content_perftests',
1027 'type': '<(gtest_target_type)', 1029 'type': '<(gtest_target_type)',
1028 'defines!': ['CONTENT_IMPLEMENTATION'], 1030 'defines!': ['CONTENT_IMPLEMENTATION'],
1029 'dependencies': [ 1031 'dependencies': [
1030 'content.gyp:content_browser', 1032 'content.gyp:content_browser',
1031 'content.gyp:content_common', 1033 'content.gyp:content_common',
1032 'test_support_content', 1034 'test_support_content',
1033 '../base/base.gyp:test_support_base', 1035 '../base/base.gyp:test_support_base',
1034 '../cc/cc.gyp:cc', 1036 '../cc/cc.gyp:cc',
1037 '../gin/gin.gyp:gin',
rmcilroy 2014/10/07 16:16:11 not required (pulled in by test_support_content de
baixo 2014/10/08 11:28:54 Done.
1035 '../skia/skia.gyp:skia', 1038 '../skia/skia.gyp:skia',
1036 '../testing/gtest.gyp:gtest', 1039 '../testing/gtest.gyp:gtest',
1037 '../testing/perf/perf_test.gyp:*', 1040 '../testing/perf/perf_test.gyp:*',
1038 '../ui/gfx/gfx.gyp:gfx', 1041 '../ui/gfx/gfx.gyp:gfx',
1039 '../ui/gfx/gfx.gyp:gfx_geometry', 1042 '../ui/gfx/gfx.gyp:gfx_geometry',
1040 ], 1043 ],
1041 'include_dirs': [ 1044 'include_dirs': [
1042 '..', 1045 '..',
1043 ], 1046 ],
1044 'sources': [ 1047 'sources': [
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
1389 }], 1392 }],
1390 ], 1393 ],
1391 }, 1394 },
1392 { 1395 {
1393 'target_name': 'content_gl_tests', 1396 'target_name': 'content_gl_tests',
1394 'type': '<(gtest_target_type)', 1397 'type': '<(gtest_target_type)',
1395 'dependencies': [ 1398 'dependencies': [
1396 'content.gyp:content_common', 1399 'content.gyp:content_common',
1397 'test_support_content', 1400 'test_support_content',
1398 '../base/base.gyp:test_support_base', 1401 '../base/base.gyp:test_support_base',
1402 '../gin/gin.gyp:gin',
rmcilroy 2014/10/07 16:16:11 ditto
baixo 2014/10/08 11:28:54 Done.
1399 '../gpu/gpu.gyp:command_buffer_common', 1403 '../gpu/gpu.gyp:command_buffer_common',
1400 '../testing/gtest.gyp:gtest', 1404 '../testing/gtest.gyp:gtest',
1401 '../third_party/WebKit/public/blink.gyp:blink', 1405 '../third_party/WebKit/public/blink.gyp:blink',
1402 '../ui/base/ui_base.gyp:ui_base', 1406 '../ui/base/ui_base.gyp:ui_base',
1403 '../ui/gfx/gfx.gyp:gfx', 1407 '../ui/gfx/gfx.gyp:gfx',
1404 '../ui/gfx/gfx.gyp:gfx_geometry', 1408 '../ui/gfx/gfx.gyp:gfx_geometry',
1405 '../ui/gfx/gfx.gyp:gfx_test_support', 1409 '../ui/gfx/gfx.gyp:gfx_test_support',
1406 '../ui/gl/gl.gyp:gl', 1410 '../ui/gl/gl.gyp:gl',
1407 '../v8/tools/gyp/v8.gyp:v8', 1411 '../v8/tools/gyp/v8.gyp:v8',
1408 ], 1412 ],
(...skipping 18 matching lines...) Expand all
1427 }], 1431 }],
1428 ], 1432 ],
1429 }, 1433 },
1430 { 1434 {
1431 'target_name': 'content_gl_benchmark', 1435 'target_name': 'content_gl_benchmark',
1432 'type': '<(gtest_target_type)', 1436 'type': '<(gtest_target_type)',
1433 'dependencies': [ 1437 'dependencies': [
1434 'content.gyp:content_common', 1438 'content.gyp:content_common',
1435 'test_support_content', 1439 'test_support_content',
1436 '../base/base.gyp:test_support_base', 1440 '../base/base.gyp:test_support_base',
1441 '../gin/gin.gyp:gin',
rmcilroy 2014/10/07 16:16:10 ditto
baixo 2014/10/08 11:28:55 Done.
1437 '../testing/gtest.gyp:gtest', 1442 '../testing/gtest.gyp:gtest',
1438 '../third_party/WebKit/public/blink.gyp:blink', 1443 '../third_party/WebKit/public/blink.gyp:blink',
1439 '../ui/base/ui_base.gyp:ui_base', 1444 '../ui/base/ui_base.gyp:ui_base',
1440 '../ui/gfx/gfx.gyp:gfx', 1445 '../ui/gfx/gfx.gyp:gfx',
1441 '../ui/gfx/gfx.gyp:gfx_geometry', 1446 '../ui/gfx/gfx.gyp:gfx_geometry',
1442 '../ui/gl/gl.gyp:gl', 1447 '../ui/gl/gl.gyp:gl',
1443 ], 1448 ],
1444 'include_dirs': [ 1449 'include_dirs': [
1445 '..', 1450 '..',
1446 ], 1451 ],
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 { 1607 {
1603 # TODO(GN) 1608 # TODO(GN)
1604 'target_name': 'content_unittests_apk', 1609 'target_name': 'content_unittests_apk',
1605 'type': 'none', 1610 'type': 'none',
1606 'dependencies': [ 1611 'dependencies': [
1607 'content.gyp:content_java', 1612 'content.gyp:content_java',
1608 'content_unittests', 1613 'content_unittests',
1609 ], 1614 ],
1610 'variables': { 1615 'variables': {
1611 'test_suite_name': 'content_unittests', 1616 'test_suite_name': 'content_unittests',
1617 'conditions': [
1618 ['v8_use_external_startup_data==1', {
1619 'additional_input_paths': [
1620 '<(PRODUCT_DIR)/natives_blob.bin',
1621 '<(PRODUCT_DIR)/snapshot_blob.bin',
1622 ],
1623 }],
1624 ],
1612 }, 1625 },
1626 'copies': [
1627 {
1628 'destination': '<(PRODUCT_DIR)/content_unittests_apk/assets',
1629 'conditions': [
1630 ['v8_use_external_startup_data==1', {
1631 'files': [
1632 '<(PRODUCT_DIR)/natives_blob.bin',
1633 '<(PRODUCT_DIR)/snapshot_blob.bin',
1634 ],
1635 }],
1636 ],
1637 },
1638 ],
1613 'includes': [ '../build/apk_test.gypi' ], 1639 'includes': [ '../build/apk_test.gypi' ],
1614 }, 1640 },
1615 { 1641 {
1616 # TODO(GN) 1642 # TODO(GN)
1617 'target_name': 'content_browsertests_apk', 1643 'target_name': 'content_browsertests_apk',
1618 'type': 'none', 1644 'type': 'none',
1619 'dependencies': [ 1645 'dependencies': [
1620 'content.gyp:content_icudata', 1646 'content.gyp:content_icudata',
1621 'content.gyp:content_java', 1647 'content.gyp:content_java',
1648 'content.gyp:content_v8_external_data',
1622 'content_browsertests', 1649 'content_browsertests',
1623 'content_java_test_support', 1650 'content_java_test_support',
1624 'content_shell_java', 1651 'content_shell_java',
1625 ], 1652 ],
1626 'variables': { 1653 'variables': {
1627 'apk_name': 'content_browsertests', 1654 'apk_name': 'content_browsertests',
1628 'java_in_dir': 'shell/android/browsertests_apk', 1655 'java_in_dir': 'shell/android/browsertests_apk',
1629 'resource_dir': 'shell/android/browsertests_apk/res', 1656 'resource_dir': 'shell/android/browsertests_apk/res',
1630 'native_lib_target': 'libcontent_browsertests', 1657 'native_lib_target': 'libcontent_browsertests',
1631 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], 1658 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
1632 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', 1659 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1633 'conditions': [ 1660 'conditions': [
1634 ['icu_use_data_file_flag==1', { 1661 ['icu_use_data_file_flag==1', {
1635 'additional_input_paths': [ 1662 'additional_input_paths': [
1636 '<(PRODUCT_DIR)/icudtl.dat', 1663 '<(PRODUCT_DIR)/icudtl.dat',
1637 ], 1664 ],
1638 }], 1665 }],
1666 ['v8_use_external_startup_data==1', {
1667 'additional_input_paths': [
1668 '<(PRODUCT_DIR)/natives_blob.bin',
1669 '<(PRODUCT_DIR)/snapshot_blob.bin',
1670 ],
1671 }],
1639 ], 1672 ],
1640 }, 1673 },
1641 'includes': [ '../build/java_apk.gypi' ], 1674 'includes': [ '../build/java_apk.gypi' ],
1642 }, 1675 },
1643 { 1676 {
1644 # TODO(GN) 1677 # TODO(GN)
1645 'target_name': 'content_perftests_apk', 1678 'target_name': 'content_perftests_apk',
1646 'type': 'none', 1679 'type': 'none',
1647 'dependencies': [ 1680 'dependencies': [
1648 'content.gyp:content_java', 1681 'content.gyp:content_java',
1649 'content_perftests', 1682 'content_perftests',
1650 ], 1683 ],
1651 'variables': { 1684 'variables': {
1652 'test_suite_name': 'content_perftests', 1685 'test_suite_name': 'content_perftests',
1653 }, 1686 },
1654 'includes': [ '../build/apk_test.gypi' ], 1687 'includes': [ '../build/apk_test.gypi' ],
1655 }, 1688 },
1656 { 1689 {
1657 # TODO(GN) 1690 # TODO(GN)
1658 'target_name': 'chromium_linker_test_apk', 1691 'target_name': 'chromium_linker_test_apk',
1659 'type': 'none', 1692 'type': 'none',
1660 'conditions': [ 1693 'conditions': [
1661 ['target_arch != "x64" and target_arch != "arm64"', { 1694 ['target_arch != "x64" and target_arch != "arm64"', {
1662 'dependencies': [ 1695 'dependencies': [
1663 'chromium_android_linker_test', 1696 'chromium_android_linker_test',
1664 'content.gyp:content_icudata', 1697 'content.gyp:content_icudata',
1665 'content.gyp:content_java', 1698 'content.gyp:content_java',
1699 'content.gyp:content_v8_external_data',
1666 'content_shell_java', 1700 'content_shell_java',
1667 ], 1701 ],
1668 'variables': { 1702 'variables': {
1669 'apk_name': 'ChromiumLinkerTest', 1703 'apk_name': 'ChromiumLinkerTest',
1670 'java_in_dir': 'shell/android/linker_test_apk', 1704 'java_in_dir': 'shell/android/linker_test_apk',
1671 'resource_dir': 'shell/android/linker_test_apk/res', 1705 'resource_dir': 'shell/android/linker_test_apk/res',
1672 'native_lib_target': 'libchromium_android_linker_test', 1706 'native_lib_target': 'libchromium_android_linker_test',
1673 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/ content_shell.pak'], 1707 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/ content_shell.pak'],
1674 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', 1708 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1675 'use_chromium_linker': '1', 1709 'use_chromium_linker': '1',
1676 'enable_chromium_linker_tests': '1', 1710 'enable_chromium_linker_tests': '1',
1677 'conditions': [ 1711 'conditions': [
1678 ['icu_use_data_file_flag==1', { 1712 ['icu_use_data_file_flag==1', {
1679 'additional_input_paths': [ 1713 'additional_input_paths': [
1680 '<(PRODUCT_DIR)/icudtl.dat', 1714 '<(PRODUCT_DIR)/icudtl.dat',
1681 ], 1715 ],
1682 }], 1716 }],
1717 ['v8_use_external_startup_data==1', {
1718 'additional_input_paths': [
1719 '<(PRODUCT_DIR)/natives_blob.bin',
1720 '<(PRODUCT_DIR)/snapshot_blob.bin',
1721 ],
1722 }],
1683 ], 1723 ],
1684 }, 1724 },
1685 'includes': [ '../build/java_apk.gypi' ], 1725 'includes': [ '../build/java_apk.gypi' ],
1686 }, 1726 },
1687 ], 1727 ],
1688 ], 1728 ],
1689 }, 1729 },
1690 { 1730 {
1691 # TODO(GN) 1731 # TODO(GN)
1692 'target_name': 'chromium_android_linker_test', 1732 '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'], 1963 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],
1924 }, 1964 },
1925 ], 1965 ],
1926 }], 1966 }],
1927 ], 1967 ],
1928 }, 1968 },
1929 ], 1969 ],
1930 }], 1970 }],
1931 ], 1971 ],
1932 } 1972 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698