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

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

Issue 774353003: gn format // (the rest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase net 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 | « build/config/android/internal_rules.gni ('k') | build/go/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("//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 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after
1305 output = final_dex_path 1305 output = final_dex_path
1306 dex_arg_key = "${_rebased_build_config}:final_dex:dependency_dex_files" 1306 dex_arg_key = "${_rebased_build_config}:final_dex:dependency_dex_files"
1307 args = [ "--inputs=@FileArg($dex_arg_key)" ] 1307 args = [ "--inputs=@FileArg($dex_arg_key)" ]
1308 } 1308 }
1309 1309
1310 if (_native_libs != []) { 1310 if (_native_libs != []) {
1311 action("${_template_name}__prepare_native") { 1311 action("${_template_name}__prepare_native") {
1312 script = "//build/android/gyp/pack_arm_relocations.py" 1312 script = "//build/android/gyp/pack_arm_relocations.py"
1313 packed_libraries_dir = "$_native_libs_dir/$android_app_abi" 1313 packed_libraries_dir = "$_native_libs_dir/$android_app_abi"
1314 depfile = "$target_gen_dir/$target_name.d" 1314 depfile = "$target_gen_dir/$target_name.d"
1315 outputs = [ depfile ] 1315 outputs = [
1316 depfile,
1317 ]
1316 inputs = [ 1318 inputs = [
1317 _build_config, 1319 _build_config,
1318 ] 1320 ]
1319 deps = [] 1321 deps = []
1320 skip_packing_list = [ 1322 skip_packing_list = [
1321 "gdbserver", 1323 "gdbserver",
1322 "libchromium_android_linker.so", 1324 "libchromium_android_linker.so",
1323 ] 1325 ]
1324 1326
1325 enable_packing_arg = 0 1327 enable_packing_arg = 0
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 1435
1434 if (defined(invoker.unittests_binary)) { 1436 if (defined(invoker.unittests_binary)) {
1435 unittests_binary = invoker.unittests_binary 1437 unittests_binary = invoker.unittests_binary
1436 } else { 1438 } else {
1437 unittests_binary = "lib" + test_suite_name + ".so" 1439 unittests_binary = "lib" + test_suite_name + ".so"
1438 } 1440 }
1439 1441
1440 android_apk(target_name) { 1442 android_apk(target_name) {
1441 _apk_name = test_suite_name 1443 _apk_name = test_suite_name
1442 final_apk_path = "$root_build_dir/${_apk_name}_apk/${_apk_name}-debug.apk" 1444 final_apk_path = "$root_build_dir/${_apk_name}_apk/${_apk_name}-debug.apk"
1443 java_files = 1445 java_files = [ "//testing/android/java/src/org/chromium/native_test/ChromeNa tiveTestActivity.java" ]
1444 [ "//testing/android/java/src/org/chromium/native_test/ChromeNativeTestA ctivity.java" ]
1445 android_manifest = "//testing/android/java/AndroidManifest.xml" 1446 android_manifest = "//testing/android/java/AndroidManifest.xml"
1446 native_libs = [ unittests_binary ] 1447 native_libs = [ unittests_binary ]
1447 deps = [ 1448 deps = [
1448 "//base:base_java", 1449 "//base:base_java",
1449 ] 1450 ]
1450 if (defined(invoker.deps)) { 1451 if (defined(invoker.deps)) {
1451 deps += invoker.deps 1452 deps += invoker.deps
1452 } 1453 }
1453 datadeps = [ 1454 datadeps = [
1454 "//tools/android/forwarder2", 1455 "//tools/android/forwarder2",
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1675 # TODO(GYP): implement this. 1676 # TODO(GYP): implement this.
1676 template("uiautomator_test") { 1677 template("uiautomator_test") {
1677 if (defined(invoker.testonly)) { 1678 if (defined(invoker.testonly)) {
1678 testonly = invoker.testonly 1679 testonly = invoker.testonly
1679 } 1680 }
1680 assert(target_name != "") 1681 assert(target_name != "")
1681 assert(invoker.deps != [] || true) 1682 assert(invoker.deps != [] || true)
1682 group(target_name) { 1683 group(target_name) {
1683 } 1684 }
1684 } 1685 }
OLDNEW
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | build/go/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698