OLD | NEW |
1 # Copyright 2016 the V8 project authors. All rights reserved. | 1 # Copyright 2016 the V8 project authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { 'variables': { | 5 { 'variables': { |
6 'protocol_path': '../../third_party/WebKit/Source/platform/inspector_protoco
l', | 6 'protocol_path': '../../third_party/WebKit/Source/platform/inspector_protoco
l', |
7 'protocol_sources': [ | 7 'protocol_sources': [ |
8 '<(SHARED_INTERMEDIATE_DIR)/inspector/Console.cpp', | 8 '<(SHARED_INTERMEDIATE_DIR)/inspector/Console.cpp', |
9 '<(SHARED_INTERMEDIATE_DIR)/inspector/Console.h', | 9 '<(SHARED_INTERMEDIATE_DIR)/inspector/Console.h', |
10 '<(SHARED_INTERMEDIATE_DIR)/inspector/Debugger.cpp', | 10 '<(SHARED_INTERMEDIATE_DIR)/inspector/Debugger.cpp', |
11 '<(SHARED_INTERMEDIATE_DIR)/inspector/Debugger.h', | 11 '<(SHARED_INTERMEDIATE_DIR)/inspector/Debugger.h', |
12 '<(SHARED_INTERMEDIATE_DIR)/inspector/HeapProfiler.cpp', | 12 '<(SHARED_INTERMEDIATE_DIR)/inspector/HeapProfiler.cpp', |
13 '<(SHARED_INTERMEDIATE_DIR)/inspector/HeapProfiler.h', | 13 '<(SHARED_INTERMEDIATE_DIR)/inspector/HeapProfiler.h', |
14 '<(SHARED_INTERMEDIATE_DIR)/inspector/Profiler.cpp', | 14 '<(SHARED_INTERMEDIATE_DIR)/inspector/Profiler.cpp', |
15 '<(SHARED_INTERMEDIATE_DIR)/inspector/Profiler.h', | 15 '<(SHARED_INTERMEDIATE_DIR)/inspector/Profiler.h', |
16 '<(SHARED_INTERMEDIATE_DIR)/inspector/public/Debugger.h', | |
17 '<(SHARED_INTERMEDIATE_DIR)/inspector/public/Runtime.h', | |
18 '<(SHARED_INTERMEDIATE_DIR)/inspector/Runtime.cpp', | 16 '<(SHARED_INTERMEDIATE_DIR)/inspector/Runtime.cpp', |
19 '<(SHARED_INTERMEDIATE_DIR)/inspector/Runtime.h', | 17 '<(SHARED_INTERMEDIATE_DIR)/inspector/Runtime.h', |
20 ] | 18 ] |
21 }, | 19 }, |
22 'targets': [ | 20 'targets': [ |
23 { 'target_name': 'inspector_protocol_sources', | 21 { 'target_name': 'inspector_protocol_sources', |
24 'type': 'none', | 22 'type': 'none', |
25 'variables': { | 23 'variables': { |
26 'jinja_module_files': [ | 24 'jinja_module_files': [ |
27 # jinja2/__init__.py contains version string, so sufficient for packag
e | 25 # jinja2/__init__.py contains version string, so sufficient for packag
e |
(...skipping 19 matching lines...) Expand all Loading... |
47 '<@(protocol_sources)', | 45 '<@(protocol_sources)', |
48 ], | 46 ], |
49 'action': [ | 47 'action': [ |
50 'python', | 48 'python', |
51 '<(protocol_path)/CodeGenerator.py', | 49 '<(protocol_path)/CodeGenerator.py', |
52 '--protocol', 'js_protocol.json', | 50 '--protocol', 'js_protocol.json', |
53 '--string_type', 'String', | 51 '--string_type', 'String', |
54 '--export_macro', 'PLATFORM_EXPORT', | 52 '--export_macro', 'PLATFORM_EXPORT', |
55 '--output_dir', '<(SHARED_INTERMEDIATE_DIR)/inspector', | 53 '--output_dir', '<(SHARED_INTERMEDIATE_DIR)/inspector', |
56 '--output_package', 'inspector', | 54 '--output_package', 'inspector', |
57 '--exported_dir', '<(SHARED_INTERMEDIATE_DIR)/inspector/public', | |
58 '--exported_package', 'inspector/public', | |
59 ], | 55 ], |
60 'message': 'Generating Inspector protocol backend sources from json de
finitions', | 56 'message': 'Generating Inspector protocol backend sources from json de
finitions', |
61 }, | 57 }, |
62 ] | 58 ] |
63 }, | 59 }, |
64 { 'target_name': 'inspector_protocol', | 60 { 'target_name': 'inspector_protocol', |
65 'type': 'static_library', | 61 'type': 'static_library', |
66 'dependencies': [ | 62 'dependencies': [ |
67 'inspector_protocol_sources', | 63 'inspector_protocol_sources', |
68 ], | 64 ], |
(...skipping 26 matching lines...) Expand all Loading... |
95 '<(protocol_path)/String16.h', | 91 '<(protocol_path)/String16.h', |
96 '<(protocol_path)/String16STL.cpp', | 92 '<(protocol_path)/String16STL.cpp', |
97 '<(protocol_path)/String16STL.h', | 93 '<(protocol_path)/String16STL.h', |
98 '<(protocol_path)/ValueConversions.h', | 94 '<(protocol_path)/ValueConversions.h', |
99 '<(protocol_path)/Values.cpp', | 95 '<(protocol_path)/Values.cpp', |
100 '<(protocol_path)/Values.h', | 96 '<(protocol_path)/Values.h', |
101 ] | 97 ] |
102 }, | 98 }, |
103 ], | 99 ], |
104 } | 100 } |
OLD | NEW |