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

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

Issue 1128903005: Enable cross compile to android from mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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 import("//base/android/linker/config.gni") 5 import("//base/android/linker/config.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/internal_rules.gni") 7 import("//build/config/android/internal_rules.gni")
8 import("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
9 import("//tools/relocation_packer/config.gni") 9 import("//tools/relocation_packer/config.gni")
10 10
(...skipping 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after
1565 } 1565 }
1566 deps = [ 1566 deps = [
1567 "//base:base_java", 1567 "//base:base_java",
1568 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk", 1568 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk",
1569 "//testing/android/appurify_support:appurify_support_java", 1569 "//testing/android/appurify_support:appurify_support_java",
1570 ] 1570 ]
1571 if (defined(invoker.deps)) { 1571 if (defined(invoker.deps)) {
1572 deps += invoker.deps 1572 deps += invoker.deps
1573 } 1573 }
1574 datadeps = [ 1574 datadeps = [
1575 "//tools/android/forwarder2",
1576 "//tools/android/md5sum", 1575 "//tools/android/md5sum",
1577 ] 1576 ]
1577 if (host_os == "linux") {
1578 datadeps += [ "//tools/android/forwarder2" ]
1579 }
1578 if (defined(invoker.datadeps)) { 1580 if (defined(invoker.datadeps)) {
1579 datadeps += invoker.datadeps 1581 datadeps += invoker.datadeps
1580 } 1582 }
1581 } 1583 }
1582 } 1584 }
1583 1585
1584 # Generate .java files from .aidl files. 1586 # Generate .java files from .aidl files.
1585 # 1587 #
1586 # This target will store the .java files in a srcjar and should be included in 1588 # This target will store the .java files in a srcjar and should be included in
1587 # an android_library or android_apk's srcjar_deps. 1589 # an android_library or android_apk's srcjar_deps.
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
1803 template("uiautomator_test") { 1805 template("uiautomator_test") {
1804 set_sources_assignment_filter([]) 1806 set_sources_assignment_filter([])
1805 if (defined(invoker.testonly)) { 1807 if (defined(invoker.testonly)) {
1806 testonly = invoker.testonly 1808 testonly = invoker.testonly
1807 } 1809 }
1808 assert(target_name != "") 1810 assert(target_name != "")
1809 assert(invoker.deps != [] || true) 1811 assert(invoker.deps != [] || true)
1810 group(target_name) { 1812 group(target_name) {
1811 } 1813 }
1812 } 1814 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698