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