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

Side by Side Diff: build/config/android/internal_rules.gni

Issue 755183004: GN + Android: allow to set visibility on android_library targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | build/config/android/rules.gni » ('j') | 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 6
7 assert(is_android) 7 assert(is_android)
8 8
9 9
10 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) 10 rebased_android_sdk = rebase_path(android_sdk, root_build_dir)
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 } 807 }
808 808
809 _final_deps += [ ":${_template_name}__dex" ] 809 _final_deps += [ ":${_template_name}__dex" ]
810 dex("${_template_name}__dex") { 810 dex("${_template_name}__dex") {
811 sources = [_jar_path] 811 sources = [_jar_path]
812 output = _dex_path 812 output = _dex_path
813 } 813 }
814 } 814 }
815 815
816 group(target_name) { 816 group(target_name) {
817 if (defined(invoker.visibility)) {
818 visibility = invoker.visibility
819 }
817 deps = _final_deps 820 deps = _final_deps
818 datadeps = _final_datadeps 821 datadeps = _final_datadeps
819 } 822 }
820 } 823 }
821 824
822 825
823 # Runs process_resources.py 826 # Runs process_resources.py
824 template("process_resources") { 827 template("process_resources") {
825 if (defined(invoker.testonly)) { testonly = invoker.testonly } 828 if (defined(invoker.testonly)) { testonly = invoker.testonly }
826 829
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 941
939 if (defined(invoker.clear_dir) && invoker.clear_dir) { 942 if (defined(invoker.clear_dir) && invoker.clear_dir) {
940 args += ["--clear"] 943 args += ["--clear"]
941 } 944 }
942 945
943 if (defined(invoker.args)) { 946 if (defined(invoker.args)) {
944 args += invoker.args 947 args += invoker.args
945 } 948 }
946 } 949 }
947 } 950 }
OLDNEW
« no previous file with comments | « no previous file | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698