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

Side by Side Diff: base/base.gypi

Issue 17106004: Add discardable memory emulation for non-android/mac platforms (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review feedback Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'base_target': 0, 8 'base_target': 0,
9 }, 9 },
10 'target_conditions': [ 10 'target_conditions': [
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 'mac/scoped_nsexception_enabler.mm', 279 'mac/scoped_nsexception_enabler.mm',
280 'mac/scoped_nsobject.h', 280 'mac/scoped_nsobject.h',
281 'mac/scoped_sending_event.h', 281 'mac/scoped_sending_event.h',
282 'mac/scoped_sending_event.mm', 282 'mac/scoped_sending_event.mm',
283 'mac/sdk_forward_declarations.h', 283 'mac/sdk_forward_declarations.h',
284 'memory/aligned_memory.cc', 284 'memory/aligned_memory.cc',
285 'memory/aligned_memory.h', 285 'memory/aligned_memory.h',
286 'memory/discardable_memory.cc', 286 'memory/discardable_memory.cc',
287 'memory/discardable_memory.h', 287 'memory/discardable_memory.h',
288 'memory/discardable_memory_android.cc', 288 'memory/discardable_memory_android.cc',
289 'memory/discardable_memory_emulated.cc',
289 'memory/discardable_memory_mac.cc', 290 'memory/discardable_memory_mac.cc',
291 'memory/discardable_memory_provider.cc',
292 'memory/discardable_memory_provider.h',
290 'memory/linked_ptr.h', 293 'memory/linked_ptr.h',
291 'memory/manual_constructor.h', 294 'memory/manual_constructor.h',
292 'memory/memory_pressure_listener.cc', 295 'memory/memory_pressure_listener.cc',
293 'memory/memory_pressure_listener.h', 296 'memory/memory_pressure_listener.h',
294 'memory/raw_scoped_refptr_mismatch_checker.h', 297 'memory/raw_scoped_refptr_mismatch_checker.h',
295 'memory/ref_counted.cc', 298 'memory/ref_counted.cc',
296 'memory/ref_counted.h', 299 'memory/ref_counted.h',
297 'memory/ref_counted_delete_on_message_loop.h', 300 'memory/ref_counted_delete_on_message_loop.h',
298 'memory/ref_counted_memory.cc', 301 'memory/ref_counted_memory.cc',
299 'memory/ref_counted_memory.h', 302 'memory/ref_counted_memory.h',
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 }, 841 },
839 ], 842 ],
840 ['OS != "openbsd" or >(nacl_untrusted_build)==1', { 843 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
841 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], 844 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
842 }, 845 },
843 ], 846 ],
844 ['OS != "win" or >(nacl_untrusted_build)==1', { 847 ['OS != "win" or >(nacl_untrusted_build)==1', {
845 'sources/': [ ['exclude', '^win/'] ], 848 'sources/': [ ['exclude', '^win/'] ],
846 }, 849 },
847 ], 850 ],
851 ['<(native_discardable_memory)==1', {
852 'sources!': [
853 'memory/discardable_memory_emulated.cc',
854 'memory/discardable_memory_provider.cc',
855 'memory/discardable_memory_provider.h',
856 ],
857 },
858 ],
848 ['OS != "android" or >(nacl_untrusted_build)==1', { 859 ['OS != "android" or >(nacl_untrusted_build)==1', {
849 'sources/': [ ['exclude', '^android/'] ], 860 'sources/': [ ['exclude', '^android/'] ],
850 }, 861 },
851 ], 862 ],
852 ['OS == "win" and >(nacl_untrusted_build)==0', { 863 ['OS == "win" and >(nacl_untrusted_build)==0', {
853 'include_dirs': [ 864 'include_dirs': [
854 '<(DEPTH)/third_party/wtl/include', 865 '<(DEPTH)/third_party/wtl/include',
855 ], 866 ],
856 'sources!': [ 867 'sources!': [
857 'event_recorder_stubs.cc', 868 'event_recorder_stubs.cc',
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 ['<(toolkit_uses_gtk) == 1', { 926 ['<(toolkit_uses_gtk) == 1', {
916 'sources!': [ 927 'sources!': [
917 'x11/x11_error_tracker.cc', 928 'x11/x11_error_tracker.cc',
918 ], 929 ],
919 }], 930 }],
920 ], 931 ],
921 }], 932 }],
922 ], 933 ],
923 }, 934 },
924 } 935 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698