| 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 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 # Whether we're building the cast (chromecast) shell | 24 # Whether we're building the cast (chromecast) shell |
| 25 'chromecast%': 0, | 25 'chromecast%': 0, |
| 26 | 26 |
| 27 # Whether or not we are using the Aura windowing framework. | 27 # Whether or not we are using the Aura windowing framework. |
| 28 'use_aura%': 0, | 28 'use_aura%': 0, |
| 29 | 29 |
| 30 # Whether or not we are building the Ash shell. | 30 # Whether or not we are building the Ash shell. |
| 31 'use_ash%': 0, | 31 'use_ash%': 0, |
| 32 | 32 |
| 33 # Whether or not we are building the Athena shell. |
| 34 'use_athena%': 0, |
| 35 |
| 33 # Whether or not we are using CRAS, the ChromeOS Audio Server. | 36 # Whether or not we are using CRAS, the ChromeOS Audio Server. |
| 34 'use_cras%': 0, | 37 'use_cras%': 0, |
| 35 | 38 |
| 36 # Use a raw surface abstraction. | 39 # Use a raw surface abstraction. |
| 37 'use_ozone%': 0, | 40 'use_ozone%': 0, |
| 38 | 41 |
| 39 # Configure the build for small devices. See crbug.com/318413 | 42 # Configure the build for small devices. See crbug.com/318413 |
| 40 'embedded%': 0, | 43 'embedded%': 0, |
| 41 | 44 |
| 42 'conditions': [ | 45 'conditions': [ |
| 43 # Compute the architecture that we're building on. | 46 # Compute the architecture that we're building on. |
| 44 ['OS=="win" or OS=="mac" or OS=="ios"', { | 47 ['OS=="win" or OS=="mac" or OS=="ios"', { |
| 45 'host_arch%': 'ia32', | 48 'host_arch%': 'ia32', |
| 46 }, { | 49 }, { |
| 47 'host_arch%': '<!pymod_do_main(detect_host_arch)', | 50 'host_arch%': '<!pymod_do_main(detect_host_arch)', |
| 48 }], | 51 }], |
| 49 ], | 52 ], |
| 50 }, | 53 }, |
| 51 # Copy conditionally-set variables out one scope. | 54 # Copy conditionally-set variables out one scope. |
| 52 'chromeos%': '<(chromeos)', | 55 'chromeos%': '<(chromeos)', |
| 53 'chromecast%': '<(chromecast)', | 56 'chromecast%': '<(chromecast)', |
| 54 'use_aura%': '<(use_aura)', | 57 'use_aura%': '<(use_aura)', |
| 55 'use_ash%': '<(use_ash)', | 58 'use_ash%': '<(use_ash)', |
| 59 'use_athena%': '<(use_athena)', |
| 56 'use_cras%': '<(use_cras)', | 60 'use_cras%': '<(use_cras)', |
| 57 'use_ozone%': '<(use_ozone)', | 61 'use_ozone%': '<(use_ozone)', |
| 58 'embedded%': '<(embedded)', | 62 'embedded%': '<(embedded)', |
| 59 'host_arch%': '<(host_arch)', | 63 'host_arch%': '<(host_arch)', |
| 60 | 64 |
| 61 # Whether we are using Views Toolkit | 65 # Whether we are using Views Toolkit |
| 62 'toolkit_views%': 0, | 66 'toolkit_views%': 0, |
| 63 | 67 |
| 64 # Use OpenSSL instead of NSS as the underlying SSL and crypto | 68 # Use OpenSSL instead of NSS as the underlying SSL and crypto |
| 65 # implementation. Certificate verification will in most cases be | 69 # implementation. Certificate verification will in most cases be |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 'target_arch%': '<(host_arch)', | 130 'target_arch%': '<(host_arch)', |
| 127 }], | 131 }], |
| 128 ], | 132 ], |
| 129 }, | 133 }, |
| 130 # Copy conditionally-set variables out one scope. | 134 # Copy conditionally-set variables out one scope. |
| 131 'chromeos%': '<(chromeos)', | 135 'chromeos%': '<(chromeos)', |
| 132 'chromecast%': '<(chromecast)', | 136 'chromecast%': '<(chromecast)', |
| 133 'desktop_linux%': '<(desktop_linux)', | 137 'desktop_linux%': '<(desktop_linux)', |
| 134 'use_aura%': '<(use_aura)', | 138 'use_aura%': '<(use_aura)', |
| 135 'use_ash%': '<(use_ash)', | 139 'use_ash%': '<(use_ash)', |
| 140 'use_athena%': '<(use_athena)', |
| 136 'use_cras%': '<(use_cras)', | 141 'use_cras%': '<(use_cras)', |
| 137 'use_ozone%': '<(use_ozone)', | 142 'use_ozone%': '<(use_ozone)', |
| 138 'embedded%': '<(embedded)', | 143 'embedded%': '<(embedded)', |
| 139 'use_openssl%': '<(use_openssl)', | 144 'use_openssl%': '<(use_openssl)', |
| 140 'use_openssl_certs%': '<(use_openssl_certs)', | 145 'use_openssl_certs%': '<(use_openssl_certs)', |
| 141 'enable_viewport%': '<(enable_viewport)', | 146 'enable_viewport%': '<(enable_viewport)', |
| 142 'enable_hidpi%': '<(enable_hidpi)', | 147 'enable_hidpi%': '<(enable_hidpi)', |
| 143 'buildtype%': '<(buildtype)', | 148 'buildtype%': '<(buildtype)', |
| 144 'branding%': '<(branding)', | 149 'branding%': '<(branding)', |
| 145 'host_arch%': '<(host_arch)', | 150 'host_arch%': '<(host_arch)', |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 'chromeos%': '<(chromeos)', | 269 'chromeos%': '<(chromeos)', |
| 265 'chromecast%': '<(chromecast)', | 270 'chromecast%': '<(chromecast)', |
| 266 'host_arch%': '<(host_arch)', | 271 'host_arch%': '<(host_arch)', |
| 267 'target_arch%': '<(target_arch)', | 272 'target_arch%': '<(target_arch)', |
| 268 'target_subarch%': '<(target_subarch)', | 273 'target_subarch%': '<(target_subarch)', |
| 269 'mips_arch_variant%': '<(mips_arch_variant)', | 274 'mips_arch_variant%': '<(mips_arch_variant)', |
| 270 'toolkit_views%': '<(toolkit_views)', | 275 'toolkit_views%': '<(toolkit_views)', |
| 271 'desktop_linux%': '<(desktop_linux)', | 276 'desktop_linux%': '<(desktop_linux)', |
| 272 'use_aura%': '<(use_aura)', | 277 'use_aura%': '<(use_aura)', |
| 273 'use_ash%': '<(use_ash)', | 278 'use_ash%': '<(use_ash)', |
| 279 'use_athena%': '<(use_athena)', |
| 274 'use_cras%': '<(use_cras)', | 280 'use_cras%': '<(use_cras)', |
| 275 'use_ozone%': '<(use_ozone)', | 281 'use_ozone%': '<(use_ozone)', |
| 276 'use_ozone_evdev%': '<(use_ozone_evdev)', | 282 'use_ozone_evdev%': '<(use_ozone_evdev)', |
| 277 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 283 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
| 278 'embedded%': '<(embedded)', | 284 'embedded%': '<(embedded)', |
| 279 'use_openssl%': '<(use_openssl)', | 285 'use_openssl%': '<(use_openssl)', |
| 280 'use_openssl_certs%': '<(use_openssl_certs)', | 286 'use_openssl_certs%': '<(use_openssl_certs)', |
| 281 'enable_viewport%': '<(enable_viewport)', | 287 'enable_viewport%': '<(enable_viewport)', |
| 282 'enable_hidpi%': '<(enable_hidpi)', | 288 'enable_hidpi%': '<(enable_hidpi)', |
| 283 'android_webview_build%': '<(android_webview_build)', | 289 'android_webview_build%': '<(android_webview_build)', |
| (...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1054 'branding%': '<(branding)', | 1060 'branding%': '<(branding)', |
| 1055 'buildtype%': '<(buildtype)', | 1061 'buildtype%': '<(buildtype)', |
| 1056 'target_arch%': '<(target_arch)', | 1062 'target_arch%': '<(target_arch)', |
| 1057 'target_subarch%': '<(target_subarch)', | 1063 'target_subarch%': '<(target_subarch)', |
| 1058 'mips_arch_variant%': '<(mips_arch_variant)', | 1064 'mips_arch_variant%': '<(mips_arch_variant)', |
| 1059 'host_arch%': '<(host_arch)', | 1065 'host_arch%': '<(host_arch)', |
| 1060 'toolkit_views%': '<(toolkit_views)', | 1066 'toolkit_views%': '<(toolkit_views)', |
| 1061 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 1067 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
| 1062 'use_aura%': '<(use_aura)', | 1068 'use_aura%': '<(use_aura)', |
| 1063 'use_ash%': '<(use_ash)', | 1069 'use_ash%': '<(use_ash)', |
| 1070 'use_athena%': '<(use_athena)', |
| 1064 'use_cras%': '<(use_cras)', | 1071 'use_cras%': '<(use_cras)', |
| 1065 'use_openssl%': '<(use_openssl)', | 1072 'use_openssl%': '<(use_openssl)', |
| 1066 'use_openssl_certs%': '<(use_openssl_certs)', | 1073 'use_openssl_certs%': '<(use_openssl_certs)', |
| 1067 'use_nss%': '<(use_nss)', | 1074 'use_nss%': '<(use_nss)', |
| 1068 'use_udev%': '<(use_udev)', | 1075 'use_udev%': '<(use_udev)', |
| 1069 'os_bsd%': '<(os_bsd)', | 1076 'os_bsd%': '<(os_bsd)', |
| 1070 'os_posix%': '<(os_posix)', | 1077 'os_posix%': '<(os_posix)', |
| 1071 'use_dbus%': '<(use_dbus)', | 1078 'use_dbus%': '<(use_dbus)', |
| 1072 'use_glib%': '<(use_glib)', | 1079 'use_glib%': '<(use_glib)', |
| 1073 'use_pango%': '<(use_pango)', | 1080 'use_pango%': '<(use_pango)', |
| (...skipping 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2548 }], | 2555 }], |
| 2549 ['ui_compositor_image_transport==1', { | 2556 ['ui_compositor_image_transport==1', { |
| 2550 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], | 2557 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], |
| 2551 }], | 2558 }], |
| 2552 ['use_aura==1', { | 2559 ['use_aura==1', { |
| 2553 'defines': ['USE_AURA=1'], | 2560 'defines': ['USE_AURA=1'], |
| 2554 }], | 2561 }], |
| 2555 ['use_ash==1', { | 2562 ['use_ash==1', { |
| 2556 'defines': ['USE_ASH=1'], | 2563 'defines': ['USE_ASH=1'], |
| 2557 }], | 2564 }], |
| 2565 ['use_athena==1', { |
| 2566 'defines': ['USE_ATHENA=1'], |
| 2567 }], |
| 2558 ['use_pango==1', { | 2568 ['use_pango==1', { |
| 2559 'defines': ['USE_PANGO=1'], | 2569 'defines': ['USE_PANGO=1'], |
| 2560 }], | 2570 }], |
| 2561 ['use_cairo==1', { | 2571 ['use_cairo==1', { |
| 2562 'defines': ['USE_CAIRO=1'], | 2572 'defines': ['USE_CAIRO=1'], |
| 2563 }], | 2573 }], |
| 2564 ['use_cras==1', { | 2574 ['use_cras==1', { |
| 2565 'defines': ['USE_CRAS=1'], | 2575 'defines': ['USE_CRAS=1'], |
| 2566 }], | 2576 }], |
| 2567 ['use_glib==1', { | 2577 ['use_glib==1', { |
| (...skipping 3179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5747 # settings in target dicts. SYMROOT is a special case, because many other | 5757 # settings in target dicts. SYMROOT is a special case, because many other |
| 5748 # Xcode variables depend on it, including variables such as | 5758 # Xcode variables depend on it, including variables such as |
| 5749 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5759 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5750 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5760 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5751 # files to appear (when present) in the UI as actual files and not red | 5761 # files to appear (when present) in the UI as actual files and not red |
| 5752 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5762 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5753 # and therefore SYMROOT, needs to be set at the project level. | 5763 # and therefore SYMROOT, needs to be set at the project level. |
| 5754 'SYMROOT': '<(DEPTH)/xcodebuild', | 5764 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5755 }, | 5765 }, |
| 5756 } | 5766 } |
| OLD | NEW |