Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: sky/engine/bindings/BUILD.gn

Issue 1171743002: Change the way we provide custom dart code for IDL bindings. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//sky/engine/bindings/bindings.gni") 5 import("//sky/engine/bindings/bindings.gni")
6 import("//sky/engine/core/core.gni") 6 import("//sky/engine/core/core.gni")
7 7
8 source_set("bindings") { 8 source_set("bindings") {
9 sources = [ 9 sources = [
10 "builtin.cc", 10 "builtin.cc",
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 ] 327 ]
328 328
329 deps = [ 329 deps = [
330 ":compile_idls", 330 ":compile_idls",
331 ] 331 ]
332 } 332 }
333 333
334 copy("copy_core_dart_files") { 334 copy("copy_core_dart_files") {
335 sources = core_dart_files 335 sources = core_dart_files
336 outputs = [ 336 outputs = [
337 "$bindings_output_dir/{{source_file_part}}", 337 "$bindings_output_dir/Custom{{source_file_part}}",
338 ] 338 ]
339 } 339 }
340 340
341 action("generate_dart_sky") { 341 action("generate_dart_sky") {
342 sources = core_idl_files + core_dart_files 342 sources = core_idl_files + core_dart_files
343 script = "$bindings_scripts_dir/compiler.py" 343 script = "$bindings_scripts_dir/compiler.py"
344 344
345 file_list = "$target_gen_dir/${target_name}_file_list.txt" 345 file_list = "$target_gen_dir/${target_name}_file_list.txt"
346 write_file(file_list, rebase_path(sources, root_build_dir)) 346 write_file(file_list, rebase_path(sources, root_build_dir))
347 347
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 ] 396 ]
397 397
398 include_dirs = [ 398 include_dirs = [
399 "..", 399 "..",
400 "$root_build_dir", 400 "$root_build_dir",
401 ] 401 ]
402 402
403 sources = get_target_outputs(":compile_idls") 403 sources = get_target_outputs(":compile_idls")
404 sources += get_target_outputs(":generate_dart_globals") 404 sources += get_target_outputs(":generate_dart_globals")
405 } 405 }
OLDNEW
« no previous file with comments | « no previous file | sky/engine/bindings/IDLExtendedAttributes.txt » ('j') | sky/engine/bindings/IDLExtendedAttributes.txt » ('J')

Powered by Google App Engine
This is Rietveld 408576698