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

Side by Side Diff: src/v8.gyp

Issue 2393603002: Revert of Turn libbase into a component (Closed)
Patch Set: Created 4 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
« no previous file with comments | « src/startup-data-util.cc ('k') | test/cctest/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 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 '..', 61 '..',
62 ], 62 ],
63 'defines': [ 63 'defines': [
64 'BUILDING_V8_SHARED', 64 'BUILDING_V8_SHARED',
65 ], 65 ],
66 'direct_dependent_settings': { 66 'direct_dependent_settings': {
67 'defines': [ 67 'defines': [
68 'USING_V8_SHARED', 68 'USING_V8_SHARED',
69 ], 69 ],
70 }, 70 },
71 'target_conditions': [
72 ['OS=="android" and _toolset=="target"', {
73 'libraries': [
74 '-llog',
75 ],
76 'include_dirs': [
77 'src/common/android/include',
78 ],
79 }],
80 ],
71 'conditions': [ 81 'conditions': [
72 ['OS=="mac"', { 82 ['OS=="mac"', {
73 'xcode_settings': { 83 'xcode_settings': {
74 'OTHER_LDFLAGS': ['-dynamiclib', '-all_load'] 84 'OTHER_LDFLAGS': ['-dynamiclib', '-all_load']
75 }, 85 },
76 }], 86 }],
77 ['soname_version!=""', { 87 ['soname_version!=""', {
78 'product_extension': 'so.<(soname_version)', 88 'product_extension': 'so.<(soname_version)',
79 }], 89 }],
80 ], 90 ],
(...skipping 1662 matching lines...) Expand 10 before | Expand all | Expand 10 after
1743 }], 1753 }],
1744 ['OS=="win" and v8_enable_i18n_support==1', { 1754 ['OS=="win" and v8_enable_i18n_support==1', {
1745 'dependencies': [ 1755 'dependencies': [
1746 '<(icu_gyp_path):icudata', 1756 '<(icu_gyp_path):icudata',
1747 ], 1757 ],
1748 }], 1758 }],
1749 ], 1759 ],
1750 }, 1760 },
1751 { 1761 {
1752 'target_name': 'v8_libbase', 1762 'target_name': 'v8_libbase',
1753 'type': '<(component)', 1763 'type': 'static_library',
1754 'variables': { 1764 'variables': {
1755 'optimize': 'max', 1765 'optimize': 'max',
1756 }, 1766 },
1757 'include_dirs+': [ 1767 'include_dirs+': [
1758 '..', 1768 '..',
1759 ], 1769 ],
1760 'sources': [ 1770 'sources': [
1761 'base/adapters.h', 1771 'base/adapters.h',
1762 'base/atomic-utils.h', 1772 'base/atomic-utils.h',
1763 'base/atomicops.h', 1773 'base/atomicops.h',
1764 'base/atomicops_internals_arm64_gcc.h', 1774 'base/atomicops_internals_arm64_gcc.h',
1765 'base/atomicops_internals_arm_gcc.h', 1775 'base/atomicops_internals_arm_gcc.h',
1766 'base/atomicops_internals_atomicword_compat.h', 1776 'base/atomicops_internals_atomicword_compat.h',
1767 'base/atomicops_internals_mac.h', 1777 'base/atomicops_internals_mac.h',
1768 'base/atomicops_internals_mips_gcc.h', 1778 'base/atomicops_internals_mips_gcc.h',
1769 'base/atomicops_internals_mips64_gcc.h', 1779 'base/atomicops_internals_mips64_gcc.h',
1770 'base/atomicops_internals_ppc_gcc.h', 1780 'base/atomicops_internals_ppc_gcc.h',
1771 'base/atomicops_internals_s390_gcc.h', 1781 'base/atomicops_internals_s390_gcc.h',
1772 'base/atomicops_internals_tsan.h', 1782 'base/atomicops_internals_tsan.h',
1773 'base/atomicops_internals_x86_gcc.cc', 1783 'base/atomicops_internals_x86_gcc.cc',
1774 'base/atomicops_internals_x86_gcc.h', 1784 'base/atomicops_internals_x86_gcc.h',
1775 'base/atomicops_internals_x86_msvc.h', 1785 'base/atomicops_internals_x86_msvc.h',
1776 'base/base-export.h',
1777 'base/bits.cc', 1786 'base/bits.cc',
1778 'base/bits.h', 1787 'base/bits.h',
1779 'base/build_config.h', 1788 'base/build_config.h',
1780 'base/compiler-specific.h', 1789 'base/compiler-specific.h',
1781 'base/cpu.cc', 1790 'base/cpu.cc',
1782 'base/cpu.h', 1791 'base/cpu.h',
1783 'base/division-by-constant.cc', 1792 'base/division-by-constant.cc',
1784 'base/division-by-constant.h', 1793 'base/division-by-constant.h',
1785 'base/debug/stack_trace.cc', 1794 'base/debug/stack_trace.cc',
1786 'base/debug/stack_trace.h', 1795 'base/debug/stack_trace.h',
(...skipping 27 matching lines...) Expand all
1814 'base/platform/semaphore.h', 1823 'base/platform/semaphore.h',
1815 'base/safe_conversions.h', 1824 'base/safe_conversions.h',
1816 'base/safe_conversions_impl.h', 1825 'base/safe_conversions_impl.h',
1817 'base/safe_math.h', 1826 'base/safe_math.h',
1818 'base/safe_math_impl.h', 1827 'base/safe_math_impl.h',
1819 'base/sys-info.cc', 1828 'base/sys-info.cc',
1820 'base/sys-info.h', 1829 'base/sys-info.h',
1821 'base/utils/random-number-generator.cc', 1830 'base/utils/random-number-generator.cc',
1822 'base/utils/random-number-generator.h', 1831 'base/utils/random-number-generator.h',
1823 ], 1832 ],
1824 'target_conditions': [
1825 ['OS=="android" and _toolset=="target"', {
1826 'libraries': [
1827 '-llog',
1828 ],
1829 'include_dirs': [
1830 'src/common/android/include',
1831 ],
1832 }],
1833 ],
1834 'conditions': [ 1833 'conditions': [
1835 ['want_separate_host_toolset==1 or \ 1834 ['want_separate_host_toolset==1 or \
1836 want_separate_host_toolset_mkpeephole==1', { 1835 want_separate_host_toolset_mkpeephole==1', {
1837 'toolsets': ['host', 'target'], 1836 'toolsets': ['host', 'target'],
1838 }, { 1837 }, {
1839 'toolsets': ['target'], 1838 'toolsets': ['target'],
1840 }], 1839 }],
1841 ['component=="shared_library"', {
1842 'defines': [
1843 'BUILDING_V8_BASE_SHARED',
1844 ],
1845 'direct_dependent_settings': {
1846 'defines': [
1847 'USING_V8_BASE_SHARED',
1848 ],
1849 },
1850 }],
1851 ['OS=="linux"', { 1840 ['OS=="linux"', {
1852 'link_settings': { 1841 'link_settings': {
1853 'libraries': [ 1842 'libraries': [
1854 '-ldl', 1843 '-ldl',
1855 '-lrt' 1844 '-lrt'
1856 ], 1845 ],
1857 }, 1846 },
1858 'sources': [ 1847 'sources': [
1859 'base/debug/stack_trace_posix.cc', 1848 'base/debug/stack_trace_posix.cc',
1860 'base/platform/platform-linux.cc', 1849 'base/platform/platform-linux.cc',
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
2401 '../tools/gen-postmortem-metadata.py', 2390 '../tools/gen-postmortem-metadata.py',
2402 '<@(_outputs)', 2391 '<@(_outputs)',
2403 '<@(heapobject_files)' 2392 '<@(heapobject_files)'
2404 ] 2393 ]
2405 } 2394 }
2406 ] 2395 ]
2407 }, 2396 },
2408 { 2397 {
2409 'target_name': 'mksnapshot', 2398 'target_name': 'mksnapshot',
2410 'type': 'executable', 2399 'type': 'executable',
2411 'dependencies': [ 2400 'dependencies': ['v8_base', 'v8_nosnapshot', 'v8_libplatform'],
2412 'v8_base',
2413 'v8_libbase',
2414 'v8_nosnapshot',
2415 'v8_libplatform'
2416 ],
2417 'include_dirs+': [ 2401 'include_dirs+': [
2418 '..', 2402 '..',
2419 '<(DEPTH)', 2403 '<(DEPTH)',
2420 ], 2404 ],
2421 'sources': [ 2405 'sources': [
2422 'snapshot/mksnapshot.cc', 2406 'snapshot/mksnapshot.cc',
2423 ], 2407 ],
2424 'conditions': [ 2408 'conditions': [
2425 ['v8_enable_i18n_support==1', { 2409 ['v8_enable_i18n_support==1', {
2426 'dependencies': [ 2410 'dependencies': [
(...skipping 27 matching lines...) Expand all
2454 'conditions': [ 2438 'conditions': [
2455 ['want_separate_host_toolset_mkpeephole==1', { 2439 ['want_separate_host_toolset_mkpeephole==1', {
2456 'toolsets': ['host'], 2440 'toolsets': ['host'],
2457 }, { 2441 }, {
2458 'toolsets': ['target'], 2442 'toolsets': ['target'],
2459 }], 2443 }],
2460 ], 2444 ],
2461 }, 2445 },
2462 ], 2446 ],
2463 } 2447 }
OLDNEW
« no previous file with comments | « src/startup-data-util.cc ('k') | test/cctest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698