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

Side by Side Diff: base/base.gyp

Issue 1648403002: Move base/prefs to components/prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « base/BUILD.gn ('k') | base/prefs/DEPS » ('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) 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 'dependencies': [ 305 'dependencies': [
306 'base', 306 'base',
307 '../testing/gtest.gyp:gtest', 307 '../testing/gtest.gyp:gtest',
308 ], 308 ],
309 'sources': [ 309 'sources': [
310 'message_loop/message_loop_test.cc', 310 'message_loop/message_loop_test.cc',
311 'message_loop/message_loop_test.h', 311 'message_loop/message_loop_test.h',
312 ], 312 ],
313 }, 313 },
314 { 314 {
315 'target_name': 'base_prefs',
316 'type': '<(component)',
317 'variables': {
318 'enable_wexit_time_destructors': 1,
319 'optimize': 'max',
320 },
321 'dependencies': [
322 'base',
323 ],
324 'export_dependent_settings': [
325 'base',
326 ],
327 'defines': [
328 'BASE_PREFS_IMPLEMENTATION',
329 ],
330 'sources': [
331 'prefs/base_prefs_export.h',
332 'prefs/default_pref_store.cc',
333 'prefs/default_pref_store.h',
334 'prefs/json_pref_store.cc',
335 'prefs/json_pref_store.h',
336 'prefs/overlay_user_pref_store.cc',
337 'prefs/overlay_user_pref_store.h',
338 'prefs/persistent_pref_store.h',
339 'prefs/pref_change_registrar.cc',
340 'prefs/pref_change_registrar.h',
341 'prefs/pref_filter.h',
342 'prefs/pref_member.cc',
343 'prefs/pref_member.h',
344 'prefs/pref_notifier.h',
345 'prefs/pref_notifier_impl.cc',
346 'prefs/pref_notifier_impl.h',
347 'prefs/pref_observer.h',
348 'prefs/pref_registry.cc',
349 'prefs/pref_registry.h',
350 'prefs/pref_registry_simple.cc',
351 'prefs/pref_registry_simple.h',
352 'prefs/pref_service.cc',
353 'prefs/pref_service.h',
354 'prefs/pref_service_factory.cc',
355 'prefs/pref_service_factory.h',
356 'prefs/pref_store.cc',
357 'prefs/pref_store.h',
358 'prefs/pref_value_map.cc',
359 'prefs/pref_value_map.h',
360 'prefs/pref_value_store.cc',
361 'prefs/pref_value_store.h',
362 'prefs/scoped_user_pref_update.cc',
363 'prefs/scoped_user_pref_update.h',
364 'prefs/value_map_pref_store.cc',
365 'prefs/value_map_pref_store.h',
366 'prefs/writeable_pref_store.h',
367 ],
368 'includes': [
369 '../build/android/increase_size_for_speed.gypi',
370 ],
371 },
372 {
373 'target_name': 'base_prefs_test_support',
374 'type': 'static_library',
375 'dependencies': [
376 'base',
377 'base_prefs',
378 '../testing/gmock.gyp:gmock',
379 ],
380 'sources': [
381 'prefs/mock_pref_change_callback.cc',
382 'prefs/pref_store_observer_mock.cc',
383 'prefs/pref_store_observer_mock.h',
384 'prefs/testing_pref_service.cc',
385 'prefs/testing_pref_service.h',
386 'prefs/testing_pref_store.cc',
387 'prefs/testing_pref_store.h',
388 ],
389 },
390 {
391 # This is the subset of files from base that should not be used with a 315 # This is the subset of files from base that should not be used with a
392 # dynamic library. Note that this library cannot depend on base because 316 # dynamic library. Note that this library cannot depend on base because
393 # base depends on base_static. 317 # base depends on base_static.
394 'target_name': 'base_static', 318 'target_name': 'base_static',
395 'type': 'static_library', 319 'type': 'static_library',
396 'variables': { 320 'variables': {
397 'enable_wexit_time_destructors': 1, 321 'enable_wexit_time_destructors': 1,
398 'optimize': 'max', 322 'optimize': 'max',
399 }, 323 },
400 'toolsets': ['host', 'target'], 324 'toolsets': ['host', 'target'],
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 'metrics/statistics_recorder_unittest.cc', 483 'metrics/statistics_recorder_unittest.cc',
560 'native_library_unittest.cc', 484 'native_library_unittest.cc',
561 'numerics/safe_numerics_unittest.cc', 485 'numerics/safe_numerics_unittest.cc',
562 'observer_list_unittest.cc', 486 'observer_list_unittest.cc',
563 'os_compat_android_unittest.cc', 487 'os_compat_android_unittest.cc',
564 'path_service_unittest.cc', 488 'path_service_unittest.cc',
565 'pickle_unittest.cc', 489 'pickle_unittest.cc',
566 'posix/file_descriptor_shuffle_unittest.cc', 490 'posix/file_descriptor_shuffle_unittest.cc',
567 'posix/unix_domain_socket_linux_unittest.cc', 491 'posix/unix_domain_socket_linux_unittest.cc',
568 'power_monitor/power_monitor_unittest.cc', 492 'power_monitor/power_monitor_unittest.cc',
569 'prefs/default_pref_store_unittest.cc',
570 'prefs/json_pref_store_unittest.cc',
571 'prefs/mock_pref_change_callback.h',
572 'prefs/overlay_user_pref_store_unittest.cc',
573 'prefs/pref_change_registrar_unittest.cc',
574 'prefs/pref_member_unittest.cc',
575 'prefs/pref_notifier_impl_unittest.cc',
576 'prefs/pref_service_unittest.cc',
577 'prefs/pref_value_map_unittest.cc',
578 'prefs/pref_value_store_unittest.cc',
579 'prefs/scoped_user_pref_update_unittest.cc',
580 'process/memory_unittest.cc', 493 'process/memory_unittest.cc',
581 'process/memory_unittest_mac.h', 494 'process/memory_unittest_mac.h',
582 'process/memory_unittest_mac.mm', 495 'process/memory_unittest_mac.mm',
583 'process/process_metrics_unittest.cc', 496 'process/process_metrics_unittest.cc',
584 'process/process_metrics_unittest_ios.cc', 497 'process/process_metrics_unittest_ios.cc',
585 'process/process_unittest.cc', 498 'process/process_unittest.cc',
586 'process/process_util_unittest.cc', 499 'process/process_util_unittest.cc',
587 'profiler/stack_sampling_profiler_unittest.cc', 500 'profiler/stack_sampling_profiler_unittest.cc',
588 'profiler/tracked_time_unittest.cc', 501 'profiler/tracked_time_unittest.cc',
589 'rand_util_unittest.cc', 502 'rand_util_unittest.cc',
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 'win/shortcut_unittest.cc', 584 'win/shortcut_unittest.cc',
672 'win/startup_information_unittest.cc', 585 'win/startup_information_unittest.cc',
673 'win/win_util_unittest.cc', 586 'win/win_util_unittest.cc',
674 'win/wrapped_window_proc_unittest.cc', 587 'win/wrapped_window_proc_unittest.cc',
675 '<@(trace_event_test_sources)', 588 '<@(trace_event_test_sources)',
676 ], 589 ],
677 'dependencies': [ 590 'dependencies': [
678 'base', 591 'base',
679 'base_i18n', 592 'base_i18n',
680 'base_message_loop_tests', 593 'base_message_loop_tests',
681 'base_prefs',
682 'base_prefs_test_support',
683 'base_static', 594 'base_static',
684 'run_all_unittests', 595 'run_all_unittests',
685 'test_support_base', 596 'test_support_base',
686 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions', 597 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions',
687 '../testing/gmock.gyp:gmock', 598 '../testing/gmock.gyp:gmock',
688 '../testing/gtest.gyp:gtest', 599 '../testing/gtest.gyp:gtest',
689 '../third_party/icu/icu.gyp:icui18n', 600 '../third_party/icu/icu.gyp:icui18n',
690 '../third_party/icu/icu.gyp:icuuc', 601 '../third_party/icu/icu.gyp:icuuc',
691 ], 602 ],
692 'includes': ['../build/nocompile.gypi'], 603 'includes': ['../build/nocompile.gypi'],
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1727 '../build/isolate.gypi', 1638 '../build/isolate.gypi',
1728 ], 1639 ],
1729 'sources': [ 1640 'sources': [
1730 'base_unittests.isolate', 1641 'base_unittests.isolate',
1731 ], 1642 ],
1732 }, 1643 },
1733 ], 1644 ],
1734 }], 1645 }],
1735 ], 1646 ],
1736 } 1647 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/prefs/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698