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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'type': '<(component)', | 42 'type': '<(component)', |
43 'variables': { 'enable_wexit_time_destructors': 1, }, | 43 'variables': { 'enable_wexit_time_destructors': 1, }, |
44 'dependencies': [ | 44 'dependencies': [ |
45 '../../core/core.gyp:webcore', | 45 '../../core/core.gyp:webcore', |
46 '../../modules/modules.gyp:modules', | 46 '../../modules/modules.gyp:modules', |
47 '<(DEPTH)/skia/skia.gyp:skia', | 47 '<(DEPTH)/skia/skia.gyp:skia', |
48 '<(DEPTH)/third_party/angle/src/build_angle.gyp:translator_glsl'
, | 48 '<(DEPTH)/third_party/angle/src/build_angle.gyp:translator_glsl'
, |
49 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 49 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
50 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 50 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
51 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 51 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 52 'blink_common', |
52 ], | 53 ], |
53 'export_dependent_settings': [ | 54 'export_dependent_settings': [ |
54 '<(DEPTH)/skia/skia.gyp:skia', | 55 '<(DEPTH)/skia/skia.gyp:skia', |
55 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 56 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
56 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 57 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
57 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 58 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
58 ], | 59 ], |
59 'include_dirs': [ | 60 'include_dirs': [ |
60 'public', | 61 'public', |
61 'src', | 62 'src', |
62 '<(DEPTH)/third_party/angle/include', | 63 '<(DEPTH)/third_party/angle/include', |
63 '<(DEPTH)/third_party/skia/include/utils', | 64 '<(DEPTH)/third_party/skia/include/utils', |
64 ], | 65 ], |
65 'defines': [ | 66 'defines': [ |
66 'WEBKIT_IMPLEMENTATION=1', | 67 'WEBKIT_IMPLEMENTATION=1', |
| 68 'INSIDE_WEBKIT', |
67 ], | 69 ], |
68 'sources': [ | 70 'sources': [ |
69 '<@(webcore_platform_support_files)', | 71 '<@(webcore_platform_support_files)', |
70 'public/WebAccessibilityNotification.h', | 72 'public/WebAccessibilityNotification.h', |
71 'public/WebAccessibilityObject.h', | 73 'public/WebAccessibilityObject.h', |
72 'public/WebAccessibilityRole.h', | 74 'public/WebAccessibilityRole.h', |
73 'public/WebApplicationCacheHostClient.h', | 75 'public/WebApplicationCacheHostClient.h', |
74 'public/WebArrayBuffer.h', | 76 'public/WebArrayBuffer.h', |
75 'public/WebArrayBufferView.h', | 77 'public/WebArrayBufferView.h', |
76 'public/WebAudioSourceProvider.h', | 78 'public/WebAudioSourceProvider.h', |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 'src/WebTextCheckingResult.cpp', | 390 'src/WebTextCheckingResult.cpp', |
389 'src/WebAccessibilityObject.cpp', | 391 'src/WebAccessibilityObject.cpp', |
390 'src/WebArrayBuffer.cpp', | 392 'src/WebArrayBuffer.cpp', |
391 'src/WebArrayBufferView.cpp', | 393 'src/WebArrayBufferView.cpp', |
392 'src/WebBindings.cpp', | 394 'src/WebBindings.cpp', |
393 'src/WebBlob.cpp', | 395 'src/WebBlob.cpp', |
394 'src/WebBlobData.cpp', | 396 'src/WebBlobData.cpp', |
395 'src/WebCache.cpp', | 397 'src/WebCache.cpp', |
396 'src/WebCachedURLRequest.cpp', | 398 'src/WebCachedURLRequest.cpp', |
397 'src/WebColorName.cpp', | 399 'src/WebColorName.cpp', |
398 'src/WebCommon.cpp', | |
399 'src/WebCrossOriginPreflightResultCache.cpp', | 400 'src/WebCrossOriginPreflightResultCache.cpp', |
400 'src/WebDOMActivityLogger.cpp', | 401 'src/WebDOMActivityLogger.cpp', |
401 'src/WebDOMCustomEvent.cpp', | 402 'src/WebDOMCustomEvent.cpp', |
402 'src/WebDOMEvent.cpp', | 403 'src/WebDOMEvent.cpp', |
403 'src/WebDOMEventListener.cpp', | 404 'src/WebDOMEventListener.cpp', |
404 'src/WebDOMEventListenerPrivate.cpp', | 405 'src/WebDOMEventListenerPrivate.cpp', |
405 'src/WebDOMEventListenerPrivate.h', | 406 'src/WebDOMEventListenerPrivate.h', |
406 'src/WebDOMMessageEvent.cpp', | 407 'src/WebDOMMessageEvent.cpp', |
407 'src/WebDOMMouseEvent.cpp', | 408 'src/WebDOMMouseEvent.cpp', |
408 'src/WebDOMMutationEvent.cpp', | 409 'src/WebDOMMutationEvent.cpp', |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 'src/WorkerFileWriterCallbacksBridge.h', | 551 'src/WorkerFileWriterCallbacksBridge.h', |
551 'src/WorkerStorageQuotaCallbacksBridge.cpp', | 552 'src/WorkerStorageQuotaCallbacksBridge.cpp', |
552 'src/WorkerStorageQuotaCallbacksBridge.h', | 553 'src/WorkerStorageQuotaCallbacksBridge.h', |
553 'src/win/WebInputEventFactory.cpp', | 554 'src/win/WebInputEventFactory.cpp', |
554 'src/win/WebScreenInfoFactory.cpp', | 555 'src/win/WebScreenInfoFactory.cpp', |
555 ], | 556 ], |
556 'conditions': [ | 557 'conditions': [ |
557 ['component=="shared_library"', { | 558 ['component=="shared_library"', { |
558 'defines': [ | 559 'defines': [ |
559 'WEBKIT_DLL', | 560 'WEBKIT_DLL', |
560 'WEBKIT_IMPLEMENTATION=1', | |
561 ], | 561 ], |
562 'dependencies': [ | 562 'dependencies': [ |
563 '../../core/core.gyp:webcore_derived', | 563 '../../core/core.gyp:webcore_derived', |
564 '../../core/core.gyp:webcore_test_support', | 564 '../../core/core.gyp:webcore_test_support', |
565 '<(DEPTH)/base/base.gyp:test_support_base', | 565 '<(DEPTH)/base/base.gyp:test_support_base', |
566 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 566 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
567 '<(DEPTH)/testing/gtest.gyp:gtest', | 567 '<(DEPTH)/testing/gtest.gyp:gtest', |
568 '<(DEPTH)/testing/gmock.gyp:gmock', | 568 '<(DEPTH)/testing/gmock.gyp:gmock', |
569 '<(DEPTH)/third_party/icu/icu.gyp:*', | 569 '<(DEPTH)/third_party/icu/icu.gyp:*', |
570 '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp:libjpeg'
, | 570 '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp:libjpeg'
, |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 '../../core/testing/v8', # for WebCoreTestSupport.h, nee
ded to link in window.internals code. | 738 '../../core/testing/v8', # for WebCoreTestSupport.h, nee
ded to link in window.internals code. |
739 '../../../', | 739 '../../../', |
740 ], | 740 ], |
741 'sources': [ | 741 'sources': [ |
742 'src/WebTestingSupport.cpp', | 742 'src/WebTestingSupport.cpp', |
743 'public/WebTestingSupport.h', | 743 'public/WebTestingSupport.h', |
744 ], | 744 ], |
745 }], | 745 }], |
746 ], | 746 ], |
747 }, | 747 }, |
| 748 { |
| 749 'target_name': 'blink_common', |
| 750 'type': '<(component)', |
| 751 'variables': { 'enable_wexit_time_destructors': 1 }, |
| 752 'dependencies': [ |
| 753 '../../wtf/wtf.gyp:wtf', |
| 754 '<(DEPTH)/skia/skia.gyp:skia', |
| 755 ], |
| 756 'defines': [ |
| 757 'INSIDE_WEBKIT', |
| 758 'BLINK_COMMON_IMPLEMENTATION=1', |
| 759 ], |
| 760 'include_dirs': [ |
| 761 '../..', |
| 762 '../../..', |
| 763 ], |
| 764 'sources': [ |
| 765 '../../core/platform/chromium/support/WebFilterOperation.cpp', |
| 766 '../../core/platform/chromium/support/WebFilterOperations.cpp', |
| 767 '../../core/platform/chromium/support/WebCString.cpp', |
| 768 '../../core/platform/chromium/support/WebString.cpp', |
| 769 'src/WebCommon.cpp', |
| 770 ], |
| 771 }, |
748 ], # targets | 772 ], # targets |
749 'conditions': [ | 773 'conditions': [ |
750 ['gcc_version>=46', { | 774 ['gcc_version>=46', { |
751 'target_defaults': { | 775 'target_defaults': { |
752 # Disable warnings about c++0x compatibility, as some names (suc
h | 776 # Disable warnings about c++0x compatibility, as some names (suc
h |
753 # as nullptr) conflict with upcoming c++0x types. | 777 # as nullptr) conflict with upcoming c++0x types. |
754 'cflags_cc': ['-Wno-c++0x-compat'], | 778 'cflags_cc': ['-Wno-c++0x-compat'], |
755 }, | 779 }, |
756 }], | 780 }], |
757 ['OS=="mac"', { | 781 ['OS=="mac"', { |
(...skipping 12 matching lines...) Expand all Loading... |
770 ['clang==1', { | 794 ['clang==1', { |
771 'target_defaults': { | 795 'target_defaults': { |
772 'cflags': ['-Wglobal-constructors'], | 796 'cflags': ['-Wglobal-constructors'], |
773 'xcode_settings': { | 797 'xcode_settings': { |
774 'WARNING_CFLAGS': ['-Wglobal-constructors'], | 798 'WARNING_CFLAGS': ['-Wglobal-constructors'], |
775 }, | 799 }, |
776 }, | 800 }, |
777 }], | 801 }], |
778 ], # conditions | 802 ], # conditions |
779 } | 803 } |
OLD | NEW |