| 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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 | 549 |
| 550 # Android OS includes support for proprietary codecs regardless of | 550 # Android OS includes support for proprietary codecs regardless of |
| 551 # building Chromium or Google Chrome. We also ship Google Chrome with | 551 # building Chromium or Google Chrome. We also ship Google Chrome with |
| 552 # proprietary codecs. | 552 # proprietary codecs. |
| 553 ['OS=="android" or branding=="Chrome"', { | 553 ['OS=="android" or branding=="Chrome"', { |
| 554 'proprietary_codecs%': 1, | 554 'proprietary_codecs%': 1, |
| 555 }, { | 555 }, { |
| 556 'proprietary_codecs%': 0, | 556 'proprietary_codecs%': 0, |
| 557 }], | 557 }], |
| 558 | 558 |
| 559 ['OS=="mac"', { |
| 560 'native_discardable_memory%': 1, |
| 561 'native_memory_pressure_signals%': 1, |
| 562 }], |
| 563 |
| 559 # Enable autofill dialog for Android, Mac and Views-enabled platforms. | 564 # Enable autofill dialog for Android, Mac and Views-enabled platforms. |
| 560 ['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS
=="mac"', { | 565 ['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS
=="mac"', { |
| 561 'enable_autofill_dialog%': 1 | 566 'enable_autofill_dialog%': 1 |
| 562 }], | 567 }], |
| 563 | 568 |
| 564 ['OS=="android" and android_webview_build==0', { | 569 ['OS=="android" and android_webview_build==0', { |
| 565 'enable_webrtc%': 1, | 570 'enable_webrtc%': 1, |
| 566 }], | 571 }], |
| 567 | 572 |
| 568 # Disable WebRTC for building WebView as part of Android system. | 573 # Disable WebRTC for building WebView as part of Android system. |
| (...skipping 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2047 }], | 2052 }], |
| 2048 ['input_speech==1', { | 2053 ['input_speech==1', { |
| 2049 'defines': ['ENABLE_INPUT_SPEECH'], | 2054 'defines': ['ENABLE_INPUT_SPEECH'], |
| 2050 }], | 2055 }], |
| 2051 ['notifications==1', { | 2056 ['notifications==1', { |
| 2052 'defines': ['ENABLE_NOTIFICATIONS'], | 2057 'defines': ['ENABLE_NOTIFICATIONS'], |
| 2053 }], | 2058 }], |
| 2054 ['enable_hidpi==1', { | 2059 ['enable_hidpi==1', { |
| 2055 'defines': ['ENABLE_HIDPI=1'], | 2060 'defines': ['ENABLE_HIDPI=1'], |
| 2056 }], | 2061 }], |
| 2062 ['native_discardable_memory==1', { |
| 2063 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
| 2064 }], |
| 2065 ['native_memory_pressure_signals==1', { |
| 2066 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
| 2067 }], |
| 2057 ['fastbuild!=0', { | 2068 ['fastbuild!=0', { |
| 2058 'xcode_settings': { | 2069 'xcode_settings': { |
| 2059 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 2070 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
| 2060 }, | 2071 }, |
| 2061 'conditions': [ | 2072 'conditions': [ |
| 2062 ['clang==1', { | 2073 ['clang==1', { |
| 2063 # Clang creates chubby debug information, which makes linking very | 2074 # Clang creates chubby debug information, which makes linking very |
| 2064 # slow. For now, don't create debug information with clang. See | 2075 # slow. For now, don't create debug information with clang. See |
| 2065 # http://crbug.com/70000 | 2076 # http://crbug.com/70000 |
| 2066 'conditions': [ | 2077 'conditions': [ |
| (...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3461 ['linux_use_gold_binary==1', { | 3472 ['linux_use_gold_binary==1', { |
| 3462 'ldflags': [ | 3473 'ldflags': [ |
| 3463 # Put our gold binary in the search path for the linker. | 3474 # Put our gold binary in the search path for the linker. |
| 3464 # We pass the path to gold to the compiler. gyp leaves | 3475 # We pass the path to gold to the compiler. gyp leaves |
| 3465 # unspecified what the cwd is when running the compiler, | 3476 # unspecified what the cwd is when running the compiler, |
| 3466 # so the normal gyp path-munging fails us. This hack | 3477 # so the normal gyp path-munging fails us. This hack |
| 3467 # gets the right path. | 3478 # gets the right path. |
| 3468 '-B<(PRODUCT_DIR)/../../third_party/gold', | 3479 '-B<(PRODUCT_DIR)/../../third_party/gold', |
| 3469 ], | 3480 ], |
| 3470 }], | 3481 }], |
| 3471 ['native_discardable_memory', { | |
| 3472 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], | |
| 3473 }], | |
| 3474 ['native_memory_pressure_signals', { | |
| 3475 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | |
| 3476 }], | |
| 3477 ], | 3482 ], |
| 3478 }, | 3483 }, |
| 3479 }], | 3484 }], |
| 3480 # FreeBSD-specific options; note that most FreeBSD options are set above, | 3485 # FreeBSD-specific options; note that most FreeBSD options are set above, |
| 3481 # with Linux. | 3486 # with Linux. |
| 3482 ['OS=="freebsd"', { | 3487 ['OS=="freebsd"', { |
| 3483 'target_defaults': { | 3488 'target_defaults': { |
| 3484 'ldflags': [ | 3489 'ldflags': [ |
| 3485 '-Wl,--no-keep-memory', | 3490 '-Wl,--no-keep-memory', |
| 3486 ], | 3491 ], |
| (...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4740 # settings in target dicts. SYMROOT is a special case, because many other | 4745 # settings in target dicts. SYMROOT is a special case, because many other |
| 4741 # Xcode variables depend on it, including variables such as | 4746 # Xcode variables depend on it, including variables such as |
| 4742 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4747 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4743 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4748 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4744 # files to appear (when present) in the UI as actual files and not red | 4749 # files to appear (when present) in the UI as actual files and not red |
| 4745 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4750 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4746 # and therefore SYMROOT, needs to be set at the project level. | 4751 # and therefore SYMROOT, needs to be set at the project level. |
| 4747 'SYMROOT': '<(DEPTH)/xcodebuild', | 4752 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4748 }, | 4753 }, |
| 4749 } | 4754 } |
| OLD | NEW |