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

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

Issue 14843017: [Android] Support building standalone APK in component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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 | « no previous file | build/android/gyp/finalize_apk.py » ('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 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 # {
(...skipping 19 matching lines...) Expand all
30 # Set component to 'shared_library' to enable the component build. This buil ds native code as 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 31 # many small shared libraries instead of one monolithic library. This slight ly reduces the time
32 # required for incremental builds. 32 # required for incremental builds.
33 'component%': 'shared_library', 33 'component%': 'shared_library',
34 34
35 # When gyp_managed_install is set to 1, building an APK will install that AP K on the connected 35 # 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 36 # 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. 37 # with each device attached. This greatly reduces the time required for incr emental builds.
38 # 38 #
39 # This comes with some caveats: 39 # This comes with some caveats:
40 # Only works with a single device connected. 40 # Only works with a single device connected (it will print a warning if
41 # zero or multiple devices are attached).
41 # Some actions are always run (i.e. ninja will never say "no work to do"). 42 # Some actions are always run (i.e. ninja will never say "no work to do").
42 # Native libraries are not packaged in the APK (you can not manually insta ll the APK)
43 'gyp_managed_install%': 1, 43 'gyp_managed_install%': 1,
44 44
45 # 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
47 # anyway. For even faster builds, you can set create_standalone_apk to 0.
48 'create_standalone_apk%': 1,
49
45 # Set clang to 1 to use the clang compiler. Clang has much (much, much) bett er warning/error 50 # Set clang to 1 to use the clang compiler. Clang has much (much, much) bett er warning/error
46 # messages than gcc. 51 # messages than gcc.
47 # TODO(cjhopman): Enable this when http://crbug.com/156420 is addressed. Unt il then, users can 52 # TODO(cjhopman): Enable this when http://crbug.com/156420 is addressed. Unt il then, users can
48 # set clang to 1, but Android stack traces will sometimes be incomplete. 53 # set clang to 1, but Android stack traces will sometimes be incomplete.
49 #'clang%': 1, 54 #'clang%': 1,
50 55
51 # Set fastbuild to 1 to build with less debugging information. This can grea tly decrease linking 56 # Set fastbuild to 1 to build with less debugging information. This can grea tly decrease linking
52 # time. The downside is that stack traces will be missing useful information (like line 57 # time. The downside is that stack traces will be missing useful information (like line
53 # numbers). 58 # numbers).
54 #'fastbuild%': 1, 59 #'fastbuild%': 1,
55 }, 60 },
56 } 61 }
OLDNEW
« no previous file with comments | « no previous file | build/android/gyp/finalize_apk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698