| 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 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 # Whether or not we are building the Ash shell. | 36 # Whether or not we are building the Ash shell. |
| 37 'use_ash%': 0, | 37 'use_ash%': 0, |
| 38 | 38 |
| 39 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/
62803 | 39 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/
62803 |
| 40 'use_openssl%': 0, | 40 'use_openssl%': 0, |
| 41 | 41 |
| 42 # Disable Virtual keyboard support by default. | 42 # Disable Virtual keyboard support by default. |
| 43 'use_virtual_keyboard%': 0, | 43 'use_virtual_keyboard%': 0, |
| 44 | 44 |
| 45 # Disable viewport meta tag by default. |
| 46 'enable_viewport%': 0, |
| 47 |
| 45 # Default setting for use_skia on mac platform. | 48 # Default setting for use_skia on mac platform. |
| 46 # This is typically overridden in use_skia_on_mac.gypi. | 49 # This is typically overridden in use_skia_on_mac.gypi. |
| 47 'use_skia_on_mac%': 0, | 50 'use_skia_on_mac%': 0, |
| 48 }, | 51 }, |
| 49 # Copy conditionally-set variables out one scope. | 52 # Copy conditionally-set variables out one scope. |
| 50 'chromeos%': '<(chromeos)', | 53 'chromeos%': '<(chromeos)', |
| 51 'chromeos_gtk%': '<(chromeos_gtk)', | 54 'chromeos_gtk%': '<(chromeos_gtk)', |
| 52 'use_aura%': '<(use_aura)', | 55 'use_aura%': '<(use_aura)', |
| 53 'use_ash%': '<(use_ash)', | 56 'use_ash%': '<(use_ash)', |
| 54 'use_openssl%': '<(use_openssl)', | 57 'use_openssl%': '<(use_openssl)', |
| 55 'use_virtual_keyboard%': '<(use_virtual_keyboard)', | 58 'use_virtual_keyboard%': '<(use_virtual_keyboard)', |
| 59 'enable_viewport%': '<(enable_viewport)', |
| 56 'use_skia_on_mac%': '<(use_skia_on_mac)', | 60 'use_skia_on_mac%': '<(use_skia_on_mac)', |
| 57 | 61 |
| 58 # Compute the architecture that we're building on. | 62 # Compute the architecture that we're building on. |
| 59 'conditions': [ | 63 'conditions': [ |
| 60 [ 'OS=="win" or OS=="mac"', { | 64 [ 'OS=="win" or OS=="mac"', { |
| 61 'host_arch%': 'ia32', | 65 'host_arch%': 'ia32', |
| 62 }, { | 66 }, { |
| 63 # This handles the Unix platforms for which there is some support. | 67 # This handles the Unix platforms for which there is some support. |
| 64 # Anything else gets passed through, which probably won't work very | 68 # Anything else gets passed through, which probably won't work very |
| 65 # well; such hosts should pass an explicit target_arch to gyp. | 69 # well; such hosts should pass an explicit target_arch to gyp. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 88 | 92 |
| 89 # Copy conditionally-set variables out one scope. | 93 # Copy conditionally-set variables out one scope. |
| 90 'chromeos%': '<(chromeos)', | 94 'chromeos%': '<(chromeos)', |
| 91 'chromeos_gtk%': '<(chromeos_gtk)', | 95 'chromeos_gtk%': '<(chromeos_gtk)', |
| 92 'host_arch%': '<(host_arch)', | 96 'host_arch%': '<(host_arch)', |
| 93 'toolkit_views%': '<(toolkit_views)', | 97 'toolkit_views%': '<(toolkit_views)', |
| 94 'use_aura%': '<(use_aura)', | 98 'use_aura%': '<(use_aura)', |
| 95 'use_ash%': '<(use_ash)', | 99 'use_ash%': '<(use_ash)', |
| 96 'use_openssl%': '<(use_openssl)', | 100 'use_openssl%': '<(use_openssl)', |
| 97 'use_virtual_keyboard%': '<(use_virtual_keyboard)', | 101 'use_virtual_keyboard%': '<(use_virtual_keyboard)', |
| 102 'enable_viewport%': '<(enable_viewport)', |
| 98 'use_skia_on_mac%': '<(use_skia_on_mac)', | 103 'use_skia_on_mac%': '<(use_skia_on_mac)', |
| 99 | 104 |
| 100 # We used to provide a variable for changing how libraries were built. | 105 # We used to provide a variable for changing how libraries were built. |
| 101 # This variable remains until we can clean up all the users. | 106 # This variable remains until we can clean up all the users. |
| 102 # This needs to be one nested variables dict in so that dependent | 107 # This needs to be one nested variables dict in so that dependent |
| 103 # gyp files can make use of it in their outer variables. (Yikes!) | 108 # gyp files can make use of it in their outer variables. (Yikes!) |
| 104 # http://code.google.com/p/chromium/issues/detail?id=83308 | 109 # http://code.google.com/p/chromium/issues/detail?id=83308 |
| 105 'library%': 'static_library', | 110 'library%': 'static_library', |
| 106 | 111 |
| 107 # Override branding to select the desired branding flavor. | 112 # Override branding to select the desired branding flavor. |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 429 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
| 425 'use_skia%': '<(use_skia)', | 430 'use_skia%': '<(use_skia)', |
| 426 'use_x11%': '<(use_x11)', | 431 'use_x11%': '<(use_x11)', |
| 427 'use_gnome_keyring%': '<(use_gnome_keyring)', | 432 'use_gnome_keyring%': '<(use_gnome_keyring)', |
| 428 'linux_fpic%': '<(linux_fpic)', | 433 'linux_fpic%': '<(linux_fpic)', |
| 429 'enable_flapper_hacks%': '<(enable_flapper_hacks)', | 434 'enable_flapper_hacks%': '<(enable_flapper_hacks)', |
| 430 'enable_pepper_threading%': '<(enable_pepper_threading)', | 435 'enable_pepper_threading%': '<(enable_pepper_threading)', |
| 431 'chromeos%': '<(chromeos)', | 436 'chromeos%': '<(chromeos)', |
| 432 'chromeos_gtk%': '<(chromeos_gtk)', | 437 'chromeos_gtk%': '<(chromeos_gtk)', |
| 433 'use_virtual_keyboard%': '<(use_virtual_keyboard)', | 438 'use_virtual_keyboard%': '<(use_virtual_keyboard)', |
| 439 'enable_viewport%': '<(enable_viewport)', |
| 434 'use_skia_on_mac%': '<(use_skia_on_mac)', | 440 'use_skia_on_mac%': '<(use_skia_on_mac)', |
| 435 'use_xi2_mt%':'<(use_xi2_mt)', | 441 'use_xi2_mt%':'<(use_xi2_mt)', |
| 436 'file_manager_extension%': '<(file_manager_extension)', | 442 'file_manager_extension%': '<(file_manager_extension)', |
| 437 'webui_task_manager%': '<(webui_task_manager)', | 443 'webui_task_manager%': '<(webui_task_manager)', |
| 438 'inside_chromium_build%': '<(inside_chromium_build)', | 444 'inside_chromium_build%': '<(inside_chromium_build)', |
| 439 'fastbuild%': '<(fastbuild)', | 445 'fastbuild%': '<(fastbuild)', |
| 440 'dcheck_always_on%': '<(dcheck_always_on)', | 446 'dcheck_always_on%': '<(dcheck_always_on)', |
| 441 'python_ver%': '<(python_ver)', | 447 'python_ver%': '<(python_ver)', |
| 442 'armv7%': '<(armv7)', | 448 'armv7%': '<(armv7)', |
| 443 'arm_neon%': '<(arm_neon)', | 449 'arm_neon%': '<(arm_neon)', |
| (...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1112 }], | 1118 }], |
| 1113 ['proprietary_codecs==1', { | 1119 ['proprietary_codecs==1', { |
| 1114 'defines': ['USE_PROPRIETARY_CODECS'], | 1120 'defines': ['USE_PROPRIETARY_CODECS'], |
| 1115 }], | 1121 }], |
| 1116 ['enable_flapper_hacks==1', { | 1122 ['enable_flapper_hacks==1', { |
| 1117 'defines': ['ENABLE_FLAPPER_HACKS=1'], | 1123 'defines': ['ENABLE_FLAPPER_HACKS=1'], |
| 1118 }], | 1124 }], |
| 1119 ['enable_pepper_threading==1', { | 1125 ['enable_pepper_threading==1', { |
| 1120 'defines': ['ENABLE_PEPPER_THREADING'], | 1126 'defines': ['ENABLE_PEPPER_THREADING'], |
| 1121 }], | 1127 }], |
| 1128 ['enable_viewport==1', { |
| 1129 'defines': ['ENABLE_VIEWPORT'], |
| 1130 }], |
| 1122 ['configuration_policy==1', { | 1131 ['configuration_policy==1', { |
| 1123 'defines': ['ENABLE_CONFIGURATION_POLICY'], | 1132 'defines': ['ENABLE_CONFIGURATION_POLICY'], |
| 1124 }], | 1133 }], |
| 1125 ['input_speech==1', { | 1134 ['input_speech==1', { |
| 1126 'defines': ['ENABLE_INPUT_SPEECH'], | 1135 'defines': ['ENABLE_INPUT_SPEECH'], |
| 1127 }], | 1136 }], |
| 1128 ['notifications==1', { | 1137 ['notifications==1', { |
| 1129 'defines': ['ENABLE_NOTIFICATIONS'], | 1138 'defines': ['ENABLE_NOTIFICATIONS'], |
| 1130 }], | 1139 }], |
| 1131 ['fastbuild!=0', { | 1140 ['fastbuild!=0', { |
| (...skipping 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2796 # settings in target dicts. SYMROOT is a special case, because many other | 2805 # settings in target dicts. SYMROOT is a special case, because many other |
| 2797 # Xcode variables depend on it, including variables such as | 2806 # Xcode variables depend on it, including variables such as |
| 2798 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2807 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 2799 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2808 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 2800 # files to appear (when present) in the UI as actual files and not red | 2809 # files to appear (when present) in the UI as actual files and not red |
| 2801 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2810 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 2802 # and therefore SYMROOT, needs to be set at the project level. | 2811 # and therefore SYMROOT, needs to be set at the project level. |
| 2803 'SYMROOT': '<(DEPTH)/xcodebuild', | 2812 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 2804 }, | 2813 }, |
| 2805 } | 2814 } |
| OLD | NEW |