| 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/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 7 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| 8 import("//third_party/WebKit/Source/config.gni") | 8 import("//third_party/WebKit/Source/config.gni") |
| 9 import("//third_party/WebKit/Source/platform/platform.gni") | 9 import("//third_party/WebKit/Source/platform/platform.gni") |
| 10 import("//third_party/WebKit/Source/platform/platform_generated.gni") | 10 import("//third_party/WebKit/Source/platform/platform_generated.gni") |
| 11 | 11 |
| 12 # Most targets in this file are private actions so use that as the default. | 12 # Most targets in this file are private actions so use that as the default. |
| 13 visibility = [ ":*" ] | 13 visibility = [ ":*" ] |
| 14 | 14 |
| 15 heap_gypi = exec_script("//build/gypi_to_gn.py", | 15 heap_gypi = exec_script("//build/gypi_to_gn.py", |
| 16 [ rebase_path("heap/blink_heap.gypi") ], | 16 [ rebase_path("heap/blink_heap.gypi") ], |
| 17 "scope", | 17 "scope", |
| 18 [ "heap/blink_heap.gypi" ]) | 18 [ "heap/blink_heap.gypi" ]) |
| 19 | 19 |
| 20 blink_platform_neon_files = [ "graphics/cpu/arm/WebGLImageConversionNEON.h" ] | 20 blink_platform_neon_files = [ "graphics/cpu/arm/WebGLImageConversionNEON.h" ] |
| 21 | 21 |
| 22 blink_platform_sse_files = [ "graphics/cpu/x86/WebGLImageConversionSSE.h" ] | 22 blink_platform_sse_files = [ "graphics/cpu/x86/WebGLImageConversionSSE.h" ] |
| 23 | 23 |
| 24 # blink_common in blink_platform.gyp | 24 # blink_common in blink_platform.gyp |
| 25 component("blink_common") { | 25 component("blink_common") { |
| 26 visibility = [] # Allow re-assignment of list. | 26 visibility = [] # Allow re-assignment of list. |
| 27 visibility = [ "//third_party/WebKit/*" ] | 27 visibility = [ "//third_party/WebKit/*" ] |
| 28 sources = [ | 28 sources = [ |
| 29 "exported/URLConversion.cpp", |
| 29 "exported/WebCString.cpp", | 30 "exported/WebCString.cpp", |
| 30 "exported/WebCommon.cpp", | 31 "exported/WebCommon.cpp", |
| 31 "exported/WebString.cpp", | 32 "exported/WebString.cpp", |
| 32 ] | 33 ] |
| 33 | 34 |
| 34 defines = [ | 35 defines = [ |
| 35 "BLINK_COMMON_IMPLEMENTATION=1", | 36 "BLINK_COMMON_IMPLEMENTATION=1", |
| 36 "INSIDE_BLINK", | 37 "INSIDE_BLINK", |
| 37 ] | 38 ] |
| 38 | 39 |
| 39 configs += [ | 40 configs += [ |
| 40 "//build/config/compiler:wexit_time_destructors", | 41 "//build/config/compiler:wexit_time_destructors", |
| 41 "//third_party/WebKit/Source:config", | 42 "//third_party/WebKit/Source:config", |
| 42 "//third_party/WebKit/Source:non_test_config", | 43 "//third_party/WebKit/Source:non_test_config", |
| 43 ] | 44 ] |
| 44 | 45 |
| 45 deps = [ | 46 deps = [ |
| 46 "//third_party/WebKit/Source/wtf", | 47 "//third_party/WebKit/Source/wtf", |
| 48 "//url", |
| 47 ] | 49 ] |
| 48 } | 50 } |
| 49 | 51 |
| 50 # Chromium's version of WebCore includes the following Objective-C classes. The | 52 # Chromium's version of WebCore includes the following Objective-C classes. The |
| 51 # system-provided WebCore framework may also provide these classes. Because of | 53 # system-provided WebCore framework may also provide these classes. Because of |
| 52 # the nature of Objective-C binding (dynamically at runtime), it's possible for | 54 # the nature of Objective-C binding (dynamically at runtime), it's possible for |
| 53 # the Chromium-provided versions to interfere with the system-provided | 55 # the Chromium-provided versions to interfere with the system-provided |
| 54 # versions. This may happen when a system framework attempts to use | 56 # versions. This may happen when a system framework attempts to use |
| 55 # core.framework, such as when converting an HTML-flavored string to an | 57 # core.framework, such as when converting an HTML-flavored string to an |
| 56 # NSAttributedString. The solution is to force Objective-C class names that | 58 # NSAttributedString. The solution is to force Objective-C class names that |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 } | 481 } |
| 480 | 482 |
| 481 if (current_cpu == "x86" || current_cpu == "x64") { | 483 if (current_cpu == "x86" || current_cpu == "x64") { |
| 482 source_set("blink_x86_sse") { | 484 source_set("blink_x86_sse") { |
| 483 sources = blink_platform_sse_files | 485 sources = blink_platform_sse_files |
| 484 deps = [ | 486 deps = [ |
| 485 ":blink_common", | 487 ":blink_common", |
| 486 ] | 488 ] |
| 487 } | 489 } |
| 488 } | 490 } |
| OLD | NEW |