OLD | NEW |
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 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 ] | 1056 ] |
1057 } | 1057 } |
1058 | 1058 |
1059 if (!is_ios) { | 1059 if (!is_ios) { |
1060 executable("build_utf8_validator_tables") { | 1060 executable("build_utf8_validator_tables") { |
1061 sources = [ | 1061 sources = [ |
1062 "i18n/build_utf8_validator_tables.cc", | 1062 "i18n/build_utf8_validator_tables.cc", |
1063 ] | 1063 ] |
1064 deps = [ | 1064 deps = [ |
1065 ":base", | 1065 ":base", |
| 1066 "//build/config/sanitizers:deps", |
1066 "//third_party/icu:icuuc", | 1067 "//third_party/icu:icuuc", |
1067 ] | 1068 ] |
1068 } | 1069 } |
1069 | 1070 |
1070 executable("check_example") { | 1071 executable("check_example") { |
1071 sources = [ | 1072 sources = [ |
1072 "check_example.cc", | 1073 "check_example.cc", |
1073 ] | 1074 ] |
1074 deps = [ | 1075 deps = [ |
1075 ":base", | 1076 ":base", |
| 1077 "//build/config/sanitizers:deps", |
1076 ] | 1078 ] |
1077 } | 1079 } |
1078 } | 1080 } |
1079 } | 1081 } |
1080 | 1082 |
1081 component("prefs") { | 1083 component("prefs") { |
1082 sources = [ | 1084 sources = [ |
1083 "prefs/default_pref_store.cc", | 1085 "prefs/default_pref_store.cc", |
1084 "prefs/default_pref_store.h", | 1086 "prefs/default_pref_store.h", |
1085 "prefs/json_pref_store.cc", | 1087 "prefs/json_pref_store.cc", |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1179 ] | 1181 ] |
1180 ldflags = [ | 1182 ldflags = [ |
1181 "/DELAYLOAD:cfgmgr32.dll", | 1183 "/DELAYLOAD:cfgmgr32.dll", |
1182 "/DELAYLOAD:shell32.dll", | 1184 "/DELAYLOAD:shell32.dll", |
1183 "/SUBSYSTEM:WINDOWS", | 1185 "/SUBSYSTEM:WINDOWS", |
1184 ] | 1186 ] |
1185 libs = [ | 1187 libs = [ |
1186 "cfgmgr32.lib", | 1188 "cfgmgr32.lib", |
1187 "shell32.lib", | 1189 "shell32.lib", |
1188 ] | 1190 ] |
| 1191 deps = [ |
| 1192 "//build/config/sanitizers:deps", |
| 1193 ] |
1189 } | 1194 } |
1190 } | 1195 } |
1191 | 1196 |
1192 # TODO(GYP): Delete this after we've converted everything to GN. | 1197 # TODO(GYP): Delete this after we've converted everything to GN. |
1193 # The _run targets exist only for compatibility w/ GYP. | 1198 # The _run targets exist only for compatibility w/ GYP. |
1194 group("base_unittests_run") { | 1199 group("base_unittests_run") { |
1195 testonly = true | 1200 testonly = true |
1196 deps = [ | 1201 deps = [ |
1197 ":base_unittests", | 1202 ":base_unittests", |
1198 ] | 1203 ] |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1571 } | 1576 } |
1572 | 1577 |
1573 # GYP: //base.gyp:base_java | 1578 # GYP: //base.gyp:base_java |
1574 android_library("base_java") { | 1579 android_library("base_java") { |
1575 srcjar_deps = [ | 1580 srcjar_deps = [ |
1576 ":base_android_java_enums_srcjar", | 1581 ":base_android_java_enums_srcjar", |
1577 ":base_native_libraries_gen", | 1582 ":base_native_libraries_gen", |
1578 ] | 1583 ] |
1579 | 1584 |
1580 deps = [ | 1585 deps = [ |
| 1586 "//third_party/android_tools:android_support_multidex_java", |
1581 "//third_party/jsr-305:jsr_305_javalib", | 1587 "//third_party/jsr-305:jsr_305_javalib", |
1582 ] | 1588 ] |
1583 | 1589 |
1584 DEPRECATED_java_in_dir = "android/java/src" | 1590 DEPRECATED_java_in_dir = "android/java/src" |
1585 | 1591 |
1586 # A new version of NativeLibraries.java (with the actual correct values) | 1592 # A new version of NativeLibraries.java (with the actual correct values) |
1587 # will be created when creating an apk. | 1593 # will be created when creating an apk. |
1588 jar_excluded_patterns = [ | 1594 jar_excluded_patterns = [ |
1589 "*/NativeLibraries.class", | 1595 "*/NativeLibraries.class", |
1590 "*/NativeLibraries##*.class", | 1596 "*/NativeLibraries##*.class", |
(...skipping 11 matching lines...) Expand all Loading... |
1602 | 1608 |
1603 # GYP: //base.gyp:base_java_test_support | 1609 # GYP: //base.gyp:base_java_test_support |
1604 android_library("base_java_test_support") { | 1610 android_library("base_java_test_support") { |
1605 deps = [ | 1611 deps = [ |
1606 ":base_java", | 1612 ":base_java", |
1607 "//testing/android/reporter:reporter_java", | 1613 "//testing/android/reporter:reporter_java", |
1608 ] | 1614 ] |
1609 DEPRECATED_java_in_dir = "test/android/javatests/src" | 1615 DEPRECATED_java_in_dir = "test/android/javatests/src" |
1610 } | 1616 } |
1611 | 1617 |
| 1618 # TODO(jbudorick): Remove this once we roll to robolectric 3.0 and pull |
| 1619 # in the multidex shadow library. crbug.com/522043 |
| 1620 # GYP: //base.gyp:base_junit_test_support |
| 1621 java_library("base_junit_test_support") { |
| 1622 testonly = true |
| 1623 java_files = [ "test/android/junit/src/org/chromium/base/test/shadows/Shadow
MultiDex.java" ] |
| 1624 deps = [ |
| 1625 "//third_party/android_tools:android_support_multidex_java", |
| 1626 "//third_party/robolectric:android-all-4.3_r2-robolectric-0", |
| 1627 "//third_party/robolectric:robolectric_java", |
| 1628 ] |
| 1629 } |
| 1630 |
1612 # GYP: //base.gyp:base_junit_tests | 1631 # GYP: //base.gyp:base_junit_tests |
1613 junit_binary("base_junit_tests") { | 1632 junit_binary("base_junit_tests") { |
1614 java_files = [ "android/junit/src/org/chromium/base/LogTest.java" ] | 1633 java_files = [ |
| 1634 "android/junit/src/org/chromium/base/BaseChromiumApplicationTest.java", |
| 1635 "android/junit/src/org/chromium/base/LogTest.java", |
| 1636 ] |
1615 deps = [ | 1637 deps = [ |
1616 ":base_java", | 1638 ":base_java", |
1617 ":base_java_test_support", | 1639 ":base_java_test_support", |
| 1640 ":base_junit_test_support", |
1618 ] | 1641 ] |
1619 } | 1642 } |
1620 | 1643 |
1621 # GYP: //base.gyp:base_java_application_state | 1644 # GYP: //base.gyp:base_java_application_state |
1622 # GYP: //base.gyp:base_java_library_load_from_apk_status_codes | 1645 # GYP: //base.gyp:base_java_library_load_from_apk_status_codes |
1623 # GYP: //base.gyp:base_java_library_process_type | 1646 # GYP: //base.gyp:base_java_library_process_type |
1624 # GYP: //base.gyp:base_java_memory_pressure_level | 1647 # GYP: //base.gyp:base_java_memory_pressure_level |
1625 java_cpp_enum("base_android_java_enums_srcjar") { | 1648 java_cpp_enum("base_android_java_enums_srcjar") { |
1626 sources = [ | 1649 sources = [ |
1627 "android/application_status_listener.h", | 1650 "android/application_status_listener.h", |
(...skipping 19 matching lines...) Expand all Loading... |
1647 | 1670 |
1648 # GYP: //base.gyp:base_java_unittest_support | 1671 # GYP: //base.gyp:base_java_unittest_support |
1649 android_library("base_java_unittest_support") { | 1672 android_library("base_java_unittest_support") { |
1650 deps = [ | 1673 deps = [ |
1651 ":base_java", | 1674 ":base_java", |
1652 ] | 1675 ] |
1653 java_files = | 1676 java_files = |
1654 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 1677 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
1655 } | 1678 } |
1656 } | 1679 } |
OLD | NEW |