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/FilePathConversion.cpp", |
29 "exported/URLConversion.cpp", | 30 "exported/URLConversion.cpp", |
30 "exported/WebCString.cpp", | 31 "exported/WebCString.cpp", |
31 "exported/WebCommon.cpp", | 32 "exported/WebCommon.cpp", |
32 "exported/WebString.cpp", | 33 "exported/WebString.cpp", |
33 ] | 34 ] |
34 | 35 |
35 defines = [ | 36 defines = [ |
36 "BLINK_COMMON_IMPLEMENTATION=1", | 37 "BLINK_COMMON_IMPLEMENTATION=1", |
37 "INSIDE_BLINK", | 38 "INSIDE_BLINK", |
38 ] | 39 ] |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 } | 562 } |
562 | 563 |
563 if (current_cpu == "x86" || current_cpu == "x64") { | 564 if (current_cpu == "x86" || current_cpu == "x64") { |
564 source_set("blink_x86_sse") { | 565 source_set("blink_x86_sse") { |
565 sources = blink_platform_sse_files | 566 sources = blink_platform_sse_files |
566 deps = [ | 567 deps = [ |
567 ":blink_common", | 568 ":blink_common", |
568 ] | 569 ] |
569 } | 570 } |
570 } | 571 } |
OLD | NEW |