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

Side by Side Diff: base/BUILD.gn

Issue 1291793007: GN(android): Add scripts & runtime logic for installing _managed apks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-managed-install
Patch Set: javadoc & faster managed_install.py when --device specified Created 5 years, 4 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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 1567 matching lines...) Expand 10 before | Expand all | Expand 10 after
1578 srcjar_deps = [ 1578 srcjar_deps = [
1579 ":base_android_java_enums_srcjar", 1579 ":base_android_java_enums_srcjar",
1580 ":base_native_libraries_gen", 1580 ":base_native_libraries_gen",
1581 ] 1581 ]
1582 1582
1583 deps = [ 1583 deps = [
1584 "//third_party/jsr-305:jsr_305_javalib", 1584 "//third_party/jsr-305:jsr_305_javalib",
1585 ] 1585 ]
1586 1586
1587 DEPRECATED_java_in_dir = "android/java/src" 1587 DEPRECATED_java_in_dir = "android/java/src"
1588 if (is_debug) {
1589 java_files = [
1590 "android/java/debug_src/org/chromium/base/ManagedInstall.java",
1591 "android/java/debug_src/org/chromium/base/Reflect.java",
1592 ]
1593 } else {
1594 java_files =
1595 [ "android/java/release_src/org/chromium/base/ManagedInstall.java" ]
Lei Zhang 2015/08/20 02:01:48 Can this be: java_files = [ "android/java/release
agrieve 2015/08/20 02:11:05 No - the files with the same name are different (i
Lei Zhang 2015/08/20 02:14:25 Whoops, n/m.
1596 }
1588 1597
1589 # A new version of NativeLibraries.java (with the actual correct values) 1598 # A new version of NativeLibraries.java (with the actual correct values)
1590 # will be created when creating an apk. 1599 # will be created when creating an apk.
1591 jar_excluded_patterns = [ 1600 jar_excluded_patterns = [
1592 "*/NativeLibraries.class", 1601 "*/NativeLibraries.class",
1593 "*/NativeLibraries##*.class", 1602 "*/NativeLibraries##*.class",
1594 ] 1603 ]
1595 } 1604 }
1596 1605
1597 # GYP: //base.gyp:base_javatests 1606 # GYP: //base.gyp:base_javatests
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1650 1659
1651 # GYP: //base.gyp:base_java_unittest_support 1660 # GYP: //base.gyp:base_java_unittest_support
1652 android_library("base_java_unittest_support") { 1661 android_library("base_java_unittest_support") {
1653 deps = [ 1662 deps = [
1654 ":base_java", 1663 ":base_java",
1655 ] 1664 ]
1656 java_files = 1665 java_files =
1657 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 1666 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
1658 } 1667 }
1659 } 1668 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698