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 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
984 { | 984 { |
985 'target_name': 'v8', | 985 'target_name': 'v8', |
986 'type': 'none', | 986 'type': 'none', |
987 'conditions': [ | 987 'conditions': [ |
988 ['want_separate_host_toolset==1', { | 988 ['want_separate_host_toolset==1', { |
989 'toolsets': ['host', 'target'], | 989 'toolsets': ['host', 'target'], |
990 }, { | 990 }, { |
991 'toolsets': ['target'], | 991 'toolsets': ['target'], |
992 }], | 992 }], |
993 ], | 993 ], |
994 'variables': { | |
995 'headers_root_path': '../../include', | |
996 'header_filenames': [ | |
997 'v8-debug.h', | |
998 'v8-preparser.h', | |
999 'v8-profiler.h', | |
1000 'v8-testing.h', | |
1001 'v8.h', | |
1002 'v8stdint.h', | |
1003 ], | |
1004 }, | |
1005 'variables': { | |
Jakob Kummerow
2013/01/14 12:07:46
I get that when copy-pasting, it's good to avoid h
| |
1006 'shim_headers_path': '<(SHARED_INTERMEDIATE_DIR)/shim_headers/<(_tar get_name)/<(_toolset)', | |
1007 }, | |
1008 'include_dirs++': [ | |
1009 '<(shim_headers_path)', | |
1010 ], | |
1011 'direct_dependent_settings': { | |
1012 'include_dirs+++': [ | |
1013 '<(shim_headers_path)', | |
1014 ], | |
1015 }, | |
1016 'actions': [ | |
1017 { | |
1018 'variables': { | |
1019 'generator_path': '../../../tools/generate_shim_headers/generate _shim_headers.py', | |
1020 'generator_args': [ | |
1021 '--headers-root', '<(headers_root_path)', | |
1022 '--output-directory', '<(shim_headers_path)', | |
1023 '<@(header_filenames)', | |
1024 ], | |
1025 }, | |
1026 'action_name': 'generate_<(_target_name)_shim_headers', | |
1027 'inputs': [ | |
1028 '<(generator_path)', | |
1029 ], | |
1030 'outputs': [ | |
1031 '<!@pymod_do_main(generate_shim_headers <@(generator_args) --out puts)', | |
1032 ], | |
1033 'action': ['python', | |
1034 '<(generator_path)', | |
1035 '<@(generator_args)', | |
1036 '--generate', | |
1037 ], | |
1038 'message': 'Generating <(_target_name) shim headers.', | |
1039 }, | |
1040 ], | |
994 'link_settings': { | 1041 'link_settings': { |
995 'libraries': [ | 1042 'libraries': [ |
996 '-lv8', | 1043 '-lv8', |
997 ], | 1044 ], |
998 }, | 1045 }, |
999 }, | 1046 }, |
1000 { | 1047 { |
1001 'target_name': 'v8_shell', | 1048 'target_name': 'v8_shell', |
1002 'type': 'none', | 1049 'type': 'none', |
1003 'conditions': [ | 1050 'conditions': [ |
1004 ['want_separate_host_toolset==1', { | 1051 ['want_separate_host_toolset==1', { |
1005 'toolsets': ['host'], | 1052 'toolsets': ['host'], |
1006 }, { | 1053 }, { |
1007 'toolsets': ['target'], | 1054 'toolsets': ['target'], |
1008 }], | 1055 }], |
1009 ], | 1056 ], |
1010 'dependencies': [ | 1057 'dependencies': [ |
1011 'v8' | 1058 'v8' |
1012 ], | 1059 ], |
1013 }, | 1060 }, |
1014 ], | 1061 ], |
1015 }], | 1062 }], |
1016 ], | 1063 ], |
1017 } | 1064 } |
OLD | NEW |