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 Metro 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 499 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
495 'use_skia%': '<(use_skia)', | 500 'use_skia%': '<(use_skia)', |
496 'use_x11%': '<(use_x11)', | 501 'use_x11%': '<(use_x11)', |
497 'use_gnome_keyring%': '<(use_gnome_keyring)', | 502 'use_gnome_keyring%': '<(use_gnome_keyring)', |
498 'linux_fpic%': '<(linux_fpic)', | 503 'linux_fpic%': '<(linux_fpic)', |
499 'enable_pepper_threading%': '<(enable_pepper_threading)', | 504 'enable_pepper_threading%': '<(enable_pepper_threading)', |
500 'chromeos%': '<(chromeos)', | 505 'chromeos%': '<(chromeos)', |
501 'use_virtual_keyboard%': '<(use_virtual_keyboard)', | 506 'use_virtual_keyboard%': '<(use_virtual_keyboard)', |
502 'enable_viewport%': '<(enable_viewport)', | 507 'enable_viewport%': '<(enable_viewport)', |
503 'enable_hidpi%': '<(enable_hidpi)', | 508 'enable_hidpi%': '<(enable_hidpi)', |
| 509 'enable_metro%': '<(enable_metro)', |
504 'use_xi2_mt%':'<(use_xi2_mt)', | 510 'use_xi2_mt%':'<(use_xi2_mt)', |
505 'file_manager_extension%': '<(file_manager_extension)', | 511 'file_manager_extension%': '<(file_manager_extension)', |
506 'webui_task_manager%': '<(webui_task_manager)', | 512 'webui_task_manager%': '<(webui_task_manager)', |
507 'inside_chromium_build%': '<(inside_chromium_build)', | 513 'inside_chromium_build%': '<(inside_chromium_build)', |
508 'fastbuild%': '<(fastbuild)', | 514 'fastbuild%': '<(fastbuild)', |
509 'dcheck_always_on%': '<(dcheck_always_on)', | 515 'dcheck_always_on%': '<(dcheck_always_on)', |
510 'python_ver%': '<(python_ver)', | 516 'python_ver%': '<(python_ver)', |
511 'armv7%': '<(armv7)', | 517 'armv7%': '<(armv7)', |
512 'arm_neon%': '<(arm_neon)', | 518 'arm_neon%': '<(arm_neon)', |
513 'sysroot%': '<(sysroot)', | 519 'sysroot%': '<(sysroot)', |
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1292 }], | 1298 }], |
1293 ['input_speech==1', { | 1299 ['input_speech==1', { |
1294 'defines': ['ENABLE_INPUT_SPEECH'], | 1300 'defines': ['ENABLE_INPUT_SPEECH'], |
1295 }], | 1301 }], |
1296 ['notifications==1', { | 1302 ['notifications==1', { |
1297 'defines': ['ENABLE_NOTIFICATIONS'], | 1303 'defines': ['ENABLE_NOTIFICATIONS'], |
1298 }], | 1304 }], |
1299 ['enable_hidpi==1', { | 1305 ['enable_hidpi==1', { |
1300 'defines': ['ENABLE_HIDPI=1'], | 1306 'defines': ['ENABLE_HIDPI=1'], |
1301 }], | 1307 }], |
| 1308 ['enable_metro==1', { |
| 1309 'defines': ['ENABLE_METRO=1'], |
| 1310 }], |
1302 ['fastbuild!=0', { | 1311 ['fastbuild!=0', { |
1303 | 1312 |
1304 'conditions': [ | 1313 'conditions': [ |
1305 # For Windows and Mac, we don't genererate debug information. | 1314 # For Windows and Mac, we don't genererate debug information. |
1306 ['OS=="win" or OS=="mac"', { | 1315 ['OS=="win" or OS=="mac"', { |
1307 'msvs_settings': { | 1316 'msvs_settings': { |
1308 'VCLinkerTool': { | 1317 'VCLinkerTool': { |
1309 'GenerateDebugInformation': 'false', | 1318 'GenerateDebugInformation': 'false', |
1310 }, | 1319 }, |
1311 'VCCLCompilerTool': { | 1320 'VCCLCompilerTool': { |
(...skipping 1711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3023 # settings in target dicts. SYMROOT is a special case, because many other | 3032 # settings in target dicts. SYMROOT is a special case, because many other |
3024 # Xcode variables depend on it, including variables such as | 3033 # Xcode variables depend on it, including variables such as |
3025 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3034 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3026 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3035 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3027 # files to appear (when present) in the UI as actual files and not red | 3036 # files to appear (when present) in the UI as actual files and not red |
3028 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3037 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3029 # and therefore SYMROOT, needs to be set at the project level. | 3038 # and therefore SYMROOT, needs to be set at the project level. |
3030 'SYMROOT': '<(DEPTH)/xcodebuild', | 3039 'SYMROOT': '<(DEPTH)/xcodebuild', |
3031 }, | 3040 }, |
3032 } | 3041 } |
OLD | NEW |