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

Side by Side Diff: mojo/public/tools/bindings/mojom.gni

Issue 2560953004: Improve documentation of the targets generated by mojom.gni. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 mojom_generator_root = "//mojo/public/tools/bindings" 5 mojom_generator_root = "//mojo/public/tools/bindings"
6 mojom_generator_script = "$mojom_generator_root/mojom_bindings_generator.py" 6 mojom_generator_script = "$mojom_generator_root/mojom_bindings_generator.py"
7 mojom_generator_sources = [ 7 mojom_generator_sources = [
8 "$mojom_generator_root/generators/mojom_cpp_generator.py", 8 "$mojom_generator_root/generators/mojom_cpp_generator.py",
9 "$mojom_generator_root/generators/mojom_js_generator.py", 9 "$mojom_generator_root/generators/mojom_js_generator.py",
10 "$mojom_generator_root/generators/mojom_java_generator.py", 10 "$mojom_generator_root/generators/mojom_java_generator.py",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 foreach(typemap, configuration.typemaps) { 42 foreach(typemap, configuration.typemaps) {
43 read_file(typemap.mojom, "") 43 read_file(typemap.mojom, "")
44 } 44 }
45 if (is_mac && defined(configuration.typemaps_mac)) { 45 if (is_mac && defined(configuration.typemaps_mac)) {
46 foreach(typemap, configuration.typemaps_mac) { 46 foreach(typemap, configuration.typemaps_mac) {
47 read_file(typemap.mojom, "") 47 read_file(typemap.mojom, "")
48 } 48 }
49 } 49 }
50 } 50 }
51 51
52 # Generate C++/JavaScript/Java source files from mojom files. The output files 52 # Generates targets for building C++, JavaScript and Java bindings from mojom
53 # will go under the generated file directory tree with the same path as each 53 # files. The output files will go under the generated file directory tree with
54 # input file. 54 # the same path as each input file.
55 #
56 # Other targets should depend on one of these generated targets (where "foo"
57 # is the target name):
58 #
59 # foo
60 # C++ and Javascript bindings. Other mojom targets should also depend on
61 # this target.
62 #
63 # foo_blink
64 # C++ bindings using Blink standard types.
65 #
66 # foo_java
67 # Java bindings.
55 # 68 #
56 # Parameters: 69 # Parameters:
57 # 70 #
58 # sources (optional if one of the deps sets listed below is present) 71 # sources (optional if one of the deps sets listed below is present)
59 # List of source .mojom files to compile. 72 # List of source .mojom files to compile.
60 # 73 #
61 # deps (optional) 74 # deps (optional)
62 # Note: this can contain only other mojom targets. 75 # Note: this can contain only other mojom targets.
63 # 76 #
64 # DEPRECATED: This is synonymous with public_deps because all mojom 77 # DEPRECATED: This is synonymous with public_deps because all mojom
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 full_name = get_label_info(d, "label_no_toolchain") 568 full_name = get_label_info(d, "label_no_toolchain")
556 deps += [ "${full_name}_java" ] 569 deps += [ "${full_name}_java" ]
557 } 570 }
558 571
559 srcjar_deps = [ ":$java_srcjar_target_name" ] 572 srcjar_deps = [ ":$java_srcjar_target_name" ]
560 run_findbugs_override = false 573 run_findbugs_override = false
561 } 574 }
562 } 575 }
563 } 576 }
564 } 577 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698