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