| Index: base/BUILD.gn
|
| diff --git a/base/BUILD.gn b/base/BUILD.gn
|
| index e4176811a8a5978cf1cbfb33883ba661b87b2eee..c63d3778ca4cd3ff5cf103efdd915dd78692bfe0 100644
|
| --- a/base/BUILD.gn
|
| +++ b/base/BUILD.gn
|
| @@ -42,7 +42,6 @@ component("base") {
|
| "android/jni_android.h",
|
| "android/jni_array.cc",
|
| "android/jni_array.h",
|
| - "android/jni_onload_delegate.h",
|
| "android/jni_registrar.cc",
|
| "android/jni_registrar.h",
|
| "android/jni_string.cc",
|
| @@ -676,6 +675,10 @@ component("base") {
|
| "trace_event/memory_dump_provider.h",
|
| "trace_event/process_memory_dump.cc",
|
| "trace_event/process_memory_dump.h",
|
| + "trace_event/process_memory_totals.cc",
|
| + "trace_event/process_memory_totals.h",
|
| + "trace_event/process_memory_totals_dump_provider.cc",
|
| + "trace_event/process_memory_totals_dump_provider.h",
|
| "trace_event/trace_event.h",
|
| "trace_event/trace_event_android.cc",
|
| "trace_event/trace_event_argument.cc",
|
| @@ -869,7 +872,7 @@ component("base") {
|
| ]
|
|
|
| # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| - cflags = [ "/wd4267" ]
|
| + configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
|
|
| libs = [
|
| "cfgmgr32.lib",
|
| @@ -1028,10 +1031,8 @@ component("i18n") {
|
| configs += [ "//build/config/compiler:optimize_max" ]
|
| }
|
|
|
| - if (is_win) {
|
| - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| - cflags = [ "/wd4267" ]
|
| - }
|
| + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| + configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
| }
|
|
|
| source_set("prefs") {
|
| @@ -1335,6 +1336,7 @@ test("base_unittests") {
|
| "timer/timer_unittest.cc",
|
| "tools_sanity_unittest.cc",
|
| "trace_event/memory_dump_manager_unittest.cc",
|
| + "trace_event/process_memory_totals_dump_provider_unittest.cc",
|
| "trace_event/trace_event_argument_unittest.cc",
|
| "trace_event/trace_event_memory_unittest.cc",
|
| "trace_event/trace_event_synthetic_delay_unittest.cc",
|
| @@ -1439,10 +1441,8 @@ test("base_unittests") {
|
| set_sources_assignment_filter(sources_assignment_filter)
|
| }
|
|
|
| - if (is_win) {
|
| - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| - cflags = [ "/wd4267" ]
|
| - }
|
| + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| + configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
| }
|
|
|
| if (is_android) {
|
|
|