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

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

Issue 14122013: [Android] Add recommended.gypi with recommended settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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
(Empty)
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
3 # found in the LICENSE file.
4
5 # This is the set of recommended gyp variable settings for Chrome for Android de velopment.
6 #
7 # These can be used by copying them into ~/.gyp/include.gypi or $CHROME_SRC/chro me/supplement.gypi
8 # Even better, use the below in chrome/supplement.gypi:
9 # {
10 # 'includes': [ '../build/android/developer_recommended_flags.gypi' ]
11 # }
12 # and you'll get new settings automatically.
13
14 {
15 'variables': {
16 # When set to 1, only write jni generated files if they've changed. This can prevent unnecessary
17 # compiling/linking of native libraries when editing java files.
18 'optimize_jni_generation': 1,
19
20 # Set component to 'shared_library' to enable the component build. This buil ds native code as
21 # many small shared libraries instead of one monolithic library. This slight ly reduces the time
22 # required for incremental builds.
23 'component': 'shared_library',
24
25 # When gyp_managed_install is set to 1, building an APK will install that AP K on the connected
26 # device(/emulator). To install on multiple devices (or onto a new device), build the APK once
27 # with each device attached. This greatly reduces the time required for incr emental builds.
28 #
29 # This comes with some caveats:
30 # Only works with a single device connected.
31 # Some actions are always run (i.e. ninja will never say "no work to do").
32 # Native libraries are not packaged in the APK (you can not manually insta ll the APK)
33 'gyp_managed_install': 1,
34
35 # Set clang to 1 to use the clang compiler. Clang has much (much, much) bett er warning/error
36 # messages than gcc.
37 # TODO(cjhopman): Enable this when http://crbug.com/156420 is addressed. Unt il then, users can
38 # set clang to 1, but Android stack traces will sometimes be incomplete.
39 #'clang': 1,
40 },
41 }
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