|
250 | 250 | 'deps/v8/src/third_party/vtune/v8vtune.gyp:v8_vtune' |
251 | 251 | ], |
252 | 252 | }], |
| 253 | + [ 'v8_inspector=="true"', { |
| 254 | + 'defines': [ |
| 255 | + 'HAVE_INSPECTOR=1', |
| 256 | + 'V8_INSPECTOR_USE_STL=1', |
| 257 | + ], |
| 258 | + 'sources': [ |
| 259 | + 'src/inspector_agent.cc', |
| 260 | + 'src/inspector_socket.cc', |
| 261 | + 'src/inspector_socket.h', |
| 262 | + 'src/inspector-agent.h', |
| 263 | + ], |
| 264 | + 'dependencies': [ |
| 265 | + 'deps/v8_inspector/v8_inspector.gyp:v8_inspector', |
| 266 | + ], |
| 267 | + 'include_dirs': [ |
| 268 | + 'deps/v8_inspector', |
| 269 | + 'deps/v8_inspector/deps/wtf', # temporary |
| 270 | + '<(SHARED_INTERMEDIATE_DIR)/blink', # for inspector |
| 271 | + ], |
| 272 | + }, { |
| 273 | + 'defines': [ 'HAVE_INSPECTOR=0' ] |
| 274 | + }], |
253 | 275 | [ 'node_use_openssl=="true"', { |
254 | 276 | 'defines': [ 'HAVE_OPENSSL=1' ], |
255 | 277 | 'sources': [ |
|
690 | 712 | 'target_name': 'cctest', |
691 | 713 | 'type': 'executable', |
692 | 714 | 'dependencies': [ |
| 715 | + 'deps/openssl/openssl.gyp:openssl', |
| 716 | + 'deps/http_parser/http_parser.gyp:http_parser', |
693 | 717 | 'deps/gtest/gtest.gyp:gtest', |
| 718 | + 'deps/uv/uv.gyp:libuv', |
694 | 719 | 'deps/v8/tools/gyp/v8.gyp:v8', |
695 | 720 | 'deps/v8/tools/gyp/v8.gyp:v8_libplatform' |
696 | 721 | ], |
|
711 | 736 | 'sources': [ |
712 | 737 | 'test/cctest/util.cc', |
713 | 738 | ], |
| 739 | + |
| 740 | + 'conditions': [ |
| 741 | + ['v8_inspector=="true"', { |
| 742 | + 'dependencies': [ |
| 743 | + 'deps/openssl/openssl.gyp:openssl', |
| 744 | + 'deps/http_parser/http_parser.gyp:http_parser', |
| 745 | + 'deps/uv/uv.gyp:libuv' |
| 746 | + ], |
| 747 | + 'sources': [ |
| 748 | + 'src/inspector_socket.cc', |
| 749 | + 'test/cctest/test_inspector_socket.cc' |
| 750 | + ] |
| 751 | + }] |
| 752 | + ] |
714 | 753 | } |
715 | 754 | ], # end targets |
716 | 755 |
|
|
0 commit comments