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/Source/build/scripts/scripts.gni") | 9 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
10 import("//third_party/WebKit/Source/config.gni") | 10 import("//third_party/WebKit/Source/config.gni") |
11 import( | 11 import( |
12 "//third_party/WebKit/Source/platform/inspector_protocol/inspector_protocol.
gni") | 12 "//third_party/WebKit/Source/platform/inspector_protocol/inspector_protocol.
gni") |
13 import("//third_party/WebKit/Source/platform/platform_generated.gni") | 13 import("//third_party/WebKit/Source/platform/platform_generated.gni") |
14 | 14 |
15 # Most targets in this file are private actions so use that as the default. | 15 # Most targets in this file are private actions so use that as the default. |
16 visibility = [ ":*" ] | 16 visibility = [ ":*" ] |
17 | 17 |
18 blink_platform_neon_files = [ "graphics/cpu/arm/WebGLImageConversionNEON.h" ] | 18 blink_platform_neon_files = [ "graphics/cpu/arm/WebGLImageConversionNEON.h" ] |
19 | 19 |
20 blink_platform_sse_files = [ "graphics/cpu/x86/WebGLImageConversionSSE.h" ] | 20 blink_platform_sse_files = [ "graphics/cpu/x86/WebGLImageConversionSSE.h" ] |
21 | 21 |
22 # blink_common in blink_platform.gyp | |
23 component("blink_common") { | 22 component("blink_common") { |
24 visibility = [] # Allow re-assignment of list. | 23 visibility = [] # Allow re-assignment of list. |
25 visibility = [ "//third_party/WebKit/*" ] | 24 visibility = [ "//third_party/WebKit/*" ] |
26 sources = [ | 25 sources = [ |
27 "../web/WebInputEvent.cpp", | 26 "../web/WebInputEvent.cpp", |
28 "exported/FilePathConversion.cpp", | 27 "exported/FilePathConversion.cpp", |
29 "exported/URLConversion.cpp", | 28 "exported/URLConversion.cpp", |
30 "exported/WebCString.cpp", | 29 "exported/WebCString.cpp", |
31 "exported/WebString.cpp", | 30 "exported/WebString.cpp", |
32 "exported/linux/WebFontRenderStyle.cpp", | 31 "exported/linux/WebFontRenderStyle.cpp", |
(...skipping 18 matching lines...) Expand all Loading... |
51 "//base", | 50 "//base", |
52 "//third_party/WebKit/Source/wtf", | 51 "//third_party/WebKit/Source/wtf", |
53 "//url", | 52 "//url", |
54 ] | 53 ] |
55 | 54 |
56 public_deps = [ | 55 public_deps = [ |
57 "//skia", | 56 "//skia", |
58 ] | 57 ] |
59 } | 58 } |
60 | 59 |
61 # FontFamilyNames action in make_platform_generated in | |
62 # platform_generated.gyp | |
63 action("font_family_names") { | 60 action("font_family_names") { |
64 script = "../build/scripts/make_names.py" | 61 script = "../build/scripts/make_names.py" |
65 | 62 |
66 font_family_names_in = "fonts/FontFamilyNames.in" | 63 font_family_names_in = "fonts/FontFamilyNames.in" |
67 inputs = make_names_files + [ font_family_names_in ] | 64 inputs = make_names_files + [ font_family_names_in ] |
68 | 65 |
69 outputs = [ | 66 outputs = [ |
70 "$blink_platform_output_dir/FontFamilyNames.cpp", | 67 "$blink_platform_output_dir/FontFamilyNames.cpp", |
71 "$blink_platform_output_dir/FontFamilyNames.h", | 68 "$blink_platform_output_dir/FontFamilyNames.h", |
72 ] | 69 ] |
73 | 70 |
74 args = [ | 71 args = [ |
75 rebase_path(font_family_names_in, root_build_dir), | 72 rebase_path(font_family_names_in, root_build_dir), |
76 "--output_dir", | 73 "--output_dir", |
77 rebase_path(blink_platform_output_dir, root_build_dir), | 74 rebase_path(blink_platform_output_dir, root_build_dir), |
78 ] | 75 ] |
79 } | 76 } |
80 | 77 |
81 # HTTPNames action in make_platform_generated in | |
82 # platform_generated.gyp | |
83 action("http_names") { | 78 action("http_names") { |
84 script = "../build/scripts/make_names.py" | 79 script = "../build/scripts/make_names.py" |
85 | 80 |
86 http_names_in = "network/HTTPNames.in" | 81 http_names_in = "network/HTTPNames.in" |
87 inputs = make_names_files + [ http_names_in ] | 82 inputs = make_names_files + [ http_names_in ] |
88 | 83 |
89 outputs = [ | 84 outputs = [ |
90 "$blink_platform_output_dir/HTTPNames.cpp", | 85 "$blink_platform_output_dir/HTTPNames.cpp", |
91 "$blink_platform_output_dir/HTTPNames.h", | 86 "$blink_platform_output_dir/HTTPNames.h", |
92 ] | 87 ] |
93 | 88 |
94 args = [ | 89 args = [ |
95 rebase_path(http_names_in, root_build_dir), | 90 rebase_path(http_names_in, root_build_dir), |
96 "--output_dir", | 91 "--output_dir", |
97 rebase_path(blink_platform_output_dir, root_build_dir), | 92 rebase_path(blink_platform_output_dir, root_build_dir), |
98 ] | 93 ] |
99 } | 94 } |
100 | 95 |
101 # RuntimeEnabledFeatures action in make_platform_generated in | |
102 # platform_generated.gyp | |
103 action("runtime_enabled_features") { | 96 action("runtime_enabled_features") { |
104 script = "../build/scripts/make_runtime_features.py" | 97 script = "../build/scripts/make_runtime_features.py" |
105 | 98 |
106 runtime_enabled_features_in = "RuntimeEnabledFeatures.in" | 99 runtime_enabled_features_in = "RuntimeEnabledFeatures.in" |
107 inputs = scripts_for_in_files + [ | 100 inputs = scripts_for_in_files + [ |
108 runtime_enabled_features_in, | 101 runtime_enabled_features_in, |
109 "../build/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl", | 102 "../build/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl", |
110 "../build/scripts/templates/RuntimeEnabledFeatures.h.tmpl", | 103 "../build/scripts/templates/RuntimeEnabledFeatures.h.tmpl", |
111 ] | 104 ] |
112 | 105 |
113 outputs = [ | 106 outputs = [ |
114 "$blink_platform_output_dir/RuntimeEnabledFeatures.cpp", | 107 "$blink_platform_output_dir/RuntimeEnabledFeatures.cpp", |
115 "$blink_platform_output_dir/RuntimeEnabledFeatures.h", | 108 "$blink_platform_output_dir/RuntimeEnabledFeatures.h", |
116 ] | 109 ] |
117 | 110 |
118 args = [ | 111 args = [ |
119 rebase_path(runtime_enabled_features_in, root_build_dir), | 112 rebase_path(runtime_enabled_features_in, root_build_dir), |
120 "--output_dir", | 113 "--output_dir", |
121 rebase_path(blink_platform_output_dir, root_build_dir), | 114 rebase_path(blink_platform_output_dir, root_build_dir), |
122 ] | 115 ] |
123 } | 116 } |
124 | 117 |
125 # ColorData action in make_platform_generated in platform_generated.gyp | |
126 action("color_data") { | 118 action("color_data") { |
127 script = "../build/scripts/gperf.py" | 119 script = "../build/scripts/gperf.py" |
128 | 120 |
129 color_data_gperf = "ColorData.gperf" | 121 color_data_gperf = "ColorData.gperf" |
130 inputs = [ | 122 inputs = [ |
131 color_data_gperf, | 123 color_data_gperf, |
132 ] | 124 ] |
133 | 125 |
134 output_file = "$blink_platform_output_dir/ColorData.cpp" | 126 output_file = "$blink_platform_output_dir/ColorData.cpp" |
135 outputs = [ | 127 outputs = [ |
(...skipping 1946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2082 "//third_party/WebKit/Source:inside_blink", | 2074 "//third_party/WebKit/Source:inside_blink", |
2083 ] | 2075 ] |
2084 | 2076 |
2085 deps = [ | 2077 deps = [ |
2086 ":test_support", | 2078 ":test_support", |
2087 "//cc/surfaces:surface_id", | 2079 "//cc/surfaces:surface_id", |
2088 "//testing/gmock", | 2080 "//testing/gmock", |
2089 "//testing/gtest", | 2081 "//testing/gtest", |
2090 ] | 2082 ] |
2091 } | 2083 } |
OLD | NEW |