| OLD | NEW | 
|     1 # Copyright 2014 The Chromium Authors. All rights reserved. |     1 # Copyright 2014 The Chromium 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 import("//build/config/features.gni") |     5 import("//build/config/features.gni") | 
|     6 import("//build/config/ui.gni") |     6 import("//build/config/ui.gni") | 
|     7 import("//testing/libfuzzer/fuzzer_test.gni") |     7 import("//testing/libfuzzer/fuzzer_test.gni") | 
|     8 import("//testing/test.gni") |     8 import("//testing/test.gni") | 
|     9 import("//third_party/WebKit/public/public_features.gni") |     9 import("//third_party/WebKit/public/public_features.gni") | 
|    10 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |    10 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 
|    11 import("//third_party/WebKit/Source/config.gni") |    11 import("//third_party/WebKit/Source/config.gni") | 
|    12 import("//third_party/WebKit/Source/platform/platform_generated.gni") |    12 import("//third_party/WebKit/Source/platform/platform_generated.gni") | 
|    13  |    13  | 
|    14 # Most targets in this file are private actions so use that as the default. |    14 # Most targets in this file are private actions so use that as the default. | 
|    15 visibility = [ ":*" ] |    15 visibility = [ ":*" ] | 
|    16  |    16  | 
|    17 blink_platform_neon_files = [ "graphics/cpu/arm/WebGLImageConversionNEON.h" ] |    17 blink_platform_neon_files = [ "graphics/cpu/arm/WebGLImageConversionNEON.h" ] | 
|    18  |    18  | 
|    19 blink_platform_msa_files = [ "graphics/cpu/mips/WebGLImageConversionMSA.h" ] |    19 blink_platform_msa_files = [ "graphics/cpu/mips/WebGLImageConversionMSA.h" ] | 
|    20  |    20  | 
|    21 blink_platform_sse_files = [ "graphics/cpu/x86/WebGLImageConversionSSE.h" ] |    21 blink_platform_sse_files = [ "graphics/cpu/x86/WebGLImageConversionSSE.h" ] | 
|    22  |    22  | 
|    23 component("blink_common") { |    23 component("blink_common") { | 
|    24   visibility = []  # Allow re-assignment of list. |    24   visibility = []  # Allow re-assignment of list. | 
|    25   visibility = [ "//third_party/WebKit/*" ] |    25   visibility = [ "//third_party/WebKit/*" ] | 
|    26   sources = [ |    26   sources = [ | 
|    27     "exported/FilePathConversion.cpp", |  | 
|    28     "exported/URLConversion.cpp", |  | 
|    29     "exported/WebCString.cpp", |  | 
|    30     "exported/WebString.cpp", |    27     "exported/WebString.cpp", | 
|    31     "exported/linux/WebFontRenderStyle.cpp", |  | 
|    32   ] |    28   ] | 
|    33   if (is_android) { |  | 
|    34     set_sources_assignment_filter([]) |  | 
|    35     sources += [ "exported/linux/WebFontRenderStyle.cpp" ] |  | 
|    36   } |  | 
|    37  |    29  | 
|    38   defines = [ |    30   defines = [ | 
|    39     "BLINK_COMMON_IMPLEMENTATION=1", |    31     "BLINK_COMMON_IMPLEMENTATION=1", | 
|    40     "INSIDE_BLINK", |    32     "INSIDE_BLINK", | 
|    41   ] |    33   ] | 
|    42  |    34  | 
|    43   configs += [ |    35   configs += [ | 
|    44     "//build/config/compiler:wexit_time_destructors", |    36     "//build/config/compiler:wexit_time_destructors", | 
|    45     "//third_party/WebKit/Source:config", |    37     "//third_party/WebKit/Source:config", | 
|    46     "//third_party/WebKit/Source:non_test_config", |    38     "//third_party/WebKit/Source:non_test_config", | 
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   487     "clipboard/ClipboardMimeTypes.h", |   479     "clipboard/ClipboardMimeTypes.h", | 
|   488     "clipboard/ClipboardUtilities.cpp", |   480     "clipboard/ClipboardUtilities.cpp", | 
|   489     "clipboard/ClipboardUtilities.h", |   481     "clipboard/ClipboardUtilities.h", | 
|   490     "cpu/mips/CommonMacrosMSA.h", |   482     "cpu/mips/CommonMacrosMSA.h", | 
|   491     "credentialmanager/PlatformCredential.cpp", |   483     "credentialmanager/PlatformCredential.cpp", | 
|   492     "credentialmanager/PlatformCredential.h", |   484     "credentialmanager/PlatformCredential.h", | 
|   493     "credentialmanager/PlatformFederatedCredential.cpp", |   485     "credentialmanager/PlatformFederatedCredential.cpp", | 
|   494     "credentialmanager/PlatformFederatedCredential.h", |   486     "credentialmanager/PlatformFederatedCredential.h", | 
|   495     "credentialmanager/PlatformPasswordCredential.cpp", |   487     "credentialmanager/PlatformPasswordCredential.cpp", | 
|   496     "credentialmanager/PlatformPasswordCredential.h", |   488     "credentialmanager/PlatformPasswordCredential.h", | 
 |   489     "exported/FilePathConversion.cpp", | 
|   497     "exported/InterfaceRegistry.cpp", |   490     "exported/InterfaceRegistry.cpp", | 
|   498     "exported/Platform.cpp", |   491     "exported/Platform.cpp", | 
|   499     "exported/ServiceRegistry.cpp", |   492     "exported/ServiceRegistry.cpp", | 
 |   493     "exported/URLConversion.cpp", | 
|   500     "exported/WebActiveGestureAnimation.cpp", |   494     "exported/WebActiveGestureAnimation.cpp", | 
|   501     "exported/WebActiveGestureAnimation.h", |   495     "exported/WebActiveGestureAnimation.h", | 
|   502     "exported/WebAudioBus.cpp", |   496     "exported/WebAudioBus.cpp", | 
|   503     "exported/WebAudioDevice.cpp", |   497     "exported/WebAudioDevice.cpp", | 
|   504     "exported/WebBlobData.cpp", |   498     "exported/WebBlobData.cpp", | 
 |   499     "exported/WebCString.cpp", | 
|   505     "exported/WebCache.cpp", |   500     "exported/WebCache.cpp", | 
|   506     "exported/WebCanvasCaptureHandler.cpp", |   501     "exported/WebCanvasCaptureHandler.cpp", | 
|   507     "exported/WebCoalescedInputEvent.cpp", |   502     "exported/WebCoalescedInputEvent.cpp", | 
|   508     "exported/WebContentDecryptionModule.cpp", |   503     "exported/WebContentDecryptionModule.cpp", | 
|   509     "exported/WebContentDecryptionModuleAccess.cpp", |   504     "exported/WebContentDecryptionModuleAccess.cpp", | 
|   510     "exported/WebContentDecryptionModuleResult.cpp", |   505     "exported/WebContentDecryptionModuleResult.cpp", | 
|   511     "exported/WebContentDecryptionModuleSession.cpp", |   506     "exported/WebContentDecryptionModuleSession.cpp", | 
|   512     "exported/WebContentSettingCallbacks.cpp", |   507     "exported/WebContentSettingCallbacks.cpp", | 
|   513     "exported/WebCredential.cpp", |   508     "exported/WebCredential.cpp", | 
|   514     "exported/WebCryptoAlgorithm.cpp", |   509     "exported/WebCryptoAlgorithm.cpp", | 
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   582     "exported/WebThreadSafeData.cpp", |   577     "exported/WebThreadSafeData.cpp", | 
|   583     "exported/WebURL.cpp", |   578     "exported/WebURL.cpp", | 
|   584     "exported/WebURLError.cpp", |   579     "exported/WebURLError.cpp", | 
|   585     "exported/WebURLLoadTiming.cpp", |   580     "exported/WebURLLoadTiming.cpp", | 
|   586     "exported/WebURLLoaderClient.cpp", |   581     "exported/WebURLLoaderClient.cpp", | 
|   587     "exported/WebURLLoaderTestDelegate.cpp", |   582     "exported/WebURLLoaderTestDelegate.cpp", | 
|   588     "exported/WebURLRequest.cpp", |   583     "exported/WebURLRequest.cpp", | 
|   589     "exported/WebURLResponse.cpp", |   584     "exported/WebURLResponse.cpp", | 
|   590     "exported/WrappedResourceRequest.h", |   585     "exported/WrappedResourceRequest.h", | 
|   591     "exported/WrappedResourceResponse.h", |   586     "exported/WrappedResourceResponse.h", | 
 |   587     "exported/linux/WebFontRenderStyle.cpp", | 
|   592     "feature_policy/FeaturePolicy.cpp", |   588     "feature_policy/FeaturePolicy.cpp", | 
|   593     "feature_policy/FeaturePolicy.h", |   589     "feature_policy/FeaturePolicy.h", | 
|   594     "fonts/AcceptLanguagesResolver.cpp", |   590     "fonts/AcceptLanguagesResolver.cpp", | 
|   595     "fonts/AcceptLanguagesResolver.h", |   591     "fonts/AcceptLanguagesResolver.h", | 
|   596     "fonts/AlternateFontFamily.h", |   592     "fonts/AlternateFontFamily.h", | 
|   597     "fonts/CharacterRange.h", |   593     "fonts/CharacterRange.h", | 
|   598     "fonts/CustomFontData.h", |   594     "fonts/CustomFontData.h", | 
|   599     "fonts/Font.cpp", |   595     "fonts/Font.cpp", | 
|   600     "fonts/Font.h", |   596     "fonts/Font.h", | 
|   601     "fonts/FontBaseline.h", |   597     "fonts/FontBaseline.h", | 
| (...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1398     "weborigin/SecurityOrigin.cpp", |  1394     "weborigin/SecurityOrigin.cpp", | 
|  1399     "weborigin/SecurityOrigin.h", |  1395     "weborigin/SecurityOrigin.h", | 
|  1400     "weborigin/SecurityOriginHash.h", |  1396     "weborigin/SecurityOriginHash.h", | 
|  1401     "weborigin/SecurityPolicy.cpp", |  1397     "weborigin/SecurityPolicy.cpp", | 
|  1402     "weborigin/SecurityPolicy.h", |  1398     "weborigin/SecurityPolicy.h", | 
|  1403     "weborigin/Suborigin.cpp", |  1399     "weborigin/Suborigin.cpp", | 
|  1404     "weborigin/Suborigin.h", |  1400     "weborigin/Suborigin.h", | 
|  1405     "weborigin/URLSecurityOriginMap.h", |  1401     "weborigin/URLSecurityOriginMap.h", | 
|  1406   ] |  1402   ] | 
|  1407  |  1403  | 
 |  1404   if (is_android) { | 
 |  1405     set_sources_assignment_filter([]) | 
 |  1406     sources += [ "exported/linux/WebFontRenderStyle.cpp" ] | 
 |  1407   } | 
 |  1408  | 
|  1408   sources -= blink_platform_neon_files |  1409   sources -= blink_platform_neon_files | 
|  1409   sources -= blink_platform_msa_files |  1410   sources -= blink_platform_msa_files | 
|  1410   sources -= blink_platform_sse_files |  1411   sources -= blink_platform_sse_files | 
|  1411  |  1412  | 
|  1412   # Add in the generated files. |  1413   # Add in the generated files. | 
|  1413   sources += get_target_outputs(":character_data") + |  1414   sources += get_target_outputs(":character_data") + | 
|  1414              get_target_outputs(":color_data") + |  1415              get_target_outputs(":color_data") + | 
|  1415              get_target_outputs(":font_family_names") + |  1416              get_target_outputs(":font_family_names") + | 
|  1416              get_target_outputs(":http_names") + |  1417              get_target_outputs(":http_names") + | 
|  1417              get_target_outputs(":runtime_enabled_features") |  1418              get_target_outputs(":runtime_enabled_features") | 
| (...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2113     "//third_party/WebKit/Source:config", |  2114     "//third_party/WebKit/Source:config", | 
|  2114     "//third_party/WebKit/Source:inside_blink", |  2115     "//third_party/WebKit/Source:inside_blink", | 
|  2115   ] |  2116   ] | 
|  2116  |  2117  | 
|  2117   deps = [ |  2118   deps = [ | 
|  2118     ":test_support", |  2119     ":test_support", | 
|  2119     "//testing/gmock", |  2120     "//testing/gmock", | 
|  2120     "//testing/gtest", |  2121     "//testing/gtest", | 
|  2121   ] |  2122   ] | 
|  2122 } |  2123 } | 
| OLD | NEW |