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 # Set to true if platform natively supports discarable memory. | |
jamesr
2013/07/10 20:28:22
typo "discarable" -> "discardable".
Saying "Set t
rmcilroy
2013/07/11 08:57:27
Done.
| |
422 'native_discardable_memory%': 0, | |
423 # Set to true if platform sends memory pressure signals natively. | |
jamesr
2013/07/10 20:28:22
blank line before this
rmcilroy
2013/07/11 08:57:27
Done.
| |
424 'native_memory_pressure_signals%': 0, | |
425 | |
421 'spdy_proxy_auth_origin%' : '', | 426 'spdy_proxy_auth_origin%' : '', |
422 'spdy_proxy_auth_property%' : '', | 427 'spdy_proxy_auth_property%' : '', |
423 'spdy_proxy_auth_value%' : '', | 428 'spdy_proxy_auth_value%' : '', |
424 | 429 |
425 'conditions': [ | 430 'conditions': [ |
426 # A flag for POSIX platforms | 431 # A flag for POSIX platforms |
427 ['OS=="win"', { | 432 ['OS=="win"', { |
428 'os_posix%': 0, | 433 'os_posix%': 0, |
429 }, { | 434 }, { |
430 'os_posix%': 1, | 435 'os_posix%': 1, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
506 'enable_automation%': 0, | 511 'enable_automation%': 0, |
507 'enable_extensions%': 0, | 512 'enable_extensions%': 0, |
508 'enable_google_now%': 0, | 513 'enable_google_now%': 0, |
509 'enable_language_detection%': 1, | 514 'enable_language_detection%': 1, |
510 'enable_printing%': 0, | 515 'enable_printing%': 0, |
511 'enable_themes%': 0, | 516 'enable_themes%': 0, |
512 'proprietary_codecs%': 1, | 517 'proprietary_codecs%': 1, |
513 'remoting%': 0, | 518 'remoting%': 0, |
514 'arm_neon%': 0, | 519 'arm_neon%': 0, |
515 'arm_neon_optional%': 1, | 520 'arm_neon_optional%': 1, |
521 'native_discardable_memory%': 1, | |
522 'native_memory_pressure_signals%': 1, | |
516 }], | 523 }], |
517 | 524 |
518 # Enable autofill dialog for Android and Views-enabled platforms for now . | 525 # 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"', { | 526 ['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS =="mac"', { |
520 'enable_autofill_dialog%': 1 | 527 'enable_autofill_dialog%': 1 |
521 }], | 528 }], |
522 | 529 |
523 ['OS=="android" and android_webview_build==0', { | 530 ['OS=="android" and android_webview_build==0', { |
524 'enable_webrtc%': 1, | 531 'enable_webrtc%': 1, |
525 }], | 532 }], |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
824 'gyp_managed_install%': 0, | 831 'gyp_managed_install%': 0, |
825 'create_standalone_apk%': 1, | 832 'create_standalone_apk%': 1, |
826 'google_tv%': '<(google_tv)', | 833 'google_tv%': '<(google_tv)', |
827 'enable_app_list%': '<(enable_app_list)', | 834 'enable_app_list%': '<(enable_app_list)', |
828 'use_default_render_theme%': '<(use_default_render_theme)', | 835 'use_default_render_theme%': '<(use_default_render_theme)', |
829 'enable_settings_app%': '<(enable_settings_app)', | 836 'enable_settings_app%': '<(enable_settings_app)', |
830 'google_api_key%': '<(google_api_key)', | 837 'google_api_key%': '<(google_api_key)', |
831 'google_default_client_id%': '<(google_default_client_id)', | 838 'google_default_client_id%': '<(google_default_client_id)', |
832 'google_default_client_secret%': '<(google_default_client_secret)', | 839 'google_default_client_secret%': '<(google_default_client_secret)', |
833 'enable_managed_users%': '<(enable_managed_users)', | 840 'enable_managed_users%': '<(enable_managed_users)', |
841 'native_discardable_memory%': '<(native_discardable_memory)', | |
842 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)', | |
834 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', | 843 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', |
835 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', | 844 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', |
836 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', | 845 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', |
837 | 846 |
838 # Use system mesa instead of bundled one. | 847 # Use system mesa instead of bundled one. |
839 'use_system_mesa%': 0, | 848 'use_system_mesa%': 0, |
840 | 849 |
841 # Use system nspr instead of the bundled one. | 850 # Use system nspr instead of the bundled one. |
842 'use_system_nspr%': 0, | 851 'use_system_nspr%': 0, |
843 | 852 |
(...skipping 2559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3403 ['linux_use_gold_binary==1', { | 3412 ['linux_use_gold_binary==1', { |
3404 'ldflags': [ | 3413 'ldflags': [ |
3405 # Put our gold binary in the search path for the linker. | 3414 # Put our gold binary in the search path for the linker. |
3406 # We pass the path to gold to the compiler. gyp leaves | 3415 # We pass the path to gold to the compiler. gyp leaves |
3407 # unspecified what the cwd is when running the compiler, | 3416 # unspecified what the cwd is when running the compiler, |
3408 # so the normal gyp path-munging fails us. This hack | 3417 # so the normal gyp path-munging fails us. This hack |
3409 # gets the right path. | 3418 # gets the right path. |
3410 '-B<(PRODUCT_DIR)/../../third_party/gold', | 3419 '-B<(PRODUCT_DIR)/../../third_party/gold', |
3411 ], | 3420 ], |
3412 }], | 3421 }], |
3422 ['native_discardable_memory', { | |
3423 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], | |
3424 }], | |
3425 ['native_memory_pressure_signals', { | |
3426 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | |
3427 }], | |
3413 ], | 3428 ], |
3414 }, | 3429 }, |
3415 }], | 3430 }], |
3416 # FreeBSD-specific options; note that most FreeBSD options are set above, | 3431 # FreeBSD-specific options; note that most FreeBSD options are set above, |
3417 # with Linux. | 3432 # with Linux. |
3418 ['OS=="freebsd"', { | 3433 ['OS=="freebsd"', { |
3419 'target_defaults': { | 3434 'target_defaults': { |
3420 'ldflags': [ | 3435 'ldflags': [ |
3421 '-Wl,--no-keep-memory', | 3436 '-Wl,--no-keep-memory', |
3422 ], | 3437 ], |
(...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 | 4647 # settings in target dicts. SYMROOT is a special case, because many other |
4633 # Xcode variables depend on it, including variables such as | 4648 # Xcode variables depend on it, including variables such as |
4634 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4649 # 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 | 4650 # 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 | 4651 # 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, | 4652 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4638 # and therefore SYMROOT, needs to be set at the project level. | 4653 # and therefore SYMROOT, needs to be set at the project level. |
4639 'SYMROOT': '<(DEPTH)/xcodebuild', | 4654 'SYMROOT': '<(DEPTH)/xcodebuild', |
4640 }, | 4655 }, |
4641 } | 4656 } |
OLD | NEW |