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("//third_party/WebKit/Source/build/scripts/scripts.gni") | 6 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
7 import("//third_party/WebKit/Source/config.gni") | 7 import("//third_party/WebKit/Source/config.gni") |
8 import("//third_party/WebKit/Source/platform/platform_generated.gni") | 8 import("//third_party/WebKit/Source/platform/platform_generated.gni") |
9 | 9 |
10 platform_gypi = exec_script( | 10 platform_gypi = exec_script( |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 sources = platform_gypi.platform_files | 166 sources = platform_gypi.platform_files |
167 sources -= blink_platform_neon_files | 167 sources -= blink_platform_neon_files |
168 | 168 |
169 # Add in the generated files. | 169 # Add in the generated files. |
170 sources += | 170 sources += |
171 get_target_outputs(":font_family_names") + | 171 get_target_outputs(":font_family_names") + |
172 get_target_outputs(":runtime_enabled_features") + | 172 get_target_outputs(":runtime_enabled_features") + |
173 get_target_outputs(":color_data") | 173 get_target_outputs(":color_data") |
174 | 174 |
175 configs += [ | 175 configs += [ |
176 ":v8_stub_config", | |
177 "//third_party/WebKit/Source:config", | 176 "//third_party/WebKit/Source:config", |
178 "//third_party/WebKit/Source:non_test_config", | 177 "//third_party/WebKit/Source:non_test_config", |
179 ] | 178 ] |
180 | 179 |
181 defines = [ | 180 defines = [ |
182 "BLINK_PLATFORM_IMPLEMENTATION=1", | 181 "BLINK_PLATFORM_IMPLEMENTATION=1", |
183 "INSIDE_BLINK", | 182 "INSIDE_BLINK", |
184 ] | 183 ] |
185 | 184 |
186 include_dirs = [ | 185 include_dirs = [ |
(...skipping 12 matching lines...) Expand all Loading... |
199 "//third_party/iccjpeg", | 198 "//third_party/iccjpeg", |
200 "//third_party/icu", | 199 "//third_party/icu", |
201 "//third_party/libpng", | 200 "//third_party/libpng", |
202 "//third_party/libwebp", | 201 "//third_party/libwebp", |
203 "//third_party/ots", | 202 "//third_party/ots", |
204 "//third_party/qcms", | 203 "//third_party/qcms", |
205 "//third_party/WebKit/Source/wtf", | 204 "//third_party/WebKit/Source/wtf", |
206 "//third_party/WebKit/Source/platform/heap", | 205 "//third_party/WebKit/Source/platform/heap", |
207 "//url", | 206 "//url", |
208 #'blink_heap_asm_stubs', | 207 #'blink_heap_asm_stubs', |
209 # TODO(GYP) also remove v8_stub_config when this is added, and uncomment | 208 "//v8", |
210 # V8 in the forward statement below. | |
211 #"//v8", | |
212 ] | 209 ] |
213 | 210 |
214 forward_dependent_configs_from = [ | 211 forward_dependent_configs_from = [ |
215 "//gpu/command_buffer/client:gles2_c_lib", | 212 "//gpu/command_buffer/client:gles2_c_lib", |
216 "//skia", | 213 "//skia", |
217 "//third_party:jpeg", | 214 "//third_party:jpeg", |
218 "//third_party/iccjpeg", | 215 "//third_party/iccjpeg", |
219 "//third_party/libpng", | 216 "//third_party/libpng", |
220 "//third_party/libwebp", | 217 "//third_party/libwebp", |
221 "//third_party/ots", | 218 "//third_party/ots", |
222 "//third_party/qcms", | 219 "//third_party/qcms", |
223 "//url", | 220 "//url", |
224 # TODO(GYP) | 221 "//v8", |
225 #"//v8", | |
226 ] | 222 ] |
227 | 223 |
228 if (is_mac) { | 224 if (is_mac) { |
229 sources -= [ | 225 sources -= [ |
230 "fonts/harfbuzz/FontHarfBuzz.cpp", | 226 "fonts/harfbuzz/FontHarfBuzz.cpp", |
231 "fonts/harfbuzz/FontPlatformDataHarfBuzz.cpp", | 227 "fonts/harfbuzz/FontPlatformDataHarfBuzz.cpp", |
232 "fonts/harfbuzz/HarfBuzzFaceSkia.cpp", | 228 "fonts/harfbuzz/HarfBuzzFaceSkia.cpp", |
233 "fonts/opentype/OpenTypeTypes.h", | 229 "fonts/opentype/OpenTypeTypes.h", |
234 "fonts/opentype/OpenTypeVerticalData.cpp", | 230 "fonts/opentype/OpenTypeVerticalData.cpp", |
235 "fonts/opentype/OpenTypeVerticalData.h", | 231 "fonts/opentype/OpenTypeVerticalData.h", |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 #'cflags': ['-marm'], | 448 #'cflags': ['-marm'], |
453 # 'conditions': [ | 449 # 'conditions': [ |
454 # ['OS=="android"', { | 450 # ['OS=="android"', { |
455 # 'cflags!': ['-mthumb'], | 451 # 'cflags!': ['-mthumb'], |
456 # }], | 452 # }], |
457 # ], | 453 # ], |
458 | 454 |
459 deps = [ ":blink_common" ] | 455 deps = [ ":blink_common" ] |
460 } | 456 } |
461 } | 457 } |
462 | |
463 # This config is a placeholder to set up the V8 include path while the V8 GN | |
464 # build is being worked on. | |
465 config("v8_stub_config") { | |
466 include_dirs = [ "//v8/include" ] | |
467 } | |
OLD | NEW |