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 25 matching lines...) Expand all Loading... |
36 'use_openssl%': 0, | 36 'use_openssl%': 0, |
37 | 37 |
38 # Disable Virtual keyboard support by default. | 38 # Disable Virtual keyboard support by default. |
39 'use_virtual_keyboard%': 0, | 39 'use_virtual_keyboard%': 0, |
40 | 40 |
41 # Disable viewport meta tag by default. | 41 # Disable viewport meta tag by default. |
42 'enable_viewport%': 0, | 42 'enable_viewport%': 0, |
43 | 43 |
44 # Enable HiDPI support. | 44 # Enable HiDPI support. |
45 'enable_hidpi%': 0, | 45 'enable_hidpi%': 0, |
| 46 |
| 47 # Enable HiDPI support. |
| 48 'enable_metro%': 0, |
46 }, | 49 }, |
47 # Copy conditionally-set variables out one scope. | 50 # Copy conditionally-set variables out one scope. |
48 'chromeos%': '<(chromeos)', | 51 'chromeos%': '<(chromeos)', |
49 'use_aura%': '<(use_aura)', | 52 'use_aura%': '<(use_aura)', |
50 'use_ash%': '<(use_ash)', | 53 'use_ash%': '<(use_ash)', |
51 'enable_dip%': '<(enable_dip)', | 54 'enable_dip%': '<(enable_dip)', |
52 'use_openssl%': '<(use_openssl)', | 55 'use_openssl%': '<(use_openssl)', |
53 'use_virtual_keyboard%': '<(use_virtual_keyboard)', | 56 'use_virtual_keyboard%': '<(use_virtual_keyboard)', |
54 'enable_viewport%': '<(enable_viewport)', | 57 'enable_viewport%': '<(enable_viewport)', |
55 'enable_hidpi%': '<(enable_hidpi)', | 58 'enable_hidpi%': '<(enable_hidpi)', |
| 59 'enable_metro%': '<(enable_metro)', |
56 | 60 |
57 # Compute the architecture that we're building on. | 61 # Compute the architecture that we're building on. |
58 'conditions': [ | 62 'conditions': [ |
59 [ 'OS=="win" or OS=="mac"', { | 63 [ 'OS=="win" or OS=="mac"', { |
60 'host_arch%': 'ia32', | 64 'host_arch%': 'ia32', |
61 }, { | 65 }, { |
62 # This handles the Unix platforms for which there is some support. | 66 # This handles the Unix platforms for which there is some support. |
63 # Anything else gets passed through, which probably won't work very | 67 # Anything else gets passed through, which probably won't work very |
64 # well; such hosts should pass an explicit target_arch to gyp. | 68 # well; such hosts should pass an explicit target_arch to gyp. |
65 'host_arch%': | 69 'host_arch%': |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 'chromeos%': '<(chromeos)', | 102 'chromeos%': '<(chromeos)', |
99 'host_arch%': '<(host_arch)', | 103 'host_arch%': '<(host_arch)', |
100 'toolkit_views%': '<(toolkit_views)', | 104 'toolkit_views%': '<(toolkit_views)', |
101 'use_aura%': '<(use_aura)', | 105 'use_aura%': '<(use_aura)', |
102 'use_ash%': '<(use_ash)', | 106 'use_ash%': '<(use_ash)', |
103 'enable_dip%': '<(enable_dip)', | 107 'enable_dip%': '<(enable_dip)', |
104 'use_openssl%': '<(use_openssl)', | 108 'use_openssl%': '<(use_openssl)', |
105 'use_virtual_keyboard%': '<(use_virtual_keyboard)', | 109 'use_virtual_keyboard%': '<(use_virtual_keyboard)', |
106 'enable_viewport%': '<(enable_viewport)', | 110 'enable_viewport%': '<(enable_viewport)', |
107 'enable_hidpi%': '<(enable_hidpi)', | 111 'enable_hidpi%': '<(enable_hidpi)', |
| 112 'enable_metro%': '<(enable_metro)', |
108 | 113 |
109 # We used to provide a variable for changing how libraries were built. | 114 # We used to provide a variable for changing how libraries were built. |
110 # This variable remains until we can clean up all the users. | 115 # This variable remains until we can clean up all the users. |
111 # This needs to be one nested variables dict in so that dependent | 116 # This needs to be one nested variables dict in so that dependent |
112 # gyp files can make use of it in their outer variables. (Yikes!) | 117 # gyp files can make use of it in their outer variables. (Yikes!) |
113 # http://code.google.com/p/chromium/issues/detail?id=83308 | 118 # http://code.google.com/p/chromium/issues/detail?id=83308 |
114 'library%': 'static_library', | 119 'library%': 'static_library', |
115 | 120 |
116 # Override branding to select the desired branding flavor. | 121 # Override branding to select the desired branding flavor. |
117 'branding%': 'Chromium', | 122 'branding%': 'Chromium', |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 'use_glib%': '<(use_glib)', | 495 'use_glib%': '<(use_glib)', |
491 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 496 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
492 'use_skia%': '<(use_skia)', | 497 'use_skia%': '<(use_skia)', |
493 'use_x11%': '<(use_x11)', | 498 'use_x11%': '<(use_x11)', |
494 'use_gnome_keyring%': '<(use_gnome_keyring)', | 499 'use_gnome_keyring%': '<(use_gnome_keyring)', |
495 'linux_fpic%': '<(linux_fpic)', | 500 'linux_fpic%': '<(linux_fpic)', |
496 'enable_pepper_threading%': '<(enable_pepper_threading)', | 501 'enable_pepper_threading%': '<(enable_pepper_threading)', |
497 'chromeos%': '<(chromeos)', | 502 'chromeos%': '<(chromeos)', |
498 'use_virtual_keyboard%': '<(use_virtual_keyboard)', | 503 'use_virtual_keyboard%': '<(use_virtual_keyboard)', |
499 'enable_viewport%': '<(enable_viewport)', | 504 'enable_viewport%': '<(enable_viewport)', |
500 'enable_hidpi%': '<(enable_hidpi)', | 505 'enable_metro%': '<(enable_metro)', |
501 'use_xi2_mt%':'<(use_xi2_mt)', | 506 'use_xi2_mt%':'<(use_xi2_mt)', |
502 'file_manager_extension%': '<(file_manager_extension)', | 507 'file_manager_extension%': '<(file_manager_extension)', |
503 'webui_task_manager%': '<(webui_task_manager)', | 508 'webui_task_manager%': '<(webui_task_manager)', |
504 'inside_chromium_build%': '<(inside_chromium_build)', | 509 'inside_chromium_build%': '<(inside_chromium_build)', |
505 'fastbuild%': '<(fastbuild)', | 510 'fastbuild%': '<(fastbuild)', |
506 'dcheck_always_on%': '<(dcheck_always_on)', | 511 'dcheck_always_on%': '<(dcheck_always_on)', |
507 'python_ver%': '<(python_ver)', | 512 'python_ver%': '<(python_ver)', |
508 'armv7%': '<(armv7)', | 513 'armv7%': '<(armv7)', |
509 'arm_neon%': '<(arm_neon)', | 514 'arm_neon%': '<(arm_neon)', |
510 'sysroot%': '<(sysroot)', | 515 'sysroot%': '<(sysroot)', |
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1278 }], | 1283 }], |
1279 ['input_speech==1', { | 1284 ['input_speech==1', { |
1280 'defines': ['ENABLE_INPUT_SPEECH'], | 1285 'defines': ['ENABLE_INPUT_SPEECH'], |
1281 }], | 1286 }], |
1282 ['notifications==1', { | 1287 ['notifications==1', { |
1283 'defines': ['ENABLE_NOTIFICATIONS'], | 1288 'defines': ['ENABLE_NOTIFICATIONS'], |
1284 }], | 1289 }], |
1285 ['enable_hidpi==1', { | 1290 ['enable_hidpi==1', { |
1286 'defines': ['ENABLE_HIDPI=1'], | 1291 'defines': ['ENABLE_HIDPI=1'], |
1287 }], | 1292 }], |
| 1293 ['enable_metro==1', { |
| 1294 'defines': ['ENABLE_METRO=1'], |
| 1295 }], |
1288 ['fastbuild!=0', { | 1296 ['fastbuild!=0', { |
1289 | 1297 |
1290 'conditions': [ | 1298 'conditions': [ |
1291 # For Windows and Mac, we don't genererate debug information. | 1299 # For Windows and Mac, we don't genererate debug information. |
1292 ['OS=="win" or OS=="mac"', { | 1300 ['OS=="win" or OS=="mac"', { |
1293 'msvs_settings': { | 1301 'msvs_settings': { |
1294 'VCLinkerTool': { | 1302 'VCLinkerTool': { |
1295 'GenerateDebugInformation': 'false', | 1303 'GenerateDebugInformation': 'false', |
1296 }, | 1304 }, |
1297 'VCCLCompilerTool': { | 1305 'VCCLCompilerTool': { |
(...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3010 # settings in target dicts. SYMROOT is a special case, because many other | 3018 # settings in target dicts. SYMROOT is a special case, because many other |
3011 # Xcode variables depend on it, including variables such as | 3019 # Xcode variables depend on it, including variables such as |
3012 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3020 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3013 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3021 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3014 # files to appear (when present) in the UI as actual files and not red | 3022 # files to appear (when present) in the UI as actual files and not red |
3015 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3023 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3016 # and therefore SYMROOT, needs to be set at the project level. | 3024 # and therefore SYMROOT, needs to be set at the project level. |
3017 'SYMROOT': '<(DEPTH)/xcodebuild', | 3025 'SYMROOT': '<(DEPTH)/xcodebuild', |
3018 }, | 3026 }, |
3019 } | 3027 } |
OLD | NEW |