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 | |
36 # Whether or not we are using CRAS, the ChromeOS Audio Server. | 33 # Whether or not we are using CRAS, the ChromeOS Audio Server. |
37 'use_cras%': 0, | 34 'use_cras%': 0, |
38 | 35 |
39 # Use a raw surface abstraction. | 36 # Use a raw surface abstraction. |
40 'use_ozone%': 0, | 37 'use_ozone%': 0, |
41 | 38 |
42 # Configure the build for small devices. See crbug.com/318413 | 39 # Configure the build for small devices. See crbug.com/318413 |
43 'embedded%': 0, | 40 'embedded%': 0, |
44 | 41 |
45 'conditions': [ | 42 'conditions': [ |
46 # Compute the architecture that we're building on. | 43 # Compute the architecture that we're building on. |
47 ['OS=="win" or OS=="mac" or OS=="ios"', { | 44 ['OS=="win" or OS=="mac" or OS=="ios"', { |
48 'host_arch%': 'ia32', | 45 'host_arch%': 'ia32', |
49 }, { | 46 }, { |
50 'host_arch%': '<!pymod_do_main(detect_host_arch)', | 47 'host_arch%': '<!pymod_do_main(detect_host_arch)', |
51 }], | 48 }], |
52 ], | 49 ], |
53 }, | 50 }, |
54 # Copy conditionally-set variables out one scope. | 51 # Copy conditionally-set variables out one scope. |
55 'chromeos%': '<(chromeos)', | 52 'chromeos%': '<(chromeos)', |
56 'chromecast%': '<(chromecast)', | 53 'chromecast%': '<(chromecast)', |
57 'use_aura%': '<(use_aura)', | 54 'use_aura%': '<(use_aura)', |
58 'use_ash%': '<(use_ash)', | 55 'use_ash%': '<(use_ash)', |
59 'use_athena%': '<(use_athena)', | |
60 'use_cras%': '<(use_cras)', | 56 'use_cras%': '<(use_cras)', |
61 'use_ozone%': '<(use_ozone)', | 57 'use_ozone%': '<(use_ozone)', |
62 'embedded%': '<(embedded)', | 58 'embedded%': '<(embedded)', |
63 'host_arch%': '<(host_arch)', | 59 'host_arch%': '<(host_arch)', |
64 | 60 |
65 # Whether we are using Views Toolkit | 61 # Whether we are using Views Toolkit |
66 'toolkit_views%': 0, | 62 'toolkit_views%': 0, |
67 | 63 |
68 # Use OpenSSL instead of NSS as the underlying SSL and crypto | 64 # Use OpenSSL instead of NSS as the underlying SSL and crypto |
69 # implementation. Certificate verification will in most cases be | 65 # implementation. Certificate verification will in most cases be |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 'target_arch%': '<(host_arch)', | 126 'target_arch%': '<(host_arch)', |
131 }], | 127 }], |
132 ], | 128 ], |
133 }, | 129 }, |
134 # Copy conditionally-set variables out one scope. | 130 # Copy conditionally-set variables out one scope. |
135 'chromeos%': '<(chromeos)', | 131 'chromeos%': '<(chromeos)', |
136 'chromecast%': '<(chromecast)', | 132 'chromecast%': '<(chromecast)', |
137 'desktop_linux%': '<(desktop_linux)', | 133 'desktop_linux%': '<(desktop_linux)', |
138 'use_aura%': '<(use_aura)', | 134 'use_aura%': '<(use_aura)', |
139 'use_ash%': '<(use_ash)', | 135 'use_ash%': '<(use_ash)', |
140 'use_athena%': '<(use_athena)', | |
141 'use_cras%': '<(use_cras)', | 136 'use_cras%': '<(use_cras)', |
142 'use_ozone%': '<(use_ozone)', | 137 'use_ozone%': '<(use_ozone)', |
143 'embedded%': '<(embedded)', | 138 'embedded%': '<(embedded)', |
144 'use_openssl%': '<(use_openssl)', | 139 'use_openssl%': '<(use_openssl)', |
145 'use_openssl_certs%': '<(use_openssl_certs)', | 140 'use_openssl_certs%': '<(use_openssl_certs)', |
146 'enable_viewport%': '<(enable_viewport)', | 141 'enable_viewport%': '<(enable_viewport)', |
147 'enable_hidpi%': '<(enable_hidpi)', | 142 'enable_hidpi%': '<(enable_hidpi)', |
148 'buildtype%': '<(buildtype)', | 143 'buildtype%': '<(buildtype)', |
149 'branding%': '<(branding)', | 144 'branding%': '<(branding)', |
150 'host_arch%': '<(host_arch)', | 145 'host_arch%': '<(host_arch)', |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 'chromeos%': '<(chromeos)', | 264 'chromeos%': '<(chromeos)', |
270 'chromecast%': '<(chromecast)', | 265 'chromecast%': '<(chromecast)', |
271 'host_arch%': '<(host_arch)', | 266 'host_arch%': '<(host_arch)', |
272 'target_arch%': '<(target_arch)', | 267 'target_arch%': '<(target_arch)', |
273 'target_subarch%': '<(target_subarch)', | 268 'target_subarch%': '<(target_subarch)', |
274 'mips_arch_variant%': '<(mips_arch_variant)', | 269 'mips_arch_variant%': '<(mips_arch_variant)', |
275 'toolkit_views%': '<(toolkit_views)', | 270 'toolkit_views%': '<(toolkit_views)', |
276 'desktop_linux%': '<(desktop_linux)', | 271 'desktop_linux%': '<(desktop_linux)', |
277 'use_aura%': '<(use_aura)', | 272 'use_aura%': '<(use_aura)', |
278 'use_ash%': '<(use_ash)', | 273 'use_ash%': '<(use_ash)', |
279 'use_athena%': '<(use_athena)', | |
280 'use_cras%': '<(use_cras)', | 274 'use_cras%': '<(use_cras)', |
281 'use_ozone%': '<(use_ozone)', | 275 'use_ozone%': '<(use_ozone)', |
282 'use_ozone_evdev%': '<(use_ozone_evdev)', | 276 'use_ozone_evdev%': '<(use_ozone_evdev)', |
283 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 277 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
284 'embedded%': '<(embedded)', | 278 'embedded%': '<(embedded)', |
285 'use_openssl%': '<(use_openssl)', | 279 'use_openssl%': '<(use_openssl)', |
286 'use_openssl_certs%': '<(use_openssl_certs)', | 280 'use_openssl_certs%': '<(use_openssl_certs)', |
287 'enable_viewport%': '<(enable_viewport)', | 281 'enable_viewport%': '<(enable_viewport)', |
288 'enable_hidpi%': '<(enable_hidpi)', | 282 'enable_hidpi%': '<(enable_hidpi)', |
289 'android_webview_build%': '<(android_webview_build)', | 283 'android_webview_build%': '<(android_webview_build)', |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 'branding%': '<(branding)', | 1058 'branding%': '<(branding)', |
1065 'buildtype%': '<(buildtype)', | 1059 'buildtype%': '<(buildtype)', |
1066 'target_arch%': '<(target_arch)', | 1060 'target_arch%': '<(target_arch)', |
1067 'target_subarch%': '<(target_subarch)', | 1061 'target_subarch%': '<(target_subarch)', |
1068 'mips_arch_variant%': '<(mips_arch_variant)', | 1062 'mips_arch_variant%': '<(mips_arch_variant)', |
1069 'host_arch%': '<(host_arch)', | 1063 'host_arch%': '<(host_arch)', |
1070 'toolkit_views%': '<(toolkit_views)', | 1064 'toolkit_views%': '<(toolkit_views)', |
1071 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 1065 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
1072 'use_aura%': '<(use_aura)', | 1066 'use_aura%': '<(use_aura)', |
1073 'use_ash%': '<(use_ash)', | 1067 'use_ash%': '<(use_ash)', |
1074 'use_athena%': '<(use_athena)', | |
1075 'use_cras%': '<(use_cras)', | 1068 'use_cras%': '<(use_cras)', |
1076 'use_openssl%': '<(use_openssl)', | 1069 'use_openssl%': '<(use_openssl)', |
1077 'use_openssl_certs%': '<(use_openssl_certs)', | 1070 'use_openssl_certs%': '<(use_openssl_certs)', |
1078 'use_nss%': '<(use_nss)', | 1071 'use_nss%': '<(use_nss)', |
1079 'use_udev%': '<(use_udev)', | 1072 'use_udev%': '<(use_udev)', |
1080 'os_bsd%': '<(os_bsd)', | 1073 'os_bsd%': '<(os_bsd)', |
1081 'os_posix%': '<(os_posix)', | 1074 'os_posix%': '<(os_posix)', |
1082 'use_dbus%': '<(use_dbus)', | 1075 'use_dbus%': '<(use_dbus)', |
1083 'use_glib%': '<(use_glib)', | 1076 'use_glib%': '<(use_glib)', |
1084 'use_pango%': '<(use_pango)', | 1077 'use_pango%': '<(use_pango)', |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1200 'enable_mdns%' : '<(enable_mdns)', | 1193 'enable_mdns%' : '<(enable_mdns)', |
1201 'enable_service_discovery%' : '<(enable_service_discovery)', | 1194 'enable_service_discovery%' : '<(enable_service_discovery)', |
1202 'enable_wifi_bootstrapping%': '<(enable_wifi_bootstrapping)', | 1195 'enable_wifi_bootstrapping%': '<(enable_wifi_bootstrapping)', |
1203 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension)
', | 1196 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension)
', |
1204 'v8_optimized_debug%': '<(v8_optimized_debug)', | 1197 'v8_optimized_debug%': '<(v8_optimized_debug)', |
1205 'proprietary_codecs%': '<(proprietary_codecs)', | 1198 'proprietary_codecs%': '<(proprietary_codecs)', |
1206 'use_goma%': '<(use_goma)', | 1199 'use_goma%': '<(use_goma)', |
1207 'gomadir%': '<(gomadir)', | 1200 'gomadir%': '<(gomadir)', |
1208 'video_hole%': '<(video_hole)', | 1201 'video_hole%': '<(video_hole)', |
1209 | 1202 |
| 1203 # Whether or not we are building the Athena shell. |
| 1204 'use_athena%': '0', |
| 1205 |
1210 # Use system protobuf instead of bundled one. | 1206 # Use system protobuf instead of bundled one. |
1211 'use_system_protobuf%': 0, | 1207 'use_system_protobuf%': 0, |
1212 | 1208 |
1213 # Use system yasm instead of bundled one. | 1209 # Use system yasm instead of bundled one. |
1214 'use_system_yasm%': 0, | 1210 'use_system_yasm%': 0, |
1215 | 1211 |
1216 # Use system ICU instead of bundled one. | 1212 # Use system ICU instead of bundled one. |
1217 'use_system_icu%' : 0, | 1213 'use_system_icu%' : 0, |
1218 | 1214 |
1219 # Default to enabled PIE; this is important for ASLR but we may need to be | 1215 # Default to enabled PIE; this is important for ASLR but we may need to be |
(...skipping 1340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2560 }], | 2556 }], |
2561 ['ui_compositor_image_transport==1', { | 2557 ['ui_compositor_image_transport==1', { |
2562 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], | 2558 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], |
2563 }], | 2559 }], |
2564 ['use_aura==1', { | 2560 ['use_aura==1', { |
2565 'defines': ['USE_AURA=1'], | 2561 'defines': ['USE_AURA=1'], |
2566 }], | 2562 }], |
2567 ['use_ash==1', { | 2563 ['use_ash==1', { |
2568 'defines': ['USE_ASH=1'], | 2564 'defines': ['USE_ASH=1'], |
2569 }], | 2565 }], |
2570 ['use_athena==1', { | |
2571 'defines': ['USE_ATHENA=1'], | |
2572 }], | |
2573 ['use_pango==1', { | 2566 ['use_pango==1', { |
2574 'defines': ['USE_PANGO=1'], | 2567 'defines': ['USE_PANGO=1'], |
2575 }], | 2568 }], |
2576 ['use_cairo==1', { | 2569 ['use_cairo==1', { |
2577 'defines': ['USE_CAIRO=1'], | 2570 'defines': ['USE_CAIRO=1'], |
2578 }], | 2571 }], |
2579 ['use_cras==1', { | 2572 ['use_cras==1', { |
2580 'defines': ['USE_CRAS=1'], | 2573 'defines': ['USE_CRAS=1'], |
2581 }], | 2574 }], |
2582 ['use_glib==1', { | 2575 ['use_glib==1', { |
(...skipping 3189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5772 # settings in target dicts. SYMROOT is a special case, because many other | 5765 # settings in target dicts. SYMROOT is a special case, because many other |
5773 # Xcode variables depend on it, including variables such as | 5766 # Xcode variables depend on it, including variables such as |
5774 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5767 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5775 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5768 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5776 # files to appear (when present) in the UI as actual files and not red | 5769 # files to appear (when present) in the UI as actual files and not red |
5777 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5770 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5778 # and therefore SYMROOT, needs to be set at the project level. | 5771 # and therefore SYMROOT, needs to be set at the project level. |
5779 'SYMROOT': '<(DEPTH)/xcodebuild', | 5772 'SYMROOT': '<(DEPTH)/xcodebuild', |
5780 }, | 5773 }, |
5781 } | 5774 } |
OLD | NEW |