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 22 matching lines...) Expand all Loading... |
33 { | 33 { |
34 'target_name': 'v8', | 34 'target_name': 'v8', |
35 'dependencies_traverse': 1, | 35 'dependencies_traverse': 1, |
36 'conditions': [ | 36 'conditions': [ |
37 ['want_separate_host_toolset==1', { | 37 ['want_separate_host_toolset==1', { |
38 'toolsets': ['host', 'target'], | 38 'toolsets': ['host', 'target'], |
39 }, { | 39 }, { |
40 'toolsets': ['target'], | 40 'toolsets': ['target'], |
41 }], | 41 }], |
42 ['v8_use_snapshot=="true"', { | 42 ['v8_use_snapshot=="true"', { |
43 'dependencies': ['v8_snapshot'], | 43 # The dependency on v8_base should come from a transitive |
| 44 # dependency however the Android toolchain requires libv8_base.a |
| 45 # to appear before libv8_snapshot.a so it's listed explicitly. |
| 46 'dependencies': ['v8_base', 'v8_snapshot'], |
44 }, | 47 }, |
45 { | 48 { |
46 'dependencies': ['v8_nosnapshot'], | 49 # The dependency on v8_base should come from a transitive |
| 50 # dependency however the Android toolchain requires libv8_base.a |
| 51 # to appear before libv8_snapshot.a so it's listed explicitly. |
| 52 'dependencies': ['v8_base', 'v8_nosnapshot'], |
47 }], | 53 }], |
48 ['component=="shared_library"', { | 54 ['component=="shared_library"', { |
49 'type': '<(component)', | 55 'type': '<(component)', |
50 'sources': [ | 56 'sources': [ |
51 # Note: on non-Windows we still build this file so that gyp | 57 # Note: on non-Windows we still build this file so that gyp |
52 # has some sources to link into the component. | 58 # has some sources to link into the component. |
53 '../../src/v8dll-main.cc', | 59 '../../src/v8dll-main.cc', |
54 ], | 60 ], |
55 'conditions': [ | 61 'conditions': [ |
56 ['OS=="win"', { | 62 ['OS=="win"', { |
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
986 }], | 992 }], |
987 ], | 993 ], |
988 'dependencies': [ | 994 'dependencies': [ |
989 'v8' | 995 'v8' |
990 ], | 996 ], |
991 }, | 997 }, |
992 ], | 998 ], |
993 }], | 999 }], |
994 ], | 1000 ], |
995 } | 1001 } |
OLD | NEW |