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