Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Side by Side Diff: build/common.gypi

Issue 12314025: Add gyp flag to specify whether we should optimize JNI generation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/android/jni_generator/jni_generator.py ('k') | build/jar_file_jni_generator.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 'android_sdk_tools%': '<(android_sdk_root)/platform-tools', 1142 'android_sdk_tools%': '<(android_sdk_root)/platform-tools',
1143 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_ver sion)', 1143 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_ver sion)',
1144 1144
1145 # Location of the "strip" binary, used by both gyp and scripts. 1145 # Location of the "strip" binary, used by both gyp and scripts.
1146 'android_strip%' : '<!(/bin/echo -n <(android_toolchain)/*-strip)', 1146 'android_strip%' : '<!(/bin/echo -n <(android_toolchain)/*-strip)',
1147 1147
1148 # Provides an absolute path to PRODUCT_DIR (e.g. out/Release). Used 1148 # Provides an absolute path to PRODUCT_DIR (e.g. out/Release). Used
1149 # to specify the output directory for Ant in the Android build. 1149 # to specify the output directory for Ant in the Android build.
1150 'ant_build_out': '`cd <(PRODUCT_DIR) && pwd -P`', 1150 'ant_build_out': '`cd <(PRODUCT_DIR) && pwd -P`',
1151 1151
1152 # Determines whether we should optimize JNI generation at the cost of
1153 # breaking assumptions in the build system that when inputs have changed
1154 # the outputs should always change as well. This is meant purely for
1155 # developer builds, to avoid spurious re-linking of native files.
1156 'optimize_jni_generation%': 0,
1157
1152 # Always uses openssl. 1158 # Always uses openssl.
1153 'use_openssl%': 1, 1159 'use_openssl%': 1,
1154 1160
1155 'proprietary_codecs%': '<(proprietary_codecs)', 1161 'proprietary_codecs%': '<(proprietary_codecs)',
1156 'enable_task_manager%': 0, 1162 'enable_task_manager%': 0,
1157 'safe_browsing%': 2, 1163 'safe_browsing%': 2,
1158 'configuration_policy%': 0, 1164 'configuration_policy%': 0,
1159 'input_speech%': 0, 1165 'input_speech%': 0,
1160 'enable_automation%': 0, 1166 'enable_automation%': 0,
1161 'java_bridge%': 1, 1167 'java_bridge%': 1,
(...skipping 2884 matching lines...) Expand 10 before | Expand all | Expand 10 after
4046 # settings in target dicts. SYMROOT is a special case, because many other 4052 # settings in target dicts. SYMROOT is a special case, because many other
4047 # Xcode variables depend on it, including variables such as 4053 # Xcode variables depend on it, including variables such as
4048 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4054 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4049 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4055 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4050 # files to appear (when present) in the UI as actual files and not red 4056 # files to appear (when present) in the UI as actual files and not red
4051 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4057 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4052 # and therefore SYMROOT, needs to be set at the project level. 4058 # and therefore SYMROOT, needs to be set at the project level.
4053 'SYMROOT': '<(DEPTH)/xcodebuild', 4059 'SYMROOT': '<(DEPTH)/xcodebuild',
4054 }, 4060 },
4055 } 4061 }
OLDNEW
« no previous file with comments | « base/android/jni_generator/jni_generator.py ('k') | build/jar_file_jni_generator.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698