| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |