|
91 | 91 | '-lQt5Network', |
92 | 92 | '-lQt5Gui', |
93 | 93 | '-lQt5Core', |
94 | | - '-lQt5Quick', |
95 | | - '-lQt5Qml', |
96 | | - '-lQt5Multimedia', |
97 | | - '-lQt5MultimediaWidgets', |
98 | 94 | '-lQt5AndroidExtras', |
99 | 95 | '-L<(ANDROID_LIB)', |
100 | 96 | '-lgnustl_shared', |
|
170 | 166 | [ 'OS=="mac"', { |
171 | 167 | 'link_settings': { |
172 | 168 | 'libraries': [ |
173 | | - '<(QT_LIB_PATH)/libQtGui.a', |
174 | | - '<(QT_LIB_PATH)/libQtCore.a', |
175 | | - '<(QT_LIB_PATH)/libQtNetwork.a', |
176 | | - '<(QT_LIB_PATH)/libQtDeclarative.a', |
177 | | - '<(QT_LIB_PATH)/libQtXml.a', |
| 169 | + '<(QT_LIB_PATH)/QtGui.framework', |
| 170 | + '<(QT_LIB_PATH)/QtCore.framework', |
| 171 | + '<(QT_LIB_PATH)/QtNetwork.framework', |
| 172 | + '<(QT_LIB_PATH)/QtDeclarative.framework', |
| 173 | + '<(QT_LIB_PATH)/QtXml.framework', |
178 | 174 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
179 | 175 | '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
180 | 176 | '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework', |
181 | 177 | '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
182 | 178 | ], |
| 179 | + 'xcode_settings': { |
| 180 | + 'FRAMEWORK_SEARCH_PATHS': '<(QT_LIB_PATH)', |
| 181 | + }, |
183 | 182 | }, |
184 | 183 | } ], |
185 | 184 | ], |
|
257 | 256 | '<(INTERMEDIATE_DIR)/moc_MenuTest.cc', |
258 | 257 | ], |
259 | 258 | 'conditions': [ |
260 | | - [ '<(QT5) == 1', { |
| 259 | + [ '<(QT5) == 1 and <(WD_CONFIG_PLAYER) == 1', { |
261 | 260 | 'sources': [ |
262 | 261 | 'src/Test/VideoTest.h', |
263 | 262 | 'src/Test/VideoTest.cc', |
|
342 | 341 | } ], |
343 | 342 | [ 'OS=="mac"', { |
344 | 343 | 'link_settings': { |
345 | | - 'libraries': ['<(QT_LIB_PATH)/libQtWebKit.a',], |
| 344 | + 'libraries': ['<(QT_LIB_PATH)/QtWebKit.framework',], |
346 | 345 | }, |
347 | 346 | } ], |
348 | 347 | ], |
|
403 | 402 | } ], |
404 | 403 | ], |
405 | 404 | }, { |
406 | | - 'target_name': 'test_android_WD_noWebkit', |
| 405 | + 'target_name': 'test_android_WD_QML', |
407 | 406 | 'type': 'shared_library', |
408 | 407 |
|
409 | | - 'product_name': 'AndroidWD', |
| 408 | + 'product_name': 'AndroidWD_QML', |
410 | 409 |
|
411 | 410 | 'dependencies': [ |
412 | 411 | 'base.gyp:chromium_base', |
|
415 | 414 | 'wd_ext_qt.gyp:WebDriver_extension_qt_quick', |
416 | 415 | 'test_widgets', |
417 | 416 | ], |
| 417 | + 'libraries': [ |
| 418 | + '-lQt5Multimedia', |
| 419 | + '-lQt5MultimediaWidgets', |
| 420 | + '-lQt5Quick', |
| 421 | + '-lQt5Qml', |
| 422 | + ], |
| 423 | + |
| 424 | + 'sources': [ |
| 425 | + 'src/Test/main.cc', |
| 426 | + 'src/Test/shutdown_command.cc', |
| 427 | + ], |
| 428 | + |
| 429 | + 'conditions': [ |
| 430 | + [ '<(WD_BUILD_MONGOOSE) == 0', { |
| 431 | + 'sources': [ |
| 432 | + 'src/third_party/mongoose/mongoose.c', |
| 433 | + ], |
| 434 | + } ], |
| 435 | + ], |
| 436 | + |
| 437 | + }, |
| 438 | + { |
| 439 | + 'target_name': 'test_android_WD_Widgets', |
| 440 | + 'type': 'shared_library', |
| 441 | + |
| 442 | + 'product_name': 'AndroidWD_Widgets', |
| 443 | + |
| 444 | + 'dependencies': [ |
| 445 | + 'base.gyp:chromium_base', |
| 446 | + 'wd_core.gyp:WebDriver_core', |
| 447 | + 'wd_ext_qt.gyp:WebDriver_extension_qt_base', |
| 448 | + 'test_widgets', |
| 449 | + ], |
| 450 | + |
| 451 | + 'defines': [ |
| 452 | + 'QT_NO_QML', |
| 453 | + ], |
418 | 454 |
|
419 | 455 | 'sources': [ |
420 | 456 | 'src/Test/main.cc', |
|
0 commit comments