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

Side by Side Diff: base/BUILD.gn

Issue 1318513003: [Android] Add gyp support for multidex. (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add @VisibleForTesting to ChromiumMultiDex.install 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
« no previous file with comments | « no previous file | base/android/java/src/org/chromium/base/BaseChromiumApplication.java » ('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 (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 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after
1584 } 1584 }
1585 1585
1586 # GYP: //base.gyp:base_java 1586 # GYP: //base.gyp:base_java
1587 android_library("base_java") { 1587 android_library("base_java") {
1588 srcjar_deps = [ 1588 srcjar_deps = [
1589 ":base_android_java_enums_srcjar", 1589 ":base_android_java_enums_srcjar",
1590 ":base_native_libraries_gen", 1590 ":base_native_libraries_gen",
1591 ] 1591 ]
1592 1592
1593 deps = [ 1593 deps = [
1594 "//third_party/android_tools:android_support_multidex_java",
1594 "//third_party/jsr-305:jsr_305_javalib", 1595 "//third_party/jsr-305:jsr_305_javalib",
1595 ] 1596 ]
1596 1597
1597 DEPRECATED_java_in_dir = "android/java/src" 1598 DEPRECATED_java_in_dir = "android/java/src"
1598 1599
1599 # A new version of NativeLibraries.java (with the actual correct values) 1600 # A new version of NativeLibraries.java (with the actual correct values)
1600 # will be created when creating an apk. 1601 # will be created when creating an apk.
1601 jar_excluded_patterns = [ 1602 jar_excluded_patterns = [
1602 "*/NativeLibraries.class", 1603 "*/NativeLibraries.class",
1603 "*/NativeLibraries##*.class", 1604 "*/NativeLibraries##*.class",
(...skipping 11 matching lines...) Expand all
1615 1616
1616 # GYP: //base.gyp:base_java_test_support 1617 # GYP: //base.gyp:base_java_test_support
1617 android_library("base_java_test_support") { 1618 android_library("base_java_test_support") {
1618 deps = [ 1619 deps = [
1619 ":base_java", 1620 ":base_java",
1620 "//testing/android/reporter:reporter_java", 1621 "//testing/android/reporter:reporter_java",
1621 ] 1622 ]
1622 DEPRECATED_java_in_dir = "test/android/javatests/src" 1623 DEPRECATED_java_in_dir = "test/android/javatests/src"
1623 } 1624 }
1624 1625
1626 # TODO(jbudorick): Remove this once we roll to robolectric 3.0 and pull
1627 # in the multidex shadow library. crbug.com/522043
1628 # GYP: //base.gyp:base_junit_test_support
1629 java_library("base_junit_test_support") {
1630 testonly = true
1631 java_files = [ "test/android/junit/src/org/chromium/base/test/shadows/Shadow MultiDex.java" ]
1632 deps = [
1633 "//third_party/android_tools:android_support_multidex_java",
1634 "//third_party/robolectric:android-all-4.3_r2-robolectric-0",
1635 "//third_party/robolectric:robolectric_java",
1636 ]
1637 }
1638
1625 # GYP: //base.gyp:base_junit_tests 1639 # GYP: //base.gyp:base_junit_tests
1626 junit_binary("base_junit_tests") { 1640 junit_binary("base_junit_tests") {
1627 java_files = [ "android/junit/src/org/chromium/base/LogTest.java" ] 1641 java_files = [
1642 "android/junit/src/org/chromium/base/BaseChromiumApplicationTest.java",
1643 "android/junit/src/org/chromium/base/LogTest.java",
1644 ]
1628 deps = [ 1645 deps = [
1629 ":base_java", 1646 ":base_java",
1630 ":base_java_test_support", 1647 ":base_java_test_support",
1648 ":base_junit_test_support",
1631 ] 1649 ]
1632 } 1650 }
1633 1651
1634 # GYP: //base.gyp:base_java_application_state 1652 # GYP: //base.gyp:base_java_application_state
1635 # GYP: //base.gyp:base_java_library_load_from_apk_status_codes 1653 # GYP: //base.gyp:base_java_library_load_from_apk_status_codes
1636 # GYP: //base.gyp:base_java_library_process_type 1654 # GYP: //base.gyp:base_java_library_process_type
1637 # GYP: //base.gyp:base_java_memory_pressure_level 1655 # GYP: //base.gyp:base_java_memory_pressure_level
1638 java_cpp_enum("base_android_java_enums_srcjar") { 1656 java_cpp_enum("base_android_java_enums_srcjar") {
1639 sources = [ 1657 sources = [
1640 "android/application_status_listener.h", 1658 "android/application_status_listener.h",
(...skipping 19 matching lines...) Expand all
1660 1678
1661 # GYP: //base.gyp:base_java_unittest_support 1679 # GYP: //base.gyp:base_java_unittest_support
1662 android_library("base_java_unittest_support") { 1680 android_library("base_java_unittest_support") {
1663 deps = [ 1681 deps = [
1664 ":base_java", 1682 ":base_java",
1665 ] 1683 ]
1666 java_files = 1684 java_files =
1667 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 1685 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
1668 } 1686 }
1669 } 1687 }
OLDNEW
« no previous file with comments | « no previous file | base/android/java/src/org/chromium/base/BaseChromiumApplication.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698