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

Side by Side Diff: build/android/developer_recommended_flags.gypi

Issue 380913002: Fix component build failure for users of developer_recommended_flags.gypi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 # This is the set of recommended gyp variable settings for Chrome for Android de velopment. 5 # This is the set of recommended gyp variable settings for Chrome for Android de velopment.
6 # 6 #
7 # These can be used by copying this file to $CHROME_SRC/chrome/supplement.gypi. 7 # These can be used by copying this file to $CHROME_SRC/chrome/supplement.gypi.
8 # 8 #
9 # Even better, create chrome/supplement.gypi containing the following: 9 # Even better, create chrome/supplement.gypi containing the following:
10 # { 10 # {
11 # 'includes': [ '../build/android/developer_recommended_flags.gypi' ] 11 # 'includes': [ '../build/android/developer_recommended_flags.gypi' ]
12 # } 12 # }
13 # and you'll get new settings automatically. 13 # and you'll get new settings automatically.
14 # When using this method, you can override individual settings by setting them u nconditionally (with 14 # When using this method, you can override individual settings by setting them u nconditionally (with
15 # no %) in chrome/supplement.gypi. 15 # no %) in chrome/supplement.gypi.
16 # I.e. to disable optimize_jni_generation but use everything else: 16 # I.e. to disable optimize_jni_generation but use everything else:
17 # { 17 # {
18 # 'variables': { 18 # 'variables': {
19 # 'optimize_jni_generation': 0, 19 # 'optimize_jni_generation': 0,
20 # }, 20 # },
21 # 'includes': [ '../build/android/developer_recommended_flags.gypi' ] 21 # 'includes': [ '../build/android/developer_recommended_flags.gypi' ]
22 # } 22 # }
23 23
24 { 24 {
25 'variables': { 25 'variables': {
26 'variables': {
jdduke (slow) 2014/07/09 22:29:51 Is it self explanatory why the variable should be
27 # Set component to 'shared_library' to enable the component build. This bu ilds native code as
28 # many small shared libraries instead of one monolithic library. This slig htly reduces the time
29 # required for incremental builds.
30 'component%': 'shared_library',
31 },
32 'component%': '<(component)',
33
26 # When set to 1, only write jni generated files if they've changed. This can prevent unnecessary 34 # When set to 1, only write jni generated files if they've changed. This can prevent unnecessary
27 # compiling/linking of native libraries when editing java files. 35 # compiling/linking of native libraries when editing java files.
28 'optimize_jni_generation%': 1, 36 'optimize_jni_generation%': 1,
29 37
30 # Set component to 'shared_library' to enable the component build. This buil ds native code as
31 # many small shared libraries instead of one monolithic library. This slight ly reduces the time
32 # required for incremental builds.
33 'component%': 'shared_library',
34
35 # When gyp_managed_install is set to 1, building an APK will install that AP K on the connected 38 # When gyp_managed_install is set to 1, building an APK will install that AP K on the connected
36 # device(/emulator). To install on multiple devices (or onto a new device), build the APK once 39 # device(/emulator). To install on multiple devices (or onto a new device), build the APK once
37 # with each device attached. This greatly reduces the time required for incr emental builds. 40 # with each device attached. This greatly reduces the time required for incr emental builds.
38 # 41 #
39 # This comes with some caveats: 42 # This comes with some caveats:
40 # Only works with a single device connected (it will print a warning if 43 # Only works with a single device connected (it will print a warning if
41 # zero or multiple devices are attached). 44 # zero or multiple devices are attached).
42 # Some actions are always run (i.e. ninja will never say "no work to do"). 45 # Some actions are always run (i.e. ninja will never say "no work to do").
43 'gyp_managed_install%': 1, 46 'gyp_managed_install%': 1,
44 47
45 # With gyp_managed_install, we do not necessarily need a standalone APK. 48 # With gyp_managed_install, we do not necessarily need a standalone APK.
46 # When create_standalone_apk is set to 1, we will build a standalone APK 49 # When create_standalone_apk is set to 1, we will build a standalone APK
47 # anyway. For even faster builds, you can set create_standalone_apk to 0. 50 # anyway. For even faster builds, you can set create_standalone_apk to 0.
48 'create_standalone_apk%': 1, 51 'create_standalone_apk%': 1,
49 52
50 # Set clang to 1 to use the clang compiler. Clang has much (much, much) bett er warning/error 53 # Set clang to 1 to use the clang compiler. Clang has much (much, much) bett er warning/error
51 # messages than gcc. 54 # messages than gcc.
52 # TODO(cjhopman): Enable this when http://crbug.com/156420 is addressed. Unt il then, users can 55 # TODO(cjhopman): Enable this when http://crbug.com/156420 is addressed. Unt il then, users can
53 # set clang to 1, but Android stack traces will sometimes be incomplete. 56 # set clang to 1, but Android stack traces will sometimes be incomplete.
54 #'clang%': 1, 57 #'clang%': 1,
55 58
56 # Set fastbuild to 1 to build with less debugging information. This can grea tly decrease linking 59 # Set fastbuild to 1 to build with less debugging information. This can grea tly decrease linking
57 # time. The downside is that stack traces will be missing useful information (like line 60 # time. The downside is that stack traces will be missing useful information (like line
58 # numbers). 61 # numbers).
59 #'fastbuild%': 1, 62 #'fastbuild%': 1,
60 }, 63 },
61 } 64 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698