| 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 = [ |
| 47 "//base", |
| 46 "//third_party/WebKit/Source/wtf", | 48 "//third_party/WebKit/Source/wtf", |
| 49 "//url", |
| 47 ] | 50 ] |
| 48 } | 51 } |
| 49 | 52 |
| 50 # FontFamilyNames action in make_platform_generated in | 53 # FontFamilyNames action in make_platform_generated in |
| 51 # platform_generated.gyp | 54 # platform_generated.gyp |
| 52 action("font_family_names") { | 55 action("font_family_names") { |
| 53 script = "../build/scripts/make_names.py" | 56 script = "../build/scripts/make_names.py" |
| 54 | 57 |
| 55 font_family_names_in = "fonts/FontFamilyNames.in" | 58 font_family_names_in = "fonts/FontFamilyNames.in" |
| 56 inputs = make_names_files + [ font_family_names_in ] | 59 inputs = make_names_files + [ font_family_names_in ] |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 } | 446 } |
| 444 | 447 |
| 445 if (current_cpu == "x86" || current_cpu == "x64") { | 448 if (current_cpu == "x86" || current_cpu == "x64") { |
| 446 source_set("blink_x86_sse") { | 449 source_set("blink_x86_sse") { |
| 447 sources = blink_platform_sse_files | 450 sources = blink_platform_sse_files |
| 448 deps = [ | 451 deps = [ |
| 449 ":blink_common", | 452 ":blink_common", |
| 450 ] | 453 ] |
| 451 } | 454 } |
| 452 } | 455 } |
| OLD | NEW |