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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 # Disable viewport meta tag by default. | 43 # Disable viewport meta tag by default. |
44 'enable_viewport%': 0, | 44 'enable_viewport%': 0, |
45 | 45 |
46 # Enable HiDPI support. | 46 # Enable HiDPI support. |
47 'enable_hidpi%': 0, | 47 'enable_hidpi%': 0, |
48 | 48 |
49 # Enable touch optimized art assets and metrics. | 49 # Enable touch optimized art assets and metrics. |
50 'enable_touch_ui%': 0, | 50 'enable_touch_ui%': 0, |
51 | 51 |
52 # Is this change part of the android upstream bringup? | |
53 # Allows us to *temporarily* disable certain things for | |
54 # staging. Only set to 1 in a GYP_DEFINES. | |
55 'android_upstream_bringup%': 0, | |
56 | |
57 # Override buildtype to select the desired build flavor. | 52 # Override buildtype to select the desired build flavor. |
58 # Dev - everyday build for development/testing | 53 # Dev - everyday build for development/testing |
59 # Official - release build (generally implies additional processing) | 54 # Official - release build (generally implies additional processing) |
60 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp | 55 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp |
61 # conversion is done), some of the things which are now controlled by | 56 # conversion is done), some of the things which are now controlled by |
62 # 'branding', such as symbol generation, will need to be refactored | 57 # 'branding', such as symbol generation, will need to be refactored |
63 # based on 'buildtype' (i.e. we don't care about saving symbols for | 58 # based on 'buildtype' (i.e. we don't care about saving symbols for |
64 # non-Official # builds). | 59 # non-Official # builds). |
65 'buildtype%': 'Dev', | 60 'buildtype%': 'Dev', |
66 | 61 |
(...skipping 17 matching lines...) Expand all Loading... |
84 }, | 79 }, |
85 # Copy conditionally-set variables out one scope. | 80 # Copy conditionally-set variables out one scope. |
86 'chromeos%': '<(chromeos)', | 81 'chromeos%': '<(chromeos)', |
87 'use_aura%': '<(use_aura)', | 82 'use_aura%': '<(use_aura)', |
88 'use_ash%': '<(use_ash)', | 83 'use_ash%': '<(use_ash)', |
89 'use_openssl%': '<(use_openssl)', | 84 'use_openssl%': '<(use_openssl)', |
90 'use_ibus%': '<(use_ibus)', | 85 'use_ibus%': '<(use_ibus)', |
91 'enable_viewport%': '<(enable_viewport)', | 86 'enable_viewport%': '<(enable_viewport)', |
92 'enable_hidpi%': '<(enable_hidpi)', | 87 'enable_hidpi%': '<(enable_hidpi)', |
93 'enable_touch_ui%': '<(enable_touch_ui)', | 88 'enable_touch_ui%': '<(enable_touch_ui)', |
94 'android_upstream_bringup%': '<(android_upstream_bringup)', | |
95 'buildtype%': '<(buildtype)', | 89 'buildtype%': '<(buildtype)', |
96 | 90 |
97 # Sets whether we're building with the Android SDK/NDK (and hence with | 91 # Sets whether we're building with the Android SDK/NDK (and hence with |
98 # Ant, value 0), or as part of the Android system (and hence with the | 92 # Ant, value 0), or as part of the Android system (and hence with the |
99 # Android build system, value 1). | 93 # Android build system, value 1). |
100 'android_build_type%': 0, | 94 'android_build_type%': 0, |
101 | 95 |
102 # Compute the architecture that we're building on. | 96 # Compute the architecture that we're building on. |
103 'conditions': [ | 97 'conditions': [ |
104 ['OS=="win" or OS=="mac" or OS=="ios"', { | 98 ['OS=="win" or OS=="mac" or OS=="ios"', { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 'host_arch%': '<(host_arch)', | 149 'host_arch%': '<(host_arch)', |
156 'toolkit_views%': '<(toolkit_views)', | 150 'toolkit_views%': '<(toolkit_views)', |
157 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 151 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
158 'use_aura%': '<(use_aura)', | 152 'use_aura%': '<(use_aura)', |
159 'use_ash%': '<(use_ash)', | 153 'use_ash%': '<(use_ash)', |
160 'use_openssl%': '<(use_openssl)', | 154 'use_openssl%': '<(use_openssl)', |
161 'use_ibus%': '<(use_ibus)', | 155 'use_ibus%': '<(use_ibus)', |
162 'enable_viewport%': '<(enable_viewport)', | 156 'enable_viewport%': '<(enable_viewport)', |
163 'enable_hidpi%': '<(enable_hidpi)', | 157 'enable_hidpi%': '<(enable_hidpi)', |
164 'enable_touch_ui%': '<(enable_touch_ui)', | 158 'enable_touch_ui%': '<(enable_touch_ui)', |
165 'android_upstream_bringup%': '<(android_upstream_bringup)', | |
166 'android_build_type%': '<(android_build_type)', | 159 'android_build_type%': '<(android_build_type)', |
167 'enable_app_list%': '<(enable_app_list)', | 160 'enable_app_list%': '<(enable_app_list)', |
168 'use_default_render_theme%': '<(use_default_render_theme)', | 161 'use_default_render_theme%': '<(use_default_render_theme)', |
169 | 162 |
170 # We used to provide a variable for changing how libraries were built. | 163 # We used to provide a variable for changing how libraries were built. |
171 # This variable remains until we can clean up all the users. | 164 # This variable remains until we can clean up all the users. |
172 # This needs to be one nested variables dict in so that dependent | 165 # This needs to be one nested variables dict in so that dependent |
173 # gyp files can make use of it in their outer variables. (Yikes!) | 166 # gyp files can make use of it in their outer variables. (Yikes!) |
174 # http://code.google.com/p/chromium/issues/detail?id=83308 | 167 # http://code.google.com/p/chromium/issues/detail?id=83308 |
175 'library%': 'static_library', | 168 'library%': 'static_library', |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 'test_isolation_mode%': '<(test_isolation_mode)', | 678 'test_isolation_mode%': '<(test_isolation_mode)', |
686 'test_isolation_outdir%': '<(test_isolation_outdir)', | 679 'test_isolation_outdir%': '<(test_isolation_outdir)', |
687 'enable_automation%': '<(enable_automation)', | 680 'enable_automation%': '<(enable_automation)', |
688 'enable_printing%': '<(enable_printing)', | 681 'enable_printing%': '<(enable_printing)', |
689 'enable_language_detection%': '<(enable_language_detection)', | 682 'enable_language_detection%': '<(enable_language_detection)', |
690 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 683 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
691 'disable_ftp_support%': '<(disable_ftp_support)', | 684 'disable_ftp_support%': '<(disable_ftp_support)', |
692 'enable_task_manager%': '<(enable_task_manager)', | 685 'enable_task_manager%': '<(enable_task_manager)', |
693 'sas_dll_path%': '<(sas_dll_path)', | 686 'sas_dll_path%': '<(sas_dll_path)', |
694 'wix_path%': '<(wix_path)', | 687 'wix_path%': '<(wix_path)', |
695 'android_upstream_bringup%': '<(android_upstream_bringup)', | |
696 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 688 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
697 'use_system_libjpeg%': '<(use_system_libjpeg)', | 689 'use_system_libjpeg%': '<(use_system_libjpeg)', |
698 'android_build_type%': '<(android_build_type)', | 690 'android_build_type%': '<(android_build_type)', |
699 'enable_app_list%': '<(enable_app_list)', | 691 'enable_app_list%': '<(enable_app_list)', |
700 'use_default_render_theme%': '<(use_default_render_theme)', | 692 'use_default_render_theme%': '<(use_default_render_theme)', |
701 'enable_settings_app%': '<(enable_settings_app)', | 693 'enable_settings_app%': '<(enable_settings_app)', |
702 'use_official_google_api_keys%': '<(use_official_google_api_keys)', | 694 'use_official_google_api_keys%': '<(use_official_google_api_keys)', |
703 'google_api_key%': '<(google_api_key)', | 695 'google_api_key%': '<(google_api_key)', |
704 'google_default_client_id%': '<(google_default_client_id)', | 696 'google_default_client_id%': '<(google_default_client_id)', |
705 'google_default_client_secret%': '<(google_default_client_secret)', | 697 'google_default_client_secret%': '<(google_default_client_secret)', |
(...skipping 2261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2967 ], | 2959 ], |
2968 'conditions': [ | 2960 'conditions': [ |
2969 ['component=="shared_library"', { | 2961 ['component=="shared_library"', { |
2970 'libraries': [ | 2962 'libraries': [ |
2971 '-lgnustl_shared', | 2963 '-lgnustl_shared', |
2972 ], | 2964 ], |
2973 'ldflags!': [ | 2965 'ldflags!': [ |
2974 '-Wl,--exclude-libs=ALL', | 2966 '-Wl,--exclude-libs=ALL', |
2975 ], | 2967 ], |
2976 }], | 2968 }], |
2977 ['android_upstream_bringup==1', { | |
2978 'defines': ['ANDROID_UPSTREAM_BRINGUP=1',], | |
2979 }], | |
2980 ['clang==1', { | 2969 ['clang==1', { |
2981 'cflags': [ | 2970 'cflags': [ |
2982 # Work around incompatibilities between bionic and clang | 2971 # Work around incompatibilities between bionic and clang |
2983 # headers. | 2972 # headers. |
2984 '-D__compiler_offsetof=__builtin_offsetof', | 2973 '-D__compiler_offsetof=__builtin_offsetof', |
2985 '-Dnan=__builtin_nan', | 2974 '-Dnan=__builtin_nan', |
2986 ], | 2975 ], |
2987 'conditions': [ | 2976 'conditions': [ |
2988 ['target_arch=="arm"', { | 2977 ['target_arch=="arm"', { |
2989 'cflags': [ | 2978 'cflags': [ |
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3888 # settings in target dicts. SYMROOT is a special case, because many other | 3877 # settings in target dicts. SYMROOT is a special case, because many other |
3889 # Xcode variables depend on it, including variables such as | 3878 # Xcode variables depend on it, including variables such as |
3890 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3879 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3891 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3880 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3892 # files to appear (when present) in the UI as actual files and not red | 3881 # files to appear (when present) in the UI as actual files and not red |
3893 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3882 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3894 # and therefore SYMROOT, needs to be set at the project level. | 3883 # and therefore SYMROOT, needs to be set at the project level. |
3895 'SYMROOT': '<(DEPTH)/xcodebuild', | 3884 'SYMROOT': '<(DEPTH)/xcodebuild', |
3896 }, | 3885 }, |
3897 } | 3886 } |
OLD | NEW |