OLD | NEW |
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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 # True if isolate should fail if the isolate files refer to files | 411 # True if isolate should fail if the isolate files refer to files |
412 # that are missing. | 412 # that are missing. |
413 'test_isolation_fail_on_missing': 0, | 413 'test_isolation_fail_on_missing': 0, |
414 | 414 |
415 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86', | 415 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86', |
416 'wix_path%': '<(DEPTH)/third_party/wix', | 416 'wix_path%': '<(DEPTH)/third_party/wix', |
417 | 417 |
418 # Managed users are enabled by default. | 418 # Managed users are enabled by default. |
419 'enable_managed_users%': 1, | 419 'enable_managed_users%': 1, |
420 | 420 |
| 421 # Platform natively supports discardable memory. |
| 422 'native_discardable_memory%': 0, |
| 423 |
| 424 # Platform sends memory pressure signals natively. |
| 425 'native_memory_pressure_signals%': 0, |
| 426 |
421 'spdy_proxy_auth_origin%' : '', | 427 'spdy_proxy_auth_origin%' : '', |
422 'spdy_proxy_auth_property%' : '', | 428 'spdy_proxy_auth_property%' : '', |
423 'spdy_proxy_auth_value%' : '', | 429 'spdy_proxy_auth_value%' : '', |
424 | 430 |
425 'conditions': [ | 431 'conditions': [ |
426 # A flag for POSIX platforms | 432 # A flag for POSIX platforms |
427 ['OS=="win"', { | 433 ['OS=="win"', { |
428 'os_posix%': 0, | 434 'os_posix%': 0, |
429 }, { | 435 }, { |
430 'os_posix%': 1, | 436 'os_posix%': 1, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 'enable_automation%': 0, | 512 'enable_automation%': 0, |
507 'enable_extensions%': 0, | 513 'enable_extensions%': 0, |
508 'enable_google_now%': 0, | 514 'enable_google_now%': 0, |
509 'enable_language_detection%': 1, | 515 'enable_language_detection%': 1, |
510 'enable_printing%': 0, | 516 'enable_printing%': 0, |
511 'enable_themes%': 0, | 517 'enable_themes%': 0, |
512 'proprietary_codecs%': 1, | 518 'proprietary_codecs%': 1, |
513 'remoting%': 0, | 519 'remoting%': 0, |
514 'arm_neon%': 0, | 520 'arm_neon%': 0, |
515 'arm_neon_optional%': 1, | 521 'arm_neon_optional%': 1, |
| 522 'native_discardable_memory%': 1, |
| 523 'native_memory_pressure_signals%': 1, |
516 }], | 524 }], |
517 | 525 |
518 # Enable autofill dialog for Android and Views-enabled platforms for now
. | 526 # Enable autofill dialog for Android and Views-enabled platforms for now
. |
519 ['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS
=="mac"', { | 527 ['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS
=="mac"', { |
520 'enable_autofill_dialog%': 1 | 528 'enable_autofill_dialog%': 1 |
521 }], | 529 }], |
522 | 530 |
523 ['OS=="android" and android_webview_build==0', { | 531 ['OS=="android" and android_webview_build==0', { |
524 'enable_webrtc%': 1, | 532 'enable_webrtc%': 1, |
525 }], | 533 }], |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
824 'gyp_managed_install%': 0, | 832 'gyp_managed_install%': 0, |
825 'create_standalone_apk%': 1, | 833 'create_standalone_apk%': 1, |
826 'google_tv%': '<(google_tv)', | 834 'google_tv%': '<(google_tv)', |
827 'enable_app_list%': '<(enable_app_list)', | 835 'enable_app_list%': '<(enable_app_list)', |
828 'use_default_render_theme%': '<(use_default_render_theme)', | 836 'use_default_render_theme%': '<(use_default_render_theme)', |
829 'enable_settings_app%': '<(enable_settings_app)', | 837 'enable_settings_app%': '<(enable_settings_app)', |
830 'google_api_key%': '<(google_api_key)', | 838 'google_api_key%': '<(google_api_key)', |
831 'google_default_client_id%': '<(google_default_client_id)', | 839 'google_default_client_id%': '<(google_default_client_id)', |
832 'google_default_client_secret%': '<(google_default_client_secret)', | 840 'google_default_client_secret%': '<(google_default_client_secret)', |
833 'enable_managed_users%': '<(enable_managed_users)', | 841 'enable_managed_users%': '<(enable_managed_users)', |
| 842 'native_discardable_memory%': '<(native_discardable_memory)', |
| 843 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)', |
834 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', | 844 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', |
835 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', | 845 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', |
836 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', | 846 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', |
837 | 847 |
838 # Use system mesa instead of bundled one. | 848 # Use system mesa instead of bundled one. |
839 'use_system_mesa%': 0, | 849 'use_system_mesa%': 0, |
840 | 850 |
841 # Use system nspr instead of the bundled one. | 851 # Use system nspr instead of the bundled one. |
842 'use_system_nspr%': 0, | 852 'use_system_nspr%': 0, |
843 | 853 |
(...skipping 2559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3403 ['linux_use_gold_binary==1', { | 3413 ['linux_use_gold_binary==1', { |
3404 'ldflags': [ | 3414 'ldflags': [ |
3405 # Put our gold binary in the search path for the linker. | 3415 # Put our gold binary in the search path for the linker. |
3406 # We pass the path to gold to the compiler. gyp leaves | 3416 # We pass the path to gold to the compiler. gyp leaves |
3407 # unspecified what the cwd is when running the compiler, | 3417 # unspecified what the cwd is when running the compiler, |
3408 # so the normal gyp path-munging fails us. This hack | 3418 # so the normal gyp path-munging fails us. This hack |
3409 # gets the right path. | 3419 # gets the right path. |
3410 '-B<(PRODUCT_DIR)/../../third_party/gold', | 3420 '-B<(PRODUCT_DIR)/../../third_party/gold', |
3411 ], | 3421 ], |
3412 }], | 3422 }], |
| 3423 ['native_discardable_memory', { |
| 3424 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
| 3425 }], |
| 3426 ['native_memory_pressure_signals', { |
| 3427 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
| 3428 }], |
3413 ], | 3429 ], |
3414 }, | 3430 }, |
3415 }], | 3431 }], |
3416 # FreeBSD-specific options; note that most FreeBSD options are set above, | 3432 # FreeBSD-specific options; note that most FreeBSD options are set above, |
3417 # with Linux. | 3433 # with Linux. |
3418 ['OS=="freebsd"', { | 3434 ['OS=="freebsd"', { |
3419 'target_defaults': { | 3435 'target_defaults': { |
3420 'ldflags': [ | 3436 'ldflags': [ |
3421 '-Wl,--no-keep-memory', | 3437 '-Wl,--no-keep-memory', |
3422 ], | 3438 ], |
(...skipping 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4632 # settings in target dicts. SYMROOT is a special case, because many other | 4648 # settings in target dicts. SYMROOT is a special case, because many other |
4633 # Xcode variables depend on it, including variables such as | 4649 # Xcode variables depend on it, including variables such as |
4634 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4650 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4635 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4651 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4636 # files to appear (when present) in the UI as actual files and not red | 4652 # files to appear (when present) in the UI as actual files and not red |
4637 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4653 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4638 # and therefore SYMROOT, needs to be set at the project level. | 4654 # and therefore SYMROOT, needs to be set at the project level. |
4639 'SYMROOT': '<(DEPTH)/xcodebuild', | 4655 'SYMROOT': '<(DEPTH)/xcodebuild', |
4640 }, | 4656 }, |
4641 } | 4657 } |
OLD | NEW |