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 declare_args() { | 5 declare_args() { |
6 # Indicates whether typemapping should be supported in this build | 6 # Indicates whether typemapping should be supported in this build |
7 # configuration. This may be disabled when building external projects which | 7 # configuration. This may be disabled when building external projects which |
8 # depend on //mojo but which do not need/want all of the Chromium tree | 8 # depend on //mojo but which do not need/want all of the Chromium tree |
9 # dependencies that come with typemapping. | 9 # dependencies that come with typemapping. |
10 # | 10 # |
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 if (defined(_typemap_config.sources)) { | 595 if (defined(_typemap_config.sources)) { |
596 sources += _typemap_config.sources | 596 sources += _typemap_config.sources |
597 } | 597 } |
598 if (defined(_typemap_config.public_deps)) { | 598 if (defined(_typemap_config.public_deps)) { |
599 public_deps += _typemap_config.public_deps | 599 public_deps += _typemap_config.public_deps |
600 } | 600 } |
601 if (defined(_typemap_config.deps)) { | 601 if (defined(_typemap_config.deps)) { |
602 deps += _typemap_config.deps | 602 deps += _typemap_config.deps |
603 } | 603 } |
604 } | 604 } |
| 605 if (defined(invoker.export_header)) { |
| 606 sources += [ "//" + invoker.export_header ] |
| 607 } |
605 if (defined(bindings_configuration.for_blink) && | 608 if (defined(bindings_configuration.for_blink) && |
606 bindings_configuration.for_blink) { | 609 bindings_configuration.for_blink) { |
607 public_deps += [ "//mojo/public/cpp/bindings:wtf_support" ] | 610 public_deps += [ "//mojo/public/cpp/bindings:wtf_support" ] |
608 } | 611 } |
609 } | 612 } |
610 | 613 |
611 if (!cpp_only && is_android) { | 614 if (!cpp_only && is_android) { |
612 import("//build/config/android/rules.gni") | 615 import("//build/config/android/rules.gni") |
613 | 616 |
614 java_srcjar_target_name = target_name + "_java_sources" | 617 java_srcjar_target_name = target_name + "_java_sources" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 full_name = get_label_info(d, "label_no_toolchain") | 655 full_name = get_label_info(d, "label_no_toolchain") |
653 deps += [ "${full_name}_java" ] | 656 deps += [ "${full_name}_java" ] |
654 } | 657 } |
655 | 658 |
656 srcjar_deps = [ ":$java_srcjar_target_name" ] | 659 srcjar_deps = [ ":$java_srcjar_target_name" ] |
657 run_findbugs_override = false | 660 run_findbugs_override = false |
658 } | 661 } |
659 } | 662 } |
660 } | 663 } |
661 } | 664 } |
OLD | NEW |