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

Unified Diff: base/BUILD.gn

Issue 1180693002: Update from https://crrev.com/333737 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | base/allocator/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 2170520185d2cf813a8159159305b64a280fbb6c..fea9027e4b3962a49035fac1da33170773630203 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -68,6 +68,8 @@ component("base") {
"allocator/type_profiler_control.h",
"android/animation_frame_time_histogram.cc",
"android/animation_frame_time_histogram.h",
+ "android/apk_assets.cc",
+ "android/apk_assets.h",
"android/application_status_listener.cc",
"android/application_status_listener.h",
"android/base_jni_onload.cc",
@@ -167,8 +169,6 @@ component("base") {
"callback_internal.cc",
"callback_internal.h",
"cancelable_callback.h",
- "chromeos/memory_pressure_monitor_chromeos.cc",
- "chromeos/memory_pressure_monitor_chromeos.h",
"command_line.cc",
"command_line.h",
"compiler_specific.h",
@@ -287,8 +287,6 @@ component("base") {
"mac/mac_util.mm",
"mac/mach_logging.cc",
"mac/mach_logging.h",
- "mac/memory_pressure_monitor_mac.cc",
- "mac/memory_pressure_monitor_mac.h",
"mac/objc_property_releaser.h",
"mac/objc_property_releaser.mm",
"mac/os_crash_dumps.cc",
@@ -373,6 +371,8 @@ component("base") {
"posix/file_descriptor_shuffle.cc",
"posix/global_descriptors.cc",
"posix/global_descriptors.h",
+ "posix/safe_strerror.cc",
+ "posix/safe_strerror.h",
"posix/unix_domain_socket_linux.cc",
"posix/unix_domain_socket_linux.h",
"power_monitor/power_monitor.cc",
@@ -410,8 +410,6 @@ component("base") {
"rand_util_win.cc",
"run_loop.cc",
"run_loop.h",
- "safe_strerror_posix.cc",
- "safe_strerror_posix.h",
"scoped_generic.h",
"scoped_native_library.cc",
"scoped_native_library.h",
@@ -603,8 +601,6 @@ component("base") {
"win/iat_patch_function.h",
"win/iunknown_impl.cc",
"win/iunknown_impl.h",
- "win/memory_pressure_monitor.cc",
- "win/memory_pressure_monitor.h",
"win/message_window.cc",
"win/message_window.h",
"win/metro.cc",
@@ -1098,7 +1094,6 @@ test("base_unittests") {
"callback_unittest.cc",
"callback_unittest.nc",
"cancelable_callback_unittest.cc",
- "chromeos/memory_pressure_monitor_chromeos_unittest.cc",
"command_line_unittest.cc",
"containers/adapters_unittest.cc",
"containers/hash_tables_unittest.cc",
@@ -1164,6 +1159,8 @@ test("base_unittests") {
"memory/aligned_memory_unittest.cc",
"memory/discardable_shared_memory_unittest.cc",
"memory/linked_ptr_unittest.cc",
+ "memory/memory_pressure_monitor_chromeos_unittest.cc",
+ "memory/memory_pressure_monitor_win_unittest.cc",
"memory/ref_counted_memory_unittest.cc",
"memory/ref_counted_unittest.cc",
"memory/scoped_ptr_unittest.cc",
@@ -1289,7 +1286,6 @@ test("base_unittests") {
"win/event_trace_provider_unittest.cc",
"win/i18n_unittest.cc",
"win/iunknown_impl_unittest.cc",
- "win/memory_pressure_monitor_unittest.cc",
"win/message_window_unittest.cc",
"win/object_watcher_unittest.cc",
"win/pe_image_unittest.cc",
@@ -1320,6 +1316,13 @@ test("base_unittests") {
"//third_party/icu",
]
+ data = [
+ "test/data/",
+
+ # TODO(dpranke): Remove when icu declares this directly.
+ "$root_out_dir/icudtl.dat",
+ ]
+
# Allow more direct string conversions on platforms with native utf8
# strings
if (is_mac || is_ios || is_chromeos) {
@@ -1331,6 +1334,7 @@ test("base_unittests") {
":base_java",
":base_java_unittest_support",
]
+ isolate_file = "base_unittests.isolate"
}
if (is_ios) {
@@ -1392,6 +1396,7 @@ if (is_android) {
generate_jni("base_jni_headers") {
sources = [
"android/java/src/org/chromium/base/AnimationFrameTimeHistogram.java",
+ "android/java/src/org/chromium/base/ApkAssets.java",
"android/java/src/org/chromium/base/ApplicationStatus.java",
"android/java/src/org/chromium/base/BuildInfo.java",
"android/java/src/org/chromium/base/CommandLine.java",
« no previous file with comments | « DEPS ('k') | base/allocator/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698