| OLD | NEW |
| 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 Loading... |
| 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 1663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1744 }], | 1754 }], |
| 1745 ['OS=="win" and v8_enable_i18n_support==1', { | 1755 ['OS=="win" and v8_enable_i18n_support==1', { |
| 1746 'dependencies': [ | 1756 'dependencies': [ |
| 1747 '<(icu_gyp_path):icudata', | 1757 '<(icu_gyp_path):icudata', |
| 1748 ], | 1758 ], |
| 1749 }], | 1759 }], |
| 1750 ], | 1760 ], |
| 1751 }, | 1761 }, |
| 1752 { | 1762 { |
| 1753 'target_name': 'v8_libbase', | 1763 'target_name': 'v8_libbase', |
| 1754 'type': '<(component)', | 1764 'type': 'static_library', |
| 1755 'variables': { | 1765 'variables': { |
| 1756 'optimize': 'max', | 1766 'optimize': 'max', |
| 1757 }, | 1767 }, |
| 1758 'include_dirs+': [ | 1768 'include_dirs+': [ |
| 1759 '..', | 1769 '..', |
| 1760 ], | 1770 ], |
| 1761 'sources': [ | 1771 'sources': [ |
| 1762 'base/adapters.h', | 1772 'base/adapters.h', |
| 1763 'base/atomic-utils.h', | 1773 'base/atomic-utils.h', |
| 1764 'base/atomicops.h', | 1774 'base/atomicops.h', |
| 1765 'base/atomicops_internals_arm64_gcc.h', | 1775 'base/atomicops_internals_arm64_gcc.h', |
| 1766 'base/atomicops_internals_arm_gcc.h', | 1776 'base/atomicops_internals_arm_gcc.h', |
| 1767 'base/atomicops_internals_atomicword_compat.h', | 1777 'base/atomicops_internals_atomicword_compat.h', |
| 1768 'base/atomicops_internals_mac.h', | 1778 'base/atomicops_internals_mac.h', |
| 1769 'base/atomicops_internals_mips_gcc.h', | 1779 'base/atomicops_internals_mips_gcc.h', |
| 1770 'base/atomicops_internals_mips64_gcc.h', | 1780 'base/atomicops_internals_mips64_gcc.h', |
| 1771 'base/atomicops_internals_ppc_gcc.h', | 1781 'base/atomicops_internals_ppc_gcc.h', |
| 1772 'base/atomicops_internals_s390_gcc.h', | 1782 'base/atomicops_internals_s390_gcc.h', |
| 1773 'base/atomicops_internals_tsan.h', | 1783 'base/atomicops_internals_tsan.h', |
| 1774 'base/atomicops_internals_x86_gcc.cc', | 1784 'base/atomicops_internals_x86_gcc.cc', |
| 1775 'base/atomicops_internals_x86_gcc.h', | 1785 'base/atomicops_internals_x86_gcc.h', |
| 1776 'base/atomicops_internals_x86_msvc.h', | 1786 'base/atomicops_internals_x86_msvc.h', |
| 1777 'base/base-export.h', | |
| 1778 'base/bits.cc', | 1787 'base/bits.cc', |
| 1779 'base/bits.h', | 1788 'base/bits.h', |
| 1780 'base/build_config.h', | 1789 'base/build_config.h', |
| 1781 'base/compiler-specific.h', | 1790 'base/compiler-specific.h', |
| 1782 'base/cpu.cc', | 1791 'base/cpu.cc', |
| 1783 'base/cpu.h', | 1792 'base/cpu.h', |
| 1784 'base/division-by-constant.cc', | 1793 'base/division-by-constant.cc', |
| 1785 'base/division-by-constant.h', | 1794 'base/division-by-constant.h', |
| 1786 'base/debug/stack_trace.cc', | 1795 'base/debug/stack_trace.cc', |
| 1787 'base/debug/stack_trace.h', | 1796 'base/debug/stack_trace.h', |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1815 'base/platform/semaphore.h', | 1824 'base/platform/semaphore.h', |
| 1816 'base/safe_conversions.h', | 1825 'base/safe_conversions.h', |
| 1817 'base/safe_conversions_impl.h', | 1826 'base/safe_conversions_impl.h', |
| 1818 'base/safe_math.h', | 1827 'base/safe_math.h', |
| 1819 'base/safe_math_impl.h', | 1828 'base/safe_math_impl.h', |
| 1820 'base/sys-info.cc', | 1829 'base/sys-info.cc', |
| 1821 'base/sys-info.h', | 1830 'base/sys-info.h', |
| 1822 'base/utils/random-number-generator.cc', | 1831 'base/utils/random-number-generator.cc', |
| 1823 'base/utils/random-number-generator.h', | 1832 'base/utils/random-number-generator.h', |
| 1824 ], | 1833 ], |
| 1825 'target_conditions': [ | |
| 1826 ['OS=="android" and _toolset=="target"', { | |
| 1827 'libraries': [ | |
| 1828 '-llog', | |
| 1829 ], | |
| 1830 'include_dirs': [ | |
| 1831 'src/common/android/include', | |
| 1832 ], | |
| 1833 }], | |
| 1834 ], | |
| 1835 'conditions': [ | 1834 'conditions': [ |
| 1836 ['want_separate_host_toolset==1 or \ | 1835 ['want_separate_host_toolset==1 or \ |
| 1837 want_separate_host_toolset_mkpeephole==1', { | 1836 want_separate_host_toolset_mkpeephole==1', { |
| 1838 'toolsets': ['host', 'target'], | 1837 'toolsets': ['host', 'target'], |
| 1839 }, { | 1838 }, { |
| 1840 'toolsets': ['target'], | 1839 'toolsets': ['target'], |
| 1841 }], | 1840 }], |
| 1842 ['component=="shared_library"', { | |
| 1843 'defines': [ | |
| 1844 'BUILDING_V8_BASE_SHARED', | |
| 1845 ], | |
| 1846 'direct_dependent_settings': { | |
| 1847 'defines': [ | |
| 1848 'USING_V8_BASE_SHARED', | |
| 1849 ], | |
| 1850 }, | |
| 1851 }], | |
| 1852 ['OS=="linux"', { | 1841 ['OS=="linux"', { |
| 1853 'link_settings': { | 1842 'link_settings': { |
| 1854 'libraries': [ | 1843 'libraries': [ |
| 1855 '-ldl', | 1844 '-ldl', |
| 1856 '-lrt' | 1845 '-lrt' |
| 1857 ], | 1846 ], |
| 1858 }, | 1847 }, |
| 1859 'sources': [ | 1848 'sources': [ |
| 1860 'base/debug/stack_trace_posix.cc', | 1849 'base/debug/stack_trace_posix.cc', |
| 1861 'base/platform/platform-linux.cc', | 1850 'base/platform/platform-linux.cc', |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2402 '../tools/gen-postmortem-metadata.py', | 2391 '../tools/gen-postmortem-metadata.py', |
| 2403 '<@(_outputs)', | 2392 '<@(_outputs)', |
| 2404 '<@(heapobject_files)' | 2393 '<@(heapobject_files)' |
| 2405 ] | 2394 ] |
| 2406 } | 2395 } |
| 2407 ] | 2396 ] |
| 2408 }, | 2397 }, |
| 2409 { | 2398 { |
| 2410 'target_name': 'mksnapshot', | 2399 'target_name': 'mksnapshot', |
| 2411 'type': 'executable', | 2400 'type': 'executable', |
| 2412 'dependencies': [ | 2401 'dependencies': ['v8_base', 'v8_nosnapshot', 'v8_libplatform'], |
| 2413 'v8_base', | |
| 2414 'v8_libbase', | |
| 2415 'v8_nosnapshot', | |
| 2416 'v8_libplatform' | |
| 2417 ], | |
| 2418 'include_dirs+': [ | 2402 'include_dirs+': [ |
| 2419 '..', | 2403 '..', |
| 2420 '<(DEPTH)', | 2404 '<(DEPTH)', |
| 2421 ], | 2405 ], |
| 2422 'sources': [ | 2406 'sources': [ |
| 2423 'snapshot/mksnapshot.cc', | 2407 'snapshot/mksnapshot.cc', |
| 2424 ], | 2408 ], |
| 2425 'conditions': [ | 2409 'conditions': [ |
| 2426 ['v8_enable_i18n_support==1', { | 2410 ['v8_enable_i18n_support==1', { |
| 2427 'dependencies': [ | 2411 'dependencies': [ |
| (...skipping 27 matching lines...) Expand all Loading... |
| 2455 'conditions': [ | 2439 'conditions': [ |
| 2456 ['want_separate_host_toolset_mkpeephole==1', { | 2440 ['want_separate_host_toolset_mkpeephole==1', { |
| 2457 'toolsets': ['host'], | 2441 'toolsets': ['host'], |
| 2458 }, { | 2442 }, { |
| 2459 'toolsets': ['target'], | 2443 'toolsets': ['target'], |
| 2460 }], | 2444 }], |
| 2461 ], | 2445 ], |
| 2462 }, | 2446 }, |
| 2463 ], | 2447 ], |
| 2464 } | 2448 } |
| OLD | NEW |