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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 }], | 516 }], |
517 | 517 |
518 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { | 518 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { |
519 'enable_one_click_signin%': 1, | 519 'enable_one_click_signin%': 1, |
520 }], | 520 }], |
521 | 521 |
522 ['OS=="android"', { | 522 ['OS=="android"', { |
523 'enable_automation%': 0, | 523 'enable_automation%': 0, |
524 'enable_extensions%': 0, | 524 'enable_extensions%': 0, |
525 'enable_google_now%': 0, | 525 'enable_google_now%': 0, |
526 'enable_printing%': 0, | |
527 'enable_spellcheck%': 0, | 526 'enable_spellcheck%': 0, |
528 'enable_themes%': 0, | 527 'enable_themes%': 0, |
529 'proprietary_codecs%': 1, | 528 'proprietary_codecs%': 1, |
530 'remoting%': 0, | 529 'remoting%': 0, |
531 'arm_neon%': 0, | 530 'arm_neon%': 0, |
532 'arm_neon_optional%': 1, | 531 'arm_neon_optional%': 1, |
533 'native_discardable_memory%': 1, | 532 'native_discardable_memory%': 1, |
534 'native_memory_pressure_signals%': 1, | 533 'native_memory_pressure_signals%': 1, |
535 }], | 534 }], |
536 | 535 |
| 536 # Enable basic printing for Chrome for Android but disable printing |
| 537 # completely for WebView. |
| 538 ['OS=="android" and android_webview_build==0', { |
| 539 'enable_printing%': 2, |
| 540 }], |
| 541 ['OS=="android" and android_webview_build==1', { |
| 542 'enable_printing%': 0, |
| 543 }], |
| 544 |
537 # Enable autofill dialog for Android, Mac and Views-enabled platforms. | 545 # Enable autofill dialog for Android, Mac and Views-enabled platforms. |
538 ['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS
=="mac"', { | 546 ['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS
=="mac"', { |
539 'enable_autofill_dialog%': 1 | 547 'enable_autofill_dialog%': 1 |
540 }], | 548 }], |
541 | 549 |
542 ['OS=="android" and android_webview_build==0', { | 550 ['OS=="android" and android_webview_build==0', { |
543 'enable_webrtc%': 1, | 551 'enable_webrtc%': 1, |
544 }], | 552 }], |
545 | 553 |
546 # Disable WebRTC for building WebView as part of Android system. | 554 # Disable WebRTC for building WebView as part of Android system. |
(...skipping 4157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4704 # settings in target dicts. SYMROOT is a special case, because many other | 4712 # settings in target dicts. SYMROOT is a special case, because many other |
4705 # Xcode variables depend on it, including variables such as | 4713 # Xcode variables depend on it, including variables such as |
4706 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4714 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4707 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4715 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4708 # files to appear (when present) in the UI as actual files and not red | 4716 # files to appear (when present) in the UI as actual files and not red |
4709 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4717 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4710 # and therefore SYMROOT, needs to be set at the project level. | 4718 # and therefore SYMROOT, needs to be set at the project level. |
4711 'SYMROOT': '<(DEPTH)/xcodebuild', | 4719 'SYMROOT': '<(DEPTH)/xcodebuild', |
4712 }, | 4720 }, |
4713 } | 4721 } |
OLD | NEW |