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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 'use_aura%': '<(use_aura)', | 63 'use_aura%': '<(use_aura)', |
64 'use_ash%': '<(use_ash)', | 64 'use_ash%': '<(use_ash)', |
65 'use_openssl%': '<(use_openssl)', | 65 'use_openssl%': '<(use_openssl)', |
66 'use_ibus%': '<(use_ibus)', | 66 'use_ibus%': '<(use_ibus)', |
67 'enable_viewport%': '<(enable_viewport)', | 67 'enable_viewport%': '<(enable_viewport)', |
68 'enable_hidpi%': '<(enable_hidpi)', | 68 'enable_hidpi%': '<(enable_hidpi)', |
69 'enable_touch_ui%': '<(enable_touch_ui)', | 69 'enable_touch_ui%': '<(enable_touch_ui)', |
70 'android_upstream_bringup%': '<(android_upstream_bringup)', | 70 'android_upstream_bringup%': '<(android_upstream_bringup)', |
71 'buildtype%': '<(buildtype)', | 71 'buildtype%': '<(buildtype)', |
72 | 72 |
73 # Sets whether we're building with the Android SDK/NDK (and hence with | |
74 # Ant, value 0), or as part of the Android system (and hence with the | |
75 # Android build system, value 1). | |
76 'android_build_type%': 0, | |
77 | |
78 # Compute the architecture that we're building on. | 73 # Compute the architecture that we're building on. |
79 'conditions': [ | 74 'conditions': [ |
80 ['OS=="win" or OS=="mac" or OS=="ios"', { | 75 ['OS=="win" or OS=="mac" or OS=="ios"', { |
81 'host_arch%': 'ia32', | 76 'host_arch%': 'ia32', |
82 }, { | 77 }, { |
83 # This handles the Unix platforms for which there is some support. | 78 # This handles the Unix platforms for which there is some support. |
84 # Anything else gets passed through, which probably won't work very | 79 # Anything else gets passed through, which probably won't work very |
85 # well; such hosts should pass an explicit target_arch to gyp. | 80 # well; such hosts should pass an explicit target_arch to gyp. |
86 'host_arch%': | 81 'host_arch%': |
87 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a
rm.*/arm/;s/i86pc/ia32/")', | 82 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a
rm.*/arm/;s/i86pc/ia32/")', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 'host_arch%': '<(host_arch)', | 123 'host_arch%': '<(host_arch)', |
129 'toolkit_views%': '<(toolkit_views)', | 124 'toolkit_views%': '<(toolkit_views)', |
130 'use_aura%': '<(use_aura)', | 125 'use_aura%': '<(use_aura)', |
131 'use_ash%': '<(use_ash)', | 126 'use_ash%': '<(use_ash)', |
132 'use_openssl%': '<(use_openssl)', | 127 'use_openssl%': '<(use_openssl)', |
133 'use_ibus%': '<(use_ibus)', | 128 'use_ibus%': '<(use_ibus)', |
134 'enable_viewport%': '<(enable_viewport)', | 129 'enable_viewport%': '<(enable_viewport)', |
135 'enable_hidpi%': '<(enable_hidpi)', | 130 'enable_hidpi%': '<(enable_hidpi)', |
136 'enable_touch_ui%': '<(enable_touch_ui)', | 131 'enable_touch_ui%': '<(enable_touch_ui)', |
137 'android_upstream_bringup%': '<(android_upstream_bringup)', | 132 'android_upstream_bringup%': '<(android_upstream_bringup)', |
138 'android_build_type%': '<(android_build_type)', | |
139 | 133 |
140 # We used to provide a variable for changing how libraries were built. | 134 # We used to provide a variable for changing how libraries were built. |
141 # This variable remains until we can clean up all the users. | 135 # This variable remains until we can clean up all the users. |
142 # This needs to be one nested variables dict in so that dependent | 136 # This needs to be one nested variables dict in so that dependent |
143 # gyp files can make use of it in their outer variables. (Yikes!) | 137 # gyp files can make use of it in their outer variables. (Yikes!) |
144 # http://code.google.com/p/chromium/issues/detail?id=83308 | 138 # http://code.google.com/p/chromium/issues/detail?id=83308 |
145 'library%': 'static_library', | 139 'library%': 'static_library', |
146 | 140 |
147 # Override branding to select the desired branding flavor. | 141 # Override branding to select the desired branding flavor. |
148 'branding%': 'Chromium', | 142 'branding%': 'Chromium', |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 'test_isolation_outdir%': '<(test_isolation_outdir)', | 592 'test_isolation_outdir%': '<(test_isolation_outdir)', |
599 'enable_automation%': '<(enable_automation)', | 593 'enable_automation%': '<(enable_automation)', |
600 'enable_printing%': '<(enable_printing)', | 594 'enable_printing%': '<(enable_printing)', |
601 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 595 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
602 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', | 596 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', |
603 'enable_task_manager%': '<(enable_task_manager)', | 597 'enable_task_manager%': '<(enable_task_manager)', |
604 'sas_dll_path%': '<(sas_dll_path)', | 598 'sas_dll_path%': '<(sas_dll_path)', |
605 'wix_path%': '<(wix_path)', | 599 'wix_path%': '<(wix_path)', |
606 'android_upstream_bringup%': '<(android_upstream_bringup)', | 600 'android_upstream_bringup%': '<(android_upstream_bringup)', |
607 'use_system_libjpeg%': '<(use_system_libjpeg)', | 601 'use_system_libjpeg%': '<(use_system_libjpeg)', |
608 'android_build_type%': '<(android_build_type)', | |
609 | 602 |
610 # Use system yasm instead of bundled one. | 603 # Use system yasm instead of bundled one. |
611 'use_system_yasm%': 0, | 604 'use_system_yasm%': 0, |
612 | 605 |
613 # Default to enabled PIE; this is important for ASLR but we may need to be | 606 # Default to enabled PIE; this is important for ASLR but we may need to be |
614 # able to turn it off for various reasons. | 607 # able to turn it off for various reasons. |
615 'linux_disable_pie%': 0, | 608 'linux_disable_pie%': 0, |
616 | 609 |
617 # The release channel that this build targets. This is used to restrict | 610 # The release channel that this build targets. This is used to restrict |
618 # channel-specific build options, like which installer packages to create. | 611 # channel-specific build options, like which installer packages to create. |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 'target_arch': 'x86', | 899 'target_arch': 'x86', |
907 'android_app_abi%': 'x86', | 900 'android_app_abi%': 'x86', |
908 }], | 901 }], |
909 ['target_arch=="arm" and armv7==0', { | 902 ['target_arch=="arm" and armv7==0', { |
910 'android_app_abi%': 'armeabi', | 903 'android_app_abi%': 'armeabi', |
911 }], | 904 }], |
912 ['target_arch=="arm" and armv7==1', { | 905 ['target_arch=="arm" and armv7==1', { |
913 'android_app_abi%': 'armeabi-v7a', | 906 'android_app_abi%': 'armeabi-v7a', |
914 }], | 907 }], |
915 ], | 908 ], |
| 909 |
| 910 # Sets whether we're building with the Android SDK/NDK (and hence |
| 911 # with Ant, value 0), or as part of the Android system (and hence |
| 912 # with the Android build system, value 1). |
| 913 'android_build_type%': 0, |
916 }, | 914 }, |
917 'android_ndk_root%': '<(android_ndk_root)', | 915 'android_ndk_root%': '<(android_ndk_root)', |
918 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-9/arch-
<(target_arch)', | 916 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-9/arch-
<(target_arch)', |
| 917 'android_build_type%': '<(android_build_type)', |
919 'android_app_abi%': '<(android_app_abi)', | 918 'android_app_abi%': '<(android_app_abi)', |
920 }, | 919 }, |
921 'android_ndk_root%': '<(android_ndk_root)', | 920 'android_ndk_root%': '<(android_ndk_root)', |
922 'android_ndk_sysroot': '<(android_ndk_sysroot)', | 921 'android_ndk_sysroot': '<(android_ndk_sysroot)', |
923 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', | 922 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', |
924 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', | 923 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', |
925 'android_app_abi%': '<(android_app_abi)', | 924 'android_app_abi%': '<(android_app_abi)', |
926 | 925 |
927 # Provides an absolute path to PRODUCT_DIR (e.g. out/Release). Used | 926 # Provides an absolute path to PRODUCT_DIR (e.g. out/Release). Used |
928 # to specify the output directory for Ant in the Android build. | 927 # to specify the output directory for Ant in the Android build. |
(...skipping 2402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3331 # settings in target dicts. SYMROOT is a special case, because many other | 3330 # settings in target dicts. SYMROOT is a special case, because many other |
3332 # Xcode variables depend on it, including variables such as | 3331 # Xcode variables depend on it, including variables such as |
3333 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3332 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3334 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3333 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3335 # files to appear (when present) in the UI as actual files and not red | 3334 # files to appear (when present) in the UI as actual files and not red |
3336 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3335 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3337 # and therefore SYMROOT, needs to be set at the project level. | 3336 # and therefore SYMROOT, needs to be set at the project level. |
3338 'SYMROOT': '<(DEPTH)/xcodebuild', | 3337 'SYMROOT': '<(DEPTH)/xcodebuild', |
3339 }, | 3338 }, |
3340 } | 3339 } |
OLD | NEW |