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 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 'use_default_render_theme%': '<(use_default_render_theme)', | 748 'use_default_render_theme%': '<(use_default_render_theme)', |
749 'enable_settings_app%': '<(enable_settings_app)', | 749 'enable_settings_app%': '<(enable_settings_app)', |
750 'use_official_google_api_keys%': '<(use_official_google_api_keys)', | 750 'use_official_google_api_keys%': '<(use_official_google_api_keys)', |
751 'google_api_key%': '<(google_api_key)', | 751 'google_api_key%': '<(google_api_key)', |
752 'google_default_client_id%': '<(google_default_client_id)', | 752 'google_default_client_id%': '<(google_default_client_id)', |
753 'google_default_client_secret%': '<(google_default_client_secret)', | 753 'google_default_client_secret%': '<(google_default_client_secret)', |
754 'enable_managed_users%': '<(enable_managed_users)', | 754 'enable_managed_users%': '<(enable_managed_users)', |
755 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', | 755 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', |
756 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', | 756 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', |
757 | 757 |
| 758 |
758 # Use system ffmpeg instead of bundled one. | 759 # Use system ffmpeg instead of bundled one. |
759 'use_system_ffmpeg%': 0, | 760 'use_system_ffmpeg%': 0, |
760 | 761 |
761 # Use system mesa instead of bundled one. | 762 # Use system mesa instead of bundled one. |
762 'use_system_mesa%': 0, | 763 'use_system_mesa%': 0, |
763 | 764 |
764 # Use system nspr instead of the bundled one. | 765 # Use system nspr instead of the bundled one. |
765 'use_system_nspr%': 0, | 766 'use_system_nspr%': 0, |
766 | 767 |
767 # Use system protobuf instead of bundled one. | 768 # Use system protobuf instead of bundled one. |
(...skipping 2366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3134 # by remoting. Remoting is off, so it needn't built, | 3135 # by remoting. Remoting is off, so it needn't built, |
3135 # so forking it's deps seems like overkill. | 3136 # so forking it's deps seems like overkill. |
3136 # But this variable need defined to properly run gyp. | 3137 # But this variable need defined to properly run gyp. |
3137 # A proper solution is to have an OS==android conditional | 3138 # A proper solution is to have an OS==android conditional |
3138 # in third_party/libvpx/libvpx.gyp to define it. | 3139 # in third_party/libvpx/libvpx.gyp to define it. |
3139 'libvpx_path': 'lib/linux/arm', | 3140 'libvpx_path': 'lib/linux/arm', |
3140 }, | 3141 }, |
3141 'target_defaults': { | 3142 'target_defaults': { |
3142 'variables': { | 3143 'variables': { |
3143 'release_extra_cflags%': '', | 3144 'release_extra_cflags%': '', |
| 3145 'conditions': [ |
| 3146 # If we're using the components build, append "cr" to all shared |
| 3147 # libraries to avoid naming collisions with android system library |
| 3148 # versions with the same name (e.g. skia, icu). |
| 3149 # using |
| 3150 ['component=="shared_library"', { |
| 3151 'android_product_extension': 'cr.so', |
| 3152 }, { |
| 3153 'android_product_extension': 'so', |
| 3154 } ], |
| 3155 ], |
3144 }, | 3156 }, |
| 3157 'target_conditions': [ |
| 3158 ['_type=="shared_library"', { |
| 3159 'product_extension': '<(android_product_extension)', |
| 3160 }], |
3145 | 3161 |
3146 'target_conditions': [ | |
3147 # Settings for building device targets using Android's toolchain. | 3162 # Settings for building device targets using Android's toolchain. |
3148 # These are based on the setup.mk file from the Android NDK. | 3163 # These are based on the setup.mk file from the Android NDK. |
3149 # | 3164 # |
3150 # The NDK Android executable link step looks as follows: | 3165 # The NDK Android executable link step looks as follows: |
3151 # $LDFLAGS | 3166 # $LDFLAGS |
3152 # $(TARGET_CRTBEGIN_DYNAMIC_O) <-- crtbegin.o | 3167 # $(TARGET_CRTBEGIN_DYNAMIC_O) <-- crtbegin.o |
3153 # $(PRIVATE_OBJECTS) <-- The .o that we built | 3168 # $(PRIVATE_OBJECTS) <-- The .o that we built |
3154 # $(PRIVATE_STATIC_LIBRARIES) <-- The .a that we built | 3169 # $(PRIVATE_STATIC_LIBRARIES) <-- The .a that we built |
3155 # $(TARGET_LIBGCC) <-- libgcc.a | 3170 # $(TARGET_LIBGCC) <-- libgcc.a |
3156 # $(PRIVATE_SHARED_LIBRARIES) <-- The .so that we built | 3171 # $(PRIVATE_SHARED_LIBRARIES) <-- The .so that we built |
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4192 # settings in target dicts. SYMROOT is a special case, because many other | 4207 # settings in target dicts. SYMROOT is a special case, because many other |
4193 # Xcode variables depend on it, including variables such as | 4208 # Xcode variables depend on it, including variables such as |
4194 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4209 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4195 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4210 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4196 # files to appear (when present) in the UI as actual files and not red | 4211 # files to appear (when present) in the UI as actual files and not red |
4197 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4212 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4198 # and therefore SYMROOT, needs to be set at the project level. | 4213 # and therefore SYMROOT, needs to be set at the project level. |
4199 'SYMROOT': '<(DEPTH)/xcodebuild', | 4214 'SYMROOT': '<(DEPTH)/xcodebuild', |
4200 }, | 4215 }, |
4201 } | 4216 } |
OLD | NEW |