OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2011 Google Inc. All rights reserved. | 2 # Copyright (C) 2011 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 51 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
52 'blink_common', | 52 'blink_common', |
53 ], | 53 ], |
54 'export_dependent_settings': [ | 54 'export_dependent_settings': [ |
55 '<(DEPTH)/skia/skia.gyp:skia', | 55 '<(DEPTH)/skia/skia.gyp:skia', |
56 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 56 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
57 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 57 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
58 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 58 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
59 ], | 59 ], |
60 'include_dirs': [ | 60 'include_dirs': [ |
61 'public', | 61 '../../../public/web', |
62 'src', | 62 'src', |
63 '<(angle_path)/include', | 63 '<(angle_path)/include', |
64 '<(DEPTH)/third_party/skia/include/utils', | 64 '<(DEPTH)/third_party/skia/include/utils', |
65 ], | 65 ], |
66 'defines': [ | 66 'defines': [ |
67 'WEBKIT_IMPLEMENTATION=1', | 67 'WEBKIT_IMPLEMENTATION=1', |
68 'INSIDE_WEBKIT', | 68 'INSIDE_WEBKIT', |
69 ], | 69 ], |
70 'sources': [ | 70 'sources': [ |
71 '<@(webcore_platform_support_files)', | 71 '<@(webcore_platform_support_files)', |
72 'public/WebAccessibilityNotification.h', | |
73 'public/WebAccessibilityObject.h', | |
74 'public/WebAccessibilityRole.h', | |
75 'public/WebApplicationCacheHostClient.h', | |
76 'public/WebArrayBuffer.h', | |
77 'public/WebArrayBufferView.h', | |
78 'public/WebAudioSourceProvider.h', | |
79 'public/WebAudioSourceProviderClient.h', | |
80 'public/WebAutofillClient.h', | |
81 'public/WebBindings.h', | |
82 'public/WebBlob.h', | |
83 'public/WebCache.h', | |
84 'public/WebCachedURLRequest.h', | |
85 'public/WebColorChooser.h', | |
86 'public/WebColorChooserClient.h', | |
87 'public/WebColorName.h', | |
88 'public/WebCommonWorkerClient.h', | |
89 'public/WebCompositionUnderline.h', | |
90 'public/WebConsoleMessage.h', | |
91 'public/WebContentDetectionResult.h', | |
92 'public/WebContextMenuData.h', | |
93 'public/WebCrossOriginPreflightResultCache.h', | |
94 'public/WebCursorInfo.h', | |
95 'public/WebDOMActivityLogger.h', | |
96 'public/WebDOMCustomEvent.h', | |
97 'public/WebDOMEvent.h', | |
98 'public/WebDOMEventListener.h', | |
99 'public/WebDOMMessageEvent.h', | |
100 'public/WebDOMMouseEvent.h', | |
101 'public/WebDOMMutationEvent.h', | |
102 'public/WebDOMProgressEvent.h', | |
103 'public/WebDOMResourceProgressEvent.h', | |
104 'public/WebDataSource.h', | |
105 'public/WebDatabase.h', | |
106 'public/WebDatabaseObserver.h', | |
107 'public/WebDateTimeInputType.h', | |
108 'public/WebDateTimeChooserCompletion.h', | |
109 'public/WebDateTimeChooserParams.h', | |
110 'public/WebDevToolsAgent.h', | |
111 'public/WebDevToolsAgentClient.h', | |
112 'public/WebDevToolsFrontend.h', | |
113 'public/WebDevToolsFrontendClient.h', | |
114 'public/WebDeviceOrientation.h', | |
115 'public/WebDeviceOrientationClient.h', | |
116 'public/WebDeviceOrientationClientMock.h', | |
117 'public/WebDeviceOrientationController.h', | |
118 'public/WebDocument.h', | |
119 'public/WebDocumentType.h', | |
120 'public/WebEditingAction.h', | |
121 'public/WebElement.h', | |
122 'public/WebExceptionCode.h', | |
123 'public/WebExternalPopupMenu.h', | |
124 'public/WebExternalPopupMenuClient.h', | |
125 'public/WebFileChooserCompletion.h', | |
126 'public/WebFileChooserParams.h', | |
127 'public/WebFileWriter.h', | |
128 'public/WebFileWriterClient.h', | |
129 'public/WebFindOptions.h', | |
130 'public/WebFont.h', | |
131 'public/WebFontCache.h', | |
132 'public/WebFontDescription.h', | |
133 'public/WebFormControlElement.h', | |
134 'public/WebFormElement.h', | |
135 'public/WebFrame.h', | |
136 'public/WebFrameClient.h', | |
137 'public/WebGeolocationClient.h', | |
138 'public/WebGeolocationClientMock.h', | |
139 'public/WebGeolocationController.h', | |
140 'public/WebGeolocationError.h', | |
141 'public/WebGeolocationPermissionRequest.h', | |
142 'public/WebGeolocationPermissionRequestManager.h', | |
143 'public/WebGeolocationPosition.h', | |
144 'public/WebGlyphCache.h', | |
145 'public/WebHelperPlugin.h', | |
146 'public/WebHistoryItem.h', | |
147 'public/WebHitTestResult.h', | |
148 'public/WebIconLoadingCompletion.h', | |
149 'public/WebIconURL.h', | |
150 'public/WebImageCache.h', | |
151 'public/WebImageDecoder.h', | |
152 'public/WebInbandTextTrack.h', | |
153 'public/WebInbandTextTrackClient.h', | |
154 'public/WebInputElement.h', | |
155 'public/WebInputEvent.h', | |
156 'public/WebKit.h', | |
157 'public/WebLabelElement.h', | |
158 'public/WebMediaPlayer.h', | |
159 'public/WebMediaPlayerAction.h', | |
160 'public/WebMediaPlayerClient.h', | |
161 'public/WebMediaSource.h', | |
162 'public/WebMediaSourceClient.h', | |
163 'public/WebMediaStreamRegistry.h', | |
164 'public/WebMemoryUsageInfo.h', | |
165 'public/WebMenuItemInfo.h', | |
166 'public/WebNavigationType.h', | |
167 'public/WebNetworkStateNotifier.h', | |
168 'public/WebNode.h', | |
169 'public/WebNodeCollection.h', | |
170 'public/WebNodeList.h', | |
171 'public/WebNotification.h', | |
172 'public/WebNotificationPermissionCallback.h', | |
173 'public/WebNotificationPresenter.h', | |
174 'public/WebOptionElement.h', | |
175 'public/WebPageOverlay.h', | |
176 'public/WebPagePopup.h', | |
177 'public/WebPageSerializer.h', | |
178 'public/WebPageSerializerClient.h', | |
179 'public/WebPageVisibilityState.h', | |
180 'public/WebPasswordFormData.h', | |
181 'public/WebPerformance.h', | |
182 'public/WebPermissionClient.h', | |
183 'public/WebPlugin.h', | |
184 'public/WebPluginAction.h', | |
185 'public/WebPluginContainer.h', | |
186 'public/WebPluginDocument.h', | |
187 'public/WebPluginListBuilder.h', | |
188 'public/WebPluginScrollbar.h', | |
189 'public/WebPluginScrollbarClient.h', | |
190 'public/WebPrintParams.h', | |
191 'public/WebPrintScalingOption.h', | |
192 'public/WebPopupMenu.h', | |
193 'public/WebPopupMenuInfo.h', | |
194 'public/WebPopupType.h', | |
195 'public/WebPrerendererClient.h', | |
196 'public/WebRange.h', | |
197 'public/WebRuntimeFeatures.h', | |
198 'public/WebScopedMicrotaskSuppression.h', | |
199 'public/WebScopedUserGesture.h', | |
200 'public/WebScreenInfo.h', | |
201 'public/WebScriptController.h', | |
202 'public/WebScriptSource.h', | |
203 'public/WebSearchableFormData.h', | |
204 'public/WebSecurityOrigin.h', | |
205 'public/WebSecurityPolicy.h', | |
206 'public/WebSelectElement.h', | |
207 'public/WebSerializedScriptValue.h', | |
208 'public/WebSettings.h', | |
209 'public/WebSharedWorkerClient.h', | |
210 'public/WebSharedWorker.h', | |
211 'public/WebSharedWorkerRepository.h', | |
212 'public/WebSocket.h', | |
213 'public/WebSocketClient.h', | |
214 'public/WebSpeechGrammar.h', | |
215 'public/WebSpeechInputController.h', | |
216 'public/WebSpeechInputListener.h', | |
217 'public/WebSpeechInputResult.h', | |
218 'public/WebSpeechRecognitionHandle.h', | |
219 'public/WebSpeechRecognitionParams.h', | |
220 'public/WebSpeechRecognitionResult.h', | |
221 'public/WebSpeechRecognizerClient.h', | |
222 'public/WebSpeechRecognizer.h', | |
223 'public/WebSpellCheckClient.h', | |
224 'public/WebStorageEventDispatcher.h', | |
225 'public/WebStorageQuotaCallbacks.h', | |
226 'public/WebStorageQuotaType.h', | |
227 'public/WebStorageQuotaError.h', | |
228 'public/WebSurroundingText.h', | |
229 'public/WebTextAffinity.h', | |
230 'public/WebTextCheckingCompletion.h', | |
231 'public/WebTextCheckingResult.h', | |
232 'public/WebTextDirection.h', | |
233 'public/WebTextFieldDecoratorClient.h', | |
234 'public/WebTextInputInfo.h', | |
235 'public/WebTextInputType.h', | |
236 'public/WebTextRun.h', | |
237 'public/WebTimeRange.h', | |
238 'public/WebURLLoaderOptions.h', | |
239 'public/WebUserGestureIndicator.h', | |
240 'public/WebUserGestureToken.h', | |
241 'public/WebUserMediaClient.h', | |
242 'public/WebUserMediaRequest.h', | |
243 'public/WebValidationMessageClient.h', | |
244 'public/WebView.h', | |
245 'public/WebViewBenchmarkSupport.h', | |
246 'public/WebViewClient.h', | |
247 'public/WebWidget.h', | |
248 'public/WebWidgetClient.h', | |
249 'public/WebWorkerInfo.h', | |
250 'public/android/WebInputEventFactory.h', | |
251 'public/android/WebSandboxSupport.h', | |
252 'public/default/WebRenderTheme.h', | |
253 'public/gtk/WebInputEventFactory.h', | |
254 'public/linux/WebFontRenderStyle.h', | |
255 'public/linux/WebFontRendering.h', | |
256 'public/mac/WebInputEventFactory.h', | |
257 'public/mac/WebSandboxSupport.h', | |
258 'public/mac/WebSubstringUtil.h', | |
259 'public/win/WebInputEventFactory.h', | |
260 'public/win/WebSandboxSupport.h', | |
261 'src/ApplicationCacheHost.cpp', | 72 'src/ApplicationCacheHost.cpp', |
262 'src/ApplicationCacheHostInternal.h', | 73 'src/ApplicationCacheHostInternal.h', |
263 'src/AssertMatchingEnums.cpp', | 74 'src/AssertMatchingEnums.cpp', |
264 'src/AssociatedURLLoader.cpp', | 75 'src/AssociatedURLLoader.cpp', |
265 'src/AssociatedURLLoader.h', | 76 'src/AssociatedURLLoader.h', |
266 'src/AsyncFileSystemChromium.cpp', | 77 'src/AsyncFileSystemChromium.cpp', |
267 'src/AsyncFileSystemChromium.h', | 78 'src/AsyncFileSystemChromium.h', |
268 'src/AsyncFileWriterChromium.cpp', | 79 'src/AsyncFileWriterChromium.cpp', |
269 'src/AsyncFileWriterChromium.h', | 80 'src/AsyncFileWriterChromium.h', |
270 'src/AutofillPopupMenuClient.cpp', | 81 'src/AutofillPopupMenuClient.cpp', |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 ], | 387 ], |
577 'include_dirs': [ | 388 'include_dirs': [ |
578 # WARNING: Do not view this particular case as a precede
nt for | 389 # WARNING: Do not view this particular case as a precede
nt for |
579 # including WebCore headers in DumpRenderTree project. | 390 # including WebCore headers in DumpRenderTree project. |
580 '../../core/testing/v8', # for WebCoreTestSupport.h, nee
ded to link in window.internals code. | 391 '../../core/testing/v8', # for WebCoreTestSupport.h, nee
ded to link in window.internals code. |
581 ], | 392 ], |
582 'sources': [ | 393 'sources': [ |
583 '<@(core_unittest_files)', | 394 '<@(core_unittest_files)', |
584 '<@(webkit_unittest_files)', | 395 '<@(webkit_unittest_files)', |
585 'src/WebTestingSupport.cpp', | 396 'src/WebTestingSupport.cpp', |
586 'public/WebTestingSupport.h', | |
587 'tests/WebUnitTests.cpp', # Components test runner sup
port. | 397 'tests/WebUnitTests.cpp', # Components test runner sup
port. |
588 ], | 398 ], |
589 'conditions': [ | 399 'conditions': [ |
590 ['OS=="win" or OS=="mac"', { | 400 ['OS=="win" or OS=="mac"', { |
591 'dependencies': [ | 401 'dependencies': [ |
592 '<(DEPTH)/third_party/nss/nss.gyp:*', | 402 '<(DEPTH)/third_party/nss/nss.gyp:*', |
593 ], | 403 ], |
594 }], | 404 }], |
595 ['clang==1', { | 405 ['clang==1', { |
596 # FIXME: It would be nice to enable this in shared b
uilds too, | 406 # FIXME: It would be nice to enable this in shared b
uilds too, |
(...skipping 14 matching lines...) Expand all Loading... |
611 }], | 421 }], |
612 ], | 422 ], |
613 }, | 423 }, |
614 }, | 424 }, |
615 }], | 425 }], |
616 ['OS == "linux"', { | 426 ['OS == "linux"', { |
617 'dependencies': [ | 427 'dependencies': [ |
618 '<(DEPTH)/build/linux/system.gyp:fontconfig', | 428 '<(DEPTH)/build/linux/system.gyp:fontconfig', |
619 ], | 429 ], |
620 'include_dirs': [ | 430 'include_dirs': [ |
621 'public/linux', | 431 '../../../public/web/linux', |
622 ], | 432 ], |
623 }, { | 433 }, { |
624 'sources/': [ | 434 'sources/': [ |
625 ['exclude', '/linux/'], | 435 ['exclude', '/linux/'], |
626 ], | 436 ], |
627 }], | 437 }], |
628 ['use_x11 == 1', { | 438 ['use_x11 == 1', { |
629 'dependencies': [ | 439 'dependencies': [ |
630 '<(DEPTH)/build/linux/system.gyp:x11', | 440 '<(DEPTH)/build/linux/system.gyp:x11', |
631 ], | 441 ], |
632 'include_dirs': [ | 442 'include_dirs': [ |
633 'public/x11', | 443 '../../../public/web/x11', |
634 ], | 444 ], |
635 }, { | 445 }, { |
636 'sources/': [ | 446 'sources/': [ |
637 ['exclude', '/x11/'], | 447 ['exclude', '/x11/'], |
638 ] | 448 ] |
639 }], | 449 }], |
640 ['toolkit_uses_gtk == 1', { | 450 ['toolkit_uses_gtk == 1', { |
641 'dependencies': [ | 451 'dependencies': [ |
642 '<(DEPTH)/build/linux/system.gyp:gtk', | 452 '<(DEPTH)/build/linux/system.gyp:gtk', |
643 ], | 453 ], |
644 'include_dirs': [ | 454 'include_dirs': [ |
645 'public/gtk', | 455 '../../../public/web/gtk', |
646 ], | 456 ], |
647 }, { # else: toolkit_uses_gtk != 1 | 457 }, { # else: toolkit_uses_gtk != 1 |
648 'sources/': [ | 458 'sources/': [ |
649 ['exclude', '/gtk/'], | 459 ['exclude', '/gtk/'], |
650 ], | 460 ], |
651 }], | 461 }], |
652 ['OS=="android"', { | 462 ['OS=="android"', { |
653 'include_dirs': [ | 463 'include_dirs': [ |
654 'public/android', | 464 '../../../public/web/android', |
655 'public/linux', # We need linux/WebFontRendering.h on An
droid. | 465 '../../../public/web/linux', # We need linux/WebFontRend
ering.h on Android. |
656 ], | 466 ], |
657 }, { # else: OS!="android" | 467 }, { # else: OS!="android" |
658 'sources/': [ | 468 'sources/': [ |
659 ['exclude', '/android/'], | 469 ['exclude', '/android/'], |
660 ], | 470 ], |
661 }], | 471 }], |
662 ['OS=="mac"', { | 472 ['OS=="mac"', { |
663 'include_dirs': [ | 473 'include_dirs': [ |
664 'public/mac', | 474 '../../../public/web/mac', |
665 ], | 475 ], |
666 'link_settings': { | 476 'link_settings': { |
667 'libraries': [ | 477 'libraries': [ |
668 '$(SDKROOT)/System/Library/Frameworks/Accelerate.fra
mework', | 478 '$(SDKROOT)/System/Library/Frameworks/Accelerate.fra
mework', |
669 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framewo
rk', | 479 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framewo
rk', |
670 ], | 480 ], |
671 }, | 481 }, |
672 }, { # else: OS!="mac" | 482 }, { # else: OS!="mac" |
673 'sources/': [ | 483 'sources/': [ |
674 ['exclude', '/mac/'], | 484 ['exclude', '/mac/'], |
675 ], | 485 ], |
676 }], | 486 }], |
677 ['OS=="win"', { | 487 ['OS=="win"', { |
678 'include_dirs': [ | 488 'include_dirs': [ |
679 'public/win', | 489 '../../../public/web/win', |
680 ], | 490 ], |
681 }, { # else: OS!="win" | 491 }, { # else: OS!="win" |
682 'sources/': [['exclude', '/win/']], | 492 'sources/': [['exclude', '/win/']], |
683 'variables': { | 493 'variables': { |
684 # FIXME: Turn on warnings on Windows. | 494 # FIXME: Turn on warnings on Windows. |
685 'chromium_code': 1, | 495 'chromium_code': 1, |
686 } | 496 } |
687 }], | 497 }], |
688 ['use_default_render_theme==1', { | 498 ['use_default_render_theme==1', { |
689 'include_dirs': [ | 499 'include_dirs': [ |
690 'public/default', | 500 '../../../public/web/default', |
691 ], | 501 ], |
692 }, { # else use_default_render_theme==0 | 502 }, { # else use_default_render_theme==0 |
693 'sources/': [ | 503 'sources/': [ |
694 ['exclude', 'src/default/WebRenderTheme.cpp'], | 504 ['exclude', 'src/default/WebRenderTheme.cpp'], |
695 ['exclude', 'public/default/WebRenderTheme.h'], | |
696 ], | 505 ], |
697 }], | 506 }], |
698 ], | 507 ], |
699 'direct_dependent_settings': { | 508 'direct_dependent_settings': { |
700 'include_dirs': [ | 509 'include_dirs': [ |
701 '../../../', | 510 '../../../', |
702 ], | 511 ], |
703 }, | 512 }, |
704 'target_conditions': [ | 513 'target_conditions': [ |
705 ['OS=="android"', { | 514 ['OS=="android"', { |
706 'sources/': [ | 515 'sources/': [ |
707 ['include', '^src/linux/WebFontRendering\\.cpp$'], | 516 ['include', '^src/linux/WebFontRendering\\.cpp$'], |
708 ['include', '^src/linux/WebFontRenderStyle\\.cpp$'], | 517 ['include', '^src/linux/WebFontRenderStyle\\.cpp$'], |
709 ], | 518 ], |
710 }], | 519 }], |
711 ], | 520 ], |
712 }, | 521 }, |
713 { | 522 { |
714 'target_name': 'webkit_test_support', | 523 'target_name': 'webkit_test_support', |
715 'conditions': [ | 524 'conditions': [ |
716 ['component=="shared_library"', { | 525 ['component=="shared_library"', { |
717 'type': 'none', | 526 'type': 'none', |
718 }, { | 527 }, { |
719 'type': 'static_library', | 528 'type': 'static_library', |
720 'dependencies': [ | 529 'dependencies': [ |
721 '../../wtf/wtf.gyp:wtf', | 530 '../../wtf/wtf.gyp:wtf', |
722 '../../core/core.gyp:webcore_test_support', | 531 '../../core/core.gyp:webcore_test_support', |
723 ], | 532 ], |
724 'include_dirs': [ | 533 'include_dirs': [ |
725 'public', | 534 '../../../public/web', |
726 '../../core/testing/v8', # for WebCoreTestSupport.h, nee
ded to link in window.internals code. | 535 '../../core/testing/v8', # for WebCoreTestSupport.h, nee
ded to link in window.internals code. |
727 '../../../', | 536 '../../../', |
728 ], | 537 ], |
729 'sources': [ | 538 'sources': [ |
730 'src/WebTestingSupport.cpp', | 539 'src/WebTestingSupport.cpp', |
731 'public/WebTestingSupport.h', | |
732 ], | 540 ], |
733 }], | 541 }], |
734 ], | 542 ], |
735 }, | 543 }, |
736 { | 544 { |
737 'target_name': 'blink_common', | 545 'target_name': 'blink_common', |
738 'type': '<(component)', | 546 'type': '<(component)', |
739 'variables': { 'enable_wexit_time_destructors': 1 }, | 547 'variables': { 'enable_wexit_time_destructors': 1 }, |
740 'dependencies': [ | 548 'dependencies': [ |
741 '../../wtf/wtf.gyp:wtf', | 549 '../../wtf/wtf.gyp:wtf', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 ['clang==1', { | 590 ['clang==1', { |
783 'target_defaults': { | 591 'target_defaults': { |
784 'cflags': ['-Wglobal-constructors'], | 592 'cflags': ['-Wglobal-constructors'], |
785 'xcode_settings': { | 593 'xcode_settings': { |
786 'WARNING_CFLAGS': ['-Wglobal-constructors'], | 594 'WARNING_CFLAGS': ['-Wglobal-constructors'], |
787 }, | 595 }, |
788 }, | 596 }, |
789 }], | 597 }], |
790 ], # conditions | 598 ], # conditions |
791 } | 599 } |
OLD | NEW |