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

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

Issue 2476683002: Rename //mojo/public:bindings -> mojo:bindings_java (Closed)
Patch Set: Created 4 years, 1 month 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 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 deps = [ 525 deps = [
526 ":$generator_target_name", 526 ":$generator_target_name",
527 ] 527 ]
528 } 528 }
529 } 529 }
530 530
531 java_target_name = target_name + "_java" 531 java_target_name = target_name + "_java"
532 android_library(java_target_name) { 532 android_library(java_target_name) {
533 deps = [ 533 deps = [
534 "//base:base_java", 534 "//base:base_java",
535 "//mojo/public/java:bindings", 535 "//mojo/public/java:bindings_java",
536 "//mojo/public/java:system", 536 "//mojo/public/java:system_java",
537 ] 537 ]
538 538
539 foreach(d, all_deps) { 539 foreach(d, all_deps) {
540 # Resolve the name, so that a target //mojo/something becomes 540 # Resolve the name, so that a target //mojo/something becomes
541 # //mojo/something:something and we can append "_java" to get the java 541 # //mojo/something:something and we can append "_java" to get the java
542 # dependency name. 542 # dependency name.
543 full_name = get_label_info(d, "label_no_toolchain") 543 full_name = get_label_info(d, "label_no_toolchain")
544 deps += [ "${full_name}_java" ] 544 deps += [ "${full_name}_java" ]
545 } 545 }
546 546
547 srcjar_deps = [ ":$java_srcjar_target_name" ] 547 srcjar_deps = [ ":$java_srcjar_target_name" ]
548 run_findbugs_override = false 548 run_findbugs_override = false
549 } 549 }
550 } 550 }
551 } 551 }
552 } 552 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698