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

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

Issue 507523002: Add content_shell_apk target (and a bunch of its dependencies) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix PageTransitionTypes.template path Created 6 years, 3 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
« no previous file with comments | « build/android/gyp/write_build_config.py ('k') | 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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 assert(defined(invoker.build_config)) 515 assert(defined(invoker.build_config))
516 assert(defined(invoker.jar_path)) 516 assert(defined(invoker.jar_path))
517 assert(defined(invoker.dex_path)) 517 assert(defined(invoker.dex_path))
518 518
519 _java_files = [] 519 _java_files = []
520 if (defined(invoker.java_files)) { 520 if (defined(invoker.java_files)) {
521 _java_files = invoker.java_files 521 _java_files = invoker.java_files
522 } else { 522 } else {
523 _java_files_build_rel = exec_script( 523 _java_files_build_rel = exec_script(
524 "//build/android/gyp/find.py", 524 "//build/android/gyp/find.py",
525 ["--pattern", "*.java", rebase_path(invoker.DEPRECATED_java_in_dir, root _build_dir)], 525 [
526 "--pattern",
527 "*.java",
528 rebase_path(invoker.DEPRECATED_java_in_dir, root_build_dir)
529 ],
526 "list lines" 530 "list lines"
527 ) 531 )
528 _java_files = rebase_path(_java_files_build_rel, ".", root_build_dir) 532 _java_files = rebase_path(_java_files_build_rel, ".", root_build_dir)
529 } 533 }
530 534
531 _jar_path = invoker.jar_path 535 _jar_path = invoker.jar_path
532 _dex_path = invoker.dex_path 536 _dex_path = invoker.dex_path
533 537
534 _android_manifest = "//build/android/AndroidManifest.xml" 538 _android_manifest = "//build/android/AndroidManifest.xml"
535 if (defined(invoker.android_manifest)) { 539 if (defined(invoker.android_manifest)) {
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 "--dest", rebase_path(invoker.dest, root_build_dir), 678 "--dest", rebase_path(invoker.dest, root_build_dir),
675 ] 679 ]
676 if (defined(invoker.args)) { 680 if (defined(invoker.args)) {
677 args += invoker.args 681 args += invoker.args
678 } 682 }
679 if (defined(invoker.clear_dir) && invoker.clear_dir) { 683 if (defined(invoker.clear_dir) && invoker.clear_dir) {
680 args += ["--clear"] 684 args += ["--clear"]
681 } 685 }
682 } 686 }
683 } 687 }
OLDNEW
« no previous file with comments | « build/android/gyp/write_build_config.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698