├── .gitignore
├── LICENSE.txt
├── README.md
├── config.mk
├── core
├── clear_vars.mk
├── copy_files.py
├── definitions.mk
├── find_apk.sh
├── mk_generator_for_kitkat.py
├── prebuilt_apk.mk
└── prebuilt_shared_library.mk
├── modules
├── ActionsServices
│ └── Android.mk
├── AndroidAuto
│ └── Android.mk
├── AndroidMediaShell
│ └── Android.mk
├── AndroidMigratePrebuilt
│ └── Android.mk
├── AndroidPlatformServices
│ └── Android.mk
├── AtvRemoteService
│ └── Android.mk
├── AtvWidget
│ └── Android.mk
├── Backdrop
│ └── Android.mk
├── Books
│ └── Android.mk
├── CalculatorGoogle
│ └── Android.mk
├── CalendarGooglePrebuilt
│ └── Android.mk
├── CanvasPackageInstaller
│ └── Android.mk
├── CarrierServices
│ └── Android.mk
├── Chrome
│ └── Android.mk
├── ConfigUpdater
│ └── Android.mk
├── DMAgent
│ └── Android.mk
├── DigitalWellbeing
│ └── Android.mk
├── Drive
│ └── Android.mk
├── EditorsDocs
│ └── Android.mk
├── EditorsSheets
│ └── Android.mk
├── EditorsSlides
│ └── Android.mk
├── FitnessPrebuilt
│ └── Android.mk
├── GCS
│ └── Android.mk
├── GmsCoreSetupPrebuilt
│ └── Android.mk
├── GoogleBackupTransport
│ └── Android.mk
├── GoogleCalendarSyncAdapter
│ └── Android.mk
├── GoogleCamera
│ └── Android.mk
├── GoogleContacts
│ └── Android.mk
├── GoogleContactsSyncAdapter
│ └── Android.mk
├── GoogleDialer
│ └── Android.mk
├── GoogleEarth
│ └── Android.mk
├── GoogleExtServices
│ └── Android.mk
├── GoogleExtShared
│ └── Android.mk
├── GoogleFeedback
│ └── Android.mk
├── GoogleHindiIME
│ └── Android.mk
├── GoogleJapaneseInput
│ └── Android.mk
├── GoogleLoginService
│ └── Android.mk
├── GoogleNow
│ └── Android.mk
├── GoogleOneTimeInitializer
│ └── Android.mk
├── GooglePackageInstaller
│ └── Android.mk
├── GooglePartnerSetup
│ └── Android.mk
├── GooglePinyinIME
│ └── Android.mk
├── GooglePrintRecommendationService
│ └── Android.mk
├── GoogleServicesFramework
│ └── Android.mk
├── GoogleTTS
│ └── Android.mk
├── GoogleVrCore
│ └── Android.mk
├── GoogleWebViewOverlay
│ ├── Android.mk
│ ├── AndroidManifest.xml
│ └── res
│ │ └── xml
│ │ └── config_webview_packages.xml
├── GoogleZhuyinIME
│ └── Android.mk
├── Hangouts
│ └── Android.mk
├── Katniss
│ └── Android.mk
├── KoreanIME
│ └── Android.mk
├── LatinImeGoogle
│ └── Android.mk
├── LeanbackIme
│ └── Android.mk
├── LeanbackLauncher
│ └── Android.mk
├── Maps
│ └── Android.mk
├── MarkupGoogle
│ └── Android.mk
├── Music2
│ └── Android.mk
├── Music2Pano
│ └── Android.mk
├── Newsstand
│ └── Android.mk
├── NoTouchAuthDelegate
│ └── Android.mk
├── Phonesky
│ └── Android.mk
├── PhoneskyKamikazeCanvas
│ └── Android.mk
├── Photos
│ └── Android.mk
├── PixelLauncher
│ └── Android.mk
├── PixelLauncherIcons
│ └── Android.mk
├── PlayGames
│ └── Android.mk
├── PlayGamesPano
│ └── Android.mk
├── PrebuiltBugle
│ └── Android.mk
├── PrebuiltDeskClockGoogle
│ └── Android.mk
├── PrebuiltExchange3Google
│ └── Android.mk
├── PrebuiltGmail
│ └── Android.mk
├── PrebuiltGmsCore
│ └── Android.mk
├── PrebuiltGmsCoreInstantApps
│ └── Android.mk
├── PrebuiltGmsCorePano
│ └── Android.mk
├── PrebuiltKeep
│ └── Android.mk
├── RecommendationsService
│ └── Android.mk
├── SecondScreenSetup
│ └── Android.mk
├── SecondScreenSetupAuthBridge
│ └── Android.mk
├── SetupWizard
│ └── Android.mk
├── SetupWraithPrebuilt
│ └── Android.mk
├── SoundPicker
│ └── Android.mk
├── StorageManagerGoogle
│ └── Android.mk
├── Street
│ └── Android.mk
├── TV
│ └── Android.mk
├── TVLauncher
│ └── Android.mk
├── TVRecommendations
│ └── Android.mk
├── TagGoogle
│ └── Android.mk
├── TranslatePrebuilt
│ └── Android.mk
├── TrichromeLibrary
│ └── Android.mk
├── Turbo
│ └── Android.mk
├── Tycho
│ └── Android.mk
├── Velvet
│ └── Android.mk
├── Videos
│ └── Android.mk
├── VideosPano
│ └── Android.mk
├── Wallet
│ └── Android.mk
├── Wallpapers
│ └── Android.mk
├── WebViewGoogle
│ └── Android.mk
├── YouTube
│ └── Android.mk
├── YouTubeLeanback
│ └── Android.mk
└── talkback
│ └── Android.mk
├── opengapps-files.mk
├── opengapps-packages.mk
├── overlay
├── assistant
│ └── 28
│ │ └── frameworks
│ │ └── base
│ │ └── core
│ │ └── res
│ │ └── res
│ │ └── values
│ │ └── config.xml
├── browser
│ └── frameworks
│ │ └── base
│ │ └── core
│ │ └── res
│ │ └── res
│ │ └── values
│ │ └── config.xml
├── dialer
│ └── packages
│ │ └── services
│ │ ├── Telecomm
│ │ └── res
│ │ │ └── values
│ │ │ └── config.xml
│ │ └── Telephony
│ │ └── res
│ │ └── values
│ │ └── config.xml
├── mms
│ └── frameworks
│ │ └── base
│ │ └── core
│ │ └── res
│ │ └── res
│ │ └── values
│ │ └── config.xml
├── pico
│ └── frameworks
│ │ └── base
│ │ ├── core
│ │ └── res
│ │ │ └── res
│ │ │ └── values
│ │ │ └── config.xml
│ │ └── packages
│ │ └── SettingsProvider
│ │ └── res
│ │ └── values
│ │ └── config.xml
├── pixelicons
│ ├── 25
│ │ └── frameworks
│ │ │ └── base
│ │ │ └── core
│ │ │ └── res
│ │ │ └── res
│ │ │ └── values
│ │ │ └── config.xml
│ └── 26
│ │ └── frameworks
│ │ └── base
│ │ └── core
│ │ └── res
│ │ └── res
│ │ └── values
│ │ └── config.xml
├── pixellauncher
│ └── 28
│ │ └── frameworks
│ │ └── base
│ │ └── core
│ │ └── res
│ │ └── res
│ │ └── values
│ │ └── config.xml
├── tvmini
│ └── frameworks
│ │ └── base
│ │ └── core
│ │ └── res
│ │ └── res
│ │ └── values
│ │ └── config.xml
└── webview
│ ├── 21
│ └── frameworks
│ │ └── base
│ │ └── core
│ │ └── res
│ │ └── res
│ │ └── values
│ │ └── config.xml
│ └── 24
│ └── frameworks
│ └── base
│ └── core
│ └── res
│ └── res
│ └── xml
│ └── config_webview_packages.xml
└── patches
├── Lollipop
├── 0001-Fix-Chrome.patch
└── README.md
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | # These artifacts are from the auto generation script. They're safe to ignore.
2 | modules/product.mk
3 | modules/product_copy_files.txt
4 | modules/app_densities.txt
5 | modules/README
6 |
7 | # makefile for shared library for kitkat
8 | modules/*/SharedLibrary.mk
9 |
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # OpenGApps AOSP based build system
2 |
3 | ## ++Infrastructure Issues++
4 |
5 | **05-Nov-2019** Gitlab maintenance: we've recreated all of our package repos
6 | (`all, arm, arm64, x86, x86_64`) from scratch. Please make sure to:
7 | - install `git-lfs` (more info [here](https://git-lfs.github.com/)) since we're now using it
8 | - clean and do a fresh pull before building
9 |
10 | **25-Feb-2019** Please see [Ilya Danilkin's blog
11 | post](https://opengapps.org/blog/post/2019/02/17/github-situation/) on
12 | the main OpenGapps project page that explains GitHub infrastructure
13 | issues that affected certain opengapps projects:
14 |
15 | https://opengapps.org/blog/post/2019/02/17/github-situation/
16 |
17 | In short, the git-remote has changed for the projects `all, arm,
18 | arm64, x86, x86_64`. You should update your manifest entries for
19 | those projects (see the updated example below that uses the remote
20 | "gitlab").
21 |
22 | More discussion on this issue can be found here:
23 |
24 | https://github.com/opengapps/opengapps/issues/719
25 |
26 | ## Disclaimer
27 | 1. **Use this at your own risk.** Cyanogenmod received a cease and desist letter from Google when they included Google Apps in their ROM. See: [A Note on Google Apps for Android](http://android-developers.blogspot.com/2009/09/note-on-google-apps-for-android.html)
28 | 2. **This project is in no way affiliated with, sponsored by, or related to Google.**
29 |
30 | ## Getting started
31 | **1. Add the build system, and the wanted sources to your manifest.**
32 |
33 | Find your manifest file (check inside `${ANDROID_BUILD_TOP}/.repo/manifests/`)
34 | and add the following towards the end:
35 | ```xml
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | ```
50 |
51 | **2. Set the desired OpenGapps variant**
52 |
53 | In your `device/manufacturer/product/device.mk` file, in the beginning, add:
54 | ```makefile
55 | GAPPS_VARIANT :=
56 | ```
57 |
58 | where `` is one of the [package types](https://github.com/opengapps/opengapps/wiki/Package-Comparison) in lowercase. E.g:
59 |
60 | ```makefile
61 | GAPPS_VARIANT := stock
62 | ```
63 |
64 | **3. Include the opengapps-packages.mk file**
65 |
66 | The `opengapps-packages.mk` file will make the Android build system build the necessary `PRODUCT_PACKAGES`, and include the necessary `PRODUCT_COPY_FILES`.
67 |
68 | In `device/manufacturer/product/device.mk` file, towards the end, add:
69 | ```makefile
70 | $(call inherit-product, vendor/opengapps/build/opengapps-packages.mk)
71 | ```
72 |
73 | **4. Install git LFS and pull in all dependencies**
74 |
75 | ```bash
76 | # More info: https://github.com/git-lfs/git-lfs/blob/master/INSTALLING.md
77 | # Apt/deb
78 | sudo apt install git-lfs
79 | # Yum/rpm
80 | sudo yum install git-lfs
81 | # on macOS
82 | brew install git-lfs
83 |
84 | git lfs install
85 | repo forall -c git lfs pull
86 | ```
87 |
88 | **5. Build Android**
89 |
90 | ## Customizations
91 | ### Adding extra packages
92 | You can add packages from versions higher then your set version. E.g. if you want to include `Chrome`, but you use `GAPPS_VARIANT := micro`
93 |
94 | In your `device/manufacturer/product/device.mk` just add, for example:
95 |
96 | ```makefile
97 | GAPPS_PRODUCT_PACKAGES += Chrome
98 | ```
99 |
100 | This uses the module name. You can find the module name for a package by checking `vendor/opengapps/build/modules/` and look at the `LOCAL_MODULE` value.
101 |
102 | ### Excluding packages
103 | You can exclude certain packages from the list of packages associated with your selected OpenGapps variant. E.g. if you have `GAPPS_VARIANT := stock`
104 | and want all those apps installed except for `Hangouts`, then in your `device/manufacturer/product/device.mk` just add:
105 |
106 | ```makefile
107 | GAPPS_EXCLUDED_PACKAGES := Hangouts
108 | ```
109 |
110 | ### Force stock package overrides
111 | You can force GApps packages to override the stock packages.
112 | This can be defined in two ways inside `device/manufacturer/product/device.mk`.
113 |
114 | For all package:
115 |
116 | ```makefile
117 | GAPPS_FORCE_PACKAGE_OVERRIDES := true
118 | ```
119 |
120 | If you want to include WebViewGoogle on a non-stock build you need:
121 |
122 | ```makefile
123 | GAPPS_FORCE_WEBVIEW_OVERRIDES := true
124 | ```
125 |
126 | If you want to include Messenger on a non-stock build you need:
127 |
128 | ```makefile
129 | GAPPS_FORCE_MMS_OVERRIDES := true
130 | ```
131 |
132 | If you want to include Google Dialer on a non-stock build you need:
133 |
134 | ```makefile
135 | GAPPS_FORCE_DIALER_OVERRIDES := true
136 | ```
137 |
138 | If you want to include Chrome on a non-full build you need:
139 |
140 | ```makefile
141 | GAPPS_FORCE_BROWSER_OVERRIDES := true
142 | ```
143 |
144 | PixelLauncher is the default launcher in Oreo builds (and newer); in
145 | builds older than Oreo, the default launcher is GoogleNow. If
146 | desired, then you can force PixelLauncher to be used by setting the
147 | following variable:
148 |
149 | ```makefile
150 | GAPPS_FORCE_PIXEL_LAUNCHER := true
151 | ```
152 |
153 | On a per-app basis, add the GApps package to `GAPPS_PACKAGE_OVERRIDES`.
154 | Example:
155 |
156 | ```makefile
157 | GAPPS_PACKAGE_OVERRIDES := Chrome
158 | ```
159 |
160 | ### Disable stock packages overrides
161 | You can tell the GApps packages not to override the stock packages.
162 | This can be defined inside `device/manufacturer/product/device.mk` by adding the GApps package to `GAPPS_BYPASS_PACKAGE_OVERRIDES`.
163 | Example:
164 |
165 | ```makefile
166 | GAPPS_BYPASS_PACKAGE_OVERRIDES := Chrome
167 | ```
168 |
169 | ### Force the system to get the correct DPI package for your device
170 | By default, the latest package version will be selected with the closest DPI.
171 | You can force the system to select either a matching DPI package or "nodpi" package even if it is not the latest version.
172 |
173 | This can be defined inside `device/manufacturer/product/device.mk` using:
174 |
175 | ```makefile
176 | GAPPS_FORCE_MATCHING_DPI := true
177 | ```
178 |
179 | ### DEX pre-optimization
180 | It is possible to build Android with dex preoptimization. This results in a quicker boot time, at the cost of additional storage used on `/system`.
181 |
182 | This is normally done by setting the value:
183 | ```makefile
184 | WITH_DEXPREOPT := true
185 | ```
186 |
187 | in `BoardConfig.mk`. This will, by default, if set to true, also enable DEX Preoptimization for Google Apps.
188 |
189 | You can disable this entirely by setting:
190 | ```makefile
191 | DONT_DEXPREOPT_PREBUILTS := true
192 | ```
193 |
194 | ## How it works
195 |
196 | When building in an AOSP tree, the build system processes the file `device/manufacturer/product/device.mk` very early, which means that the file `vendor/opengapps/build/opengapps-packages.mk` is also processed very early.
197 | This causes two special build "functions" (generic build rules) to be defined before any Android.mk files are read:
198 |
199 | ```makefile
200 | BUILD_GAPPS_PREBUILT_APK # - for apps
201 | BUILD_GAPPS_PREBUILT_SHARED_LIBRARY # - for shared libraries
202 | ```
203 |
204 | The definitions use the already existing AOSP build infrastructure for prebuilt APKs and SHARED_LIBRARYs, but remove a lot of the boilerplate.
205 |
206 | The build rules take care of locating the correct APK/libraries in an architecture-independent way. The AOSP based build system already prioritizes SoC architecture. E.g. if it finds an apk in `sources/arm64` and `sources/arm`, it will automatically prioritize `sources/arm64`.
207 |
208 | The APK rule will also scan the APK for any libraries, and if it finds libraries it will get the AOSP build system to automatically extract them and place them at the expected place.
209 |
210 | ## Caveats
211 | ### Some modules are missing overrides
212 | With reference to the [package comparison](https://github.com/opengapps/opengapps/wiki/Package-Comparison), currently only package overrides has been setup for a `GAPPS_VARIANT` of `micro` or lower, + `Chrome`.
213 |
214 | Pull requests to add package overrides for more modules is welcome. See `modules/Chrome/Android.mk` for an example.
215 |
216 | ### Chrome on Lollipop requires an extra patch
217 | Run these commands:
218 | ```bash
219 | cd build
220 | curl https://raw.githubusercontent.com/opengapps/aosp_build/master/patches/Lollipop/0001-Fix-Chrome.patch | git am -
221 | ```
222 |
223 | (Patch only tested on 5.1.1 r37).
224 |
--------------------------------------------------------------------------------
/config.mk:
--------------------------------------------------------------------------------
1 | # Opengapps AOSP build system
2 | GAPPS_BUILD_SYSTEM_PATH := vendor/opengapps/build/core
3 | GAPPS_SOURCES_PATH := vendor/opengapps/sources
4 | GAPPS_DEVICE_FILES_PATH := vendor/opengapps/build
5 | GAPPS_CLEAR_VARS := $(GAPPS_BUILD_SYSTEM_PATH)/clear_vars.mk
6 |
7 | BUILD_GAPPS_PREBUILT_APK := $(GAPPS_BUILD_SYSTEM_PATH)/prebuilt_apk.mk
8 | BUILD_GAPPS_PREBUILT_SHARED_LIBRARY := $(GAPPS_BUILD_SYSTEM_PATH)/prebuilt_shared_library.mk
9 |
10 | # check that we reside under the expected path, otherwise the
11 | # variables defined above are invalid
12 | ifeq ($(wildcard $(GAPPS_DEVICE_FILES_PATH)/config.mk),)
13 | $(error Please update your manifest to use the path "$(GAPPS_DEVICE_FILES_PATH)" for the "aosp_build" project)
14 | endif
15 |
16 | ifeq ($(GAPPS_VARIANT),)
17 | $(error GAPPS_VARIANT must be configured)
18 | endif
19 |
20 | # Device should define their GAPPS_VARIANT in device/manufacturer/product/BoardConfig.mk
21 | GAPPS_VARIANT_EVAL := $(call get-gapps-variant,$(GAPPS_VARIANT))
22 |
23 | ifeq ($(GAPPS_VARIANT_EVAL),)
24 | $(error GAPPS_VARIANT $(GAPPS_VARIANT) was not found. Use of one of pico,nano,micro,mini,full,stock,super,tvmini,tvstock)
25 | endif
26 |
27 | TARGET_GAPPS_VARIANT := $(GAPPS_VARIANT_EVAL)
28 |
29 | ifneq ($(filter tvmini,$(TARGET_GAPPS_VARIANT)),)
30 | ifeq ($(filter 24,$(call get-allowed-api-levels)),)
31 | $(error GAPPS_VARIANT $(GAPPS_VARIANT) is not supported on API $(PLATFORM_SDK_VERSION).)
32 | endif
33 | endif
34 |
35 | ifeq ($(GAPPS_FORCE_MATCHING_DPI),)
36 | GAPPS_FORCE_MATCHING_DPI := false
37 | endif
38 |
39 | ifeq ($(GAPPS_FORCE_MATCHING_DPI),false)
40 | GAPPS_AAPT_PATH := $(shell find prebuilts/sdk/tools/$(HOST_OS) -perm /111 -name aapt | head -n 1)
41 | # Check if aapt is present in prebuilts or if it is installed.
42 | ifeq ($(wildcard $(GAPPS_AAPT_PATH)),)
43 | GAPPS_TEST_AAPT := $(shell command -v aapt)
44 | ifeq ($(GAPPS_TEST_AAPT),)
45 | $(error aapt is not available. Please install it first ("sudo apt-get install aapt") or define GAPPS_FORCE_MATCHING_DPI := true)
46 | else
47 | GAPPS_AAPT_PATH := aapt
48 | endif
49 | endif
50 | endif
51 |
--------------------------------------------------------------------------------
/core/clear_vars.mk:
--------------------------------------------------------------------------------
1 | # Reset custom local variables.
2 | GAPPS_LOCAL_OVERRIDES_PACKAGES :=
3 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
4 |
--------------------------------------------------------------------------------
/core/copy_files.py:
--------------------------------------------------------------------------------
1 | """
2 | OpenGapps Copy Files
3 |
4 | This takes the sources directory, folder and platform level as input, and produces
5 | to the standard output a FILE:system/FILE structure that will be used by the
6 | AOSP build system PRODUCT_COPY_FILES.
7 | """
8 |
9 | import os
10 | import re
11 | import subprocess
12 | import sys
13 |
14 | def main():
15 | """
16 | Main
17 | """
18 | if len(sys.argv) != 4:
19 | print("expect {} [opengapps sources] [folder] [platform level]".format(sys.argv[0]))
20 | sys.exit(-1)
21 |
22 | opengapps_sources = sys.argv[1]
23 | if not opengapps_sources.endswith('/'):
24 | opengapps_sources += '/'
25 |
26 | folder = sys.argv[2]
27 | max_api_level = int(sys.argv[3])
28 |
29 | files = {}
30 | pattern = re.compile(r'(\d{2})/.*')
31 | for dp, dn, found_files in os.walk(opengapps_sources):
32 | for line in found_files:
33 | line = os.path.join(dp, line)
34 | file_name = line.strip('\n').replace(opengapps_sources, '')
35 | if not file_name.startswith(folder):
36 | continue
37 |
38 | # Remove folder name, we'll prepend this later
39 | file_name = file_name.replace('{}/'.format(folder), '')
40 | match = pattern.match(file_name)
41 | if match and int(match.group(1)) <= max_api_level:
42 | version = int(match.group(1))
43 | file_name = file_name.replace('{}/'.format(version), '')
44 |
45 | if file_name in files and int(files[file_name]) > version:
46 | continue
47 |
48 | files[file_name] = version
49 | elif not match:
50 | files[file_name] = None
51 |
52 | for key in files:
53 | version = files[key]
54 | if version:
55 | print("{0}{1}/{2}/{3}:system/{1}/{3}".format(opengapps_sources, folder, version, key))
56 | else:
57 | print("{0}{1}/{2}:system/{1}/{2}".format(opengapps_sources, folder, key))
58 |
59 | if __name__ == "__main__":
60 | main()
61 |
--------------------------------------------------------------------------------
/core/definitions.mk:
--------------------------------------------------------------------------------
1 | # this file is explicitly included by opengapps-packages.mk, but it
2 | # also gets automatically included by the aosp build system. To
3 | # prevent the defines below from being automatically set even for
4 | # devices that do not have opengapps configured, we use an "ifneq"
5 | # guard. Alternatively, we could rename this file to something like
6 | # "defines.mk".
7 | ifneq ($(GAPPS_VARIANT),)
8 |
9 | define get-allowed-api-levels
10 | $(shell seq 1 "$(PLATFORM_SDK_VERSION)")
11 | endef
12 |
13 | define get-allowed-api-levels-regex
14 | ($(call subst,,|,$(call get-allowed-api-levels)))
15 | endef
16 |
17 | define find-apk-for-pkg
18 | $(shell "$(GAPPS_BUILD_SYSTEM_PATH)/find_apk.sh" "$(GAPPS_SOURCES_PATH)" "$(PLATFORM_SDK_VERSION)" "$(PRODUCT_AAPT_PREF_CONFIG)" "$(2)" "$(1)" "$(GAPPS_FORCE_MATCHING_DPI)" "$(GAPPS_AAPT_PATH)")
19 | endef
20 |
21 | define get-lib-search-path
22 | $(if $(filter arm,$(1)),lib/armeabi*/*,lib/$(1)*/*)
23 | endef
24 |
25 | define find-libs-in-apk
26 | $(addprefix @,$(shell zipinfo -1 "$(2)" | grep "$(call get-lib-search-path, $(1))" | grep -v "*/crazy.*"))
27 | endef
28 |
29 | define get-gapps-variant
30 | $(strip \
31 | $(if $(filter pico, $(1)),pico) \
32 | $(if $(filter nano, $(1)),pico nano) \
33 | $(if $(filter micro,$(1)),pico nano micro) \
34 | $(if $(filter mini, $(1)),pico nano micro mini) \
35 | $(if $(filter full, $(1)),pico nano micro mini full) \
36 | $(if $(filter stock,$(1)),pico nano micro mini full stock) \
37 | $(if $(filter super,$(1)),pico nano micro mini full stock super) \
38 | $(if $(filter tvmini,$(1)),tvmini) \
39 | $(if $(filter tvstock,$(1)),tvmini tvstock) \
40 | )
41 | endef
42 |
43 | define gapps-copy-to-system
44 | $(shell python "$(GAPPS_BUILD_SYSTEM_PATH)/copy_files.py" "$(GAPPS_SOURCES_PATH)/$(1)/" "$(2)" "$(PLATFORM_SDK_VERSION)")
45 | endef
46 |
47 | define _gapps-find-lib-alternatives
48 | $(foreach F,$(call get-allowed-api-levels),$(join $(join $(1)/,$F)/,$(2)))
49 | endef
50 |
51 | define gapps-find-lib-for-arch
52 | $(join $(GAPPS_SOURCES_PATH)/,$(shell cd "$(GAPPS_SOURCES_PATH)"; \
53 | find -L $(call _gapps-find-lib-alternatives,$(join $(1)/,$(2)),$(3)) 2>/dev/null | tail -n1))
54 | endef
55 |
56 | define gapps-find-lib-for-kitkat
57 | $(join $(GAPPS_SOURCES_PATH)/,$(shell cd "$(GAPPS_SOURCES_PATH)"; \
58 | find -L $(join arm/lib/19/lib_from_app/,$(1)) 2>/dev/null | tail -n1))
59 | endef
60 |
61 | endif
62 |
--------------------------------------------------------------------------------
/core/find_apk.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | getlatestapk() {
4 | # This functions finds the latest available version for the given architeture.
5 | aaptcmd="$3"
6 | sourceapk=""
7 | highversion=""
8 | tempapks=( )
9 | OLDIFS="$IFS"
10 | IFS="
11 | " # We set IFS to newline here so that filenames containing spaces are
12 | # handled correctly in the for-loops below.
13 |
14 | local LZ_DECOMPRESS_CMD="false"
15 | local LZ_DECOMPRESS_ARG=""
16 | if command -v lunzip > /dev/null; then
17 | LZ_DECOMPRESS_CMD="lunzip"
18 | elif command -v lzip > /dev/null; then
19 | LZ_DECOMPRESS_CMD="lzip"
20 | LZ_DECOMPRESS_ARG="--decompress"
21 | fi;
22 |
23 | # decompress apks
24 | # some apks are lz compressed to work around github file-size limits.
25 | for foundapklz in $(find "$1" -iname '*.apk.lz'); do
26 | $LZ_DECOMPRESS_CMD $LZ_DECOMPRESS_ARG --keep "$foundapklz" || echo "Warning: lz decompress command failed for $foundapklz" >&2
27 | done
28 |
29 | # sed copies filename to the beginning, to compare version, and later we remove it with cut
30 | for foundapk in $(find "$1" -iname '*.apk' | sed 's!.*/\(.*\)!\1/&!' | sort -r -t/ -k1,1 -n | cut -d/ -f2-); do
31 | # Get package version name
32 | apkprops="$("$aaptcmd" dump badging "$foundapk" 2> /dev/null)"
33 | apkversion="$(echo "$apkprops" | awk -F="'" '/versionName=/ {print $4}' | sed "s/'.*//g")"
34 | # Get invariant version name.
35 | # We first remove evrything after the first space.
36 | apkversion="$(printf "$apkversion" | cut -d ' ' -f 1)"
37 | # Then, we remove everything after the fourth dot.
38 | apkversionparts=$(echo "$apkversion" | tr '.' '\n')
39 | j=0
40 | apkversion=""
41 |
42 | for part in ${apkversionparts[@]}; do
43 | if [ $j -ge 4 ]; then
44 | break;
45 | else
46 | if [ $j -ge 1 ]; then
47 | apkversion+="."
48 | fi
49 | apkversion+="$part"
50 | ((j++))
51 | fi
52 | done
53 |
54 | if [ -z "$highversion" ]; then
55 | # Take note of the highest version.
56 | highversion="$apkversion"
57 | elif [ "$highversion" != "$apkversion" ]; then
58 | # Skip lower versions.
59 | break;
60 | fi
61 | # Add package to list.
62 | tempapks+=("$foundapk")
63 | done
64 |
65 | if [ ${#tempapks[@]} -ge 2 ]; then
66 | # See if there is a package for this dpi or a nodpi package.
67 | for foundapk in ${tempapks[@]}; do
68 | dpipath="$(dirname "$foundapk")"
69 | dpi="$(basename "$dpipath")"
70 | if [[ "$dpi" = "nodpi" || "$dpi" = "$2" ]]; then
71 | sourceapk="$foundapk"
72 | break;
73 | fi
74 |
75 | if [ "$2" != "nodpi" ]; then
76 | # Check if the package dpi is a range and if the device falls between that range
77 | lodpi=${dpi%%-*}
78 | hidpi=${dpi##*-}
79 | if [[ "$lodpi" != "$dpi" && "$lodpi" -le "$2" && "$hidpi" -ge "$2" ]]; then
80 | sourceapk="$foundapk"
81 | break;
82 | fi
83 | fi
84 | done
85 |
86 | # If the device is set to nodpi, we take the highest dpi available. This should be the first one on the list.
87 | if [[ -z "$sourceapk" && "$2" = "nodpi" ]]; then
88 | sourceapk="$tempapks"
89 | fi
90 |
91 | # Take the lowest dpi above the device dpi or the highest dpi under the device dpi.
92 | if [ -z "$sourceapk" ]; then
93 | for foundapk in ${tempapks[@]}; do
94 | dpipath="$(dirname "$foundapk")"
95 | dpi="$(basename "$dpipath")"
96 | # If this is a range, we already know the device is either over or under that range.
97 | # Therefore, we can safely take any value.
98 | dpi=${dpi%%-*}
99 | if [ "$dpi" -ge "$2" ]; then
100 | sourceapk="$foundapk"
101 | else
102 | # If we havn't found a higher dpi, we take the first (highest) lower dpi.
103 | if [ -z "$sourceapk" ]; then
104 | sourceapk="$foundapk"
105 | fi
106 | break;
107 | fi
108 | done
109 | fi
110 | elif [ ${#tempapks[@]} -ge 1 ]; then
111 | # If theres only one apk, take that one.
112 | sourceapk="$tempapks"
113 | fi
114 |
115 | IFS="$OLDIFS"
116 | if [ -z "$sourceapk" ]; then
117 | echo "WARNING: No APK found compatible with API level $API for package $PACKAGE_NAME on $ARCH" >&2
118 | return 1 #error
119 | fi
120 |
121 | #$sourceapk has the useful return value
122 | return 0 #return that it was a success
123 | }
124 |
125 | getconformapk() {
126 | # This functions finds the latest available version for the given architeture and dpi. IF the chosen dpi is not available, nodpi will be selected.
127 | sourceapk=""
128 | OLDIFS="$IFS"
129 | IFS="
130 | " # We set IFS to newline here so that spaces can survive the for loop
131 | # sed copies filename to the beginning, to compare version, and later we remove it with cut
132 | for foundapk in $(find "$1" -iname '*.apk' | sed 's!.*/\(.*\)!\1/&!' | sort -r -t/ -k1,1 -n | cut -d/ -f2-); do
133 | founddpipath="$(dirname "$foundapk")"
134 | dpi="$(basename "$founddpipath")"
135 | lodpi=${dpi%%-*}
136 | hidpi=${dpi##*-}
137 | if [[ "$dpi" = "nodpi" || "$dpi" = "$2"
138 | || ( "$2" != "nodpi" && "$lodpi" != "$dpi" && "$lodpi" -le "$2" && "$hidpi" -ge "$2" ) ]]; then
139 | sourceapk="$foundapk"
140 | break;
141 | fi
142 | done
143 |
144 | IFS="$OLDIFS"
145 | if [ -z "$sourceapk" ]; then
146 | echo "WARNING: No APK found compatible with API level $API for package $PACKAGE_NAME on $ARCH and dpi $2" >&2
147 | return 1 #error
148 | fi
149 | #$sourceapk has the useful return value
150 | return 0 #return that it was a success
151 | }
152 |
153 | getapk()
154 | {
155 | if [ "$3" = false ]; then
156 | aaptcmd="$4"
157 | if hash "$aaptcmd" 2> /dev/null; then
158 | getlatestapk "$1" "$2" "$aaptcmd"
159 | else
160 | echo "ERROR: aapt not found. Unable to detect latest package." >&2
161 | return 1
162 | fi
163 | else
164 | getconformapk "$1" "$2"
165 | fi
166 |
167 | return $?
168 | }
169 |
170 | getappapidir() {
171 | # Check if app directory exists.
172 | if [ ! -d "$1/$2/"*"app/$3" ]; then
173 | return 1 # Package does not exist for this arch.
174 | fi
175 |
176 | # Try to find the largest API which is greater or
177 | # equal to what is needed.
178 | api=0
179 | for apidir in "$1/$2/"*"app/$3/"*; do
180 | currentApi="$(basename "$apidir")"
181 | if [ "$currentApi" -le "$4" ] && [ "$currentApi" -ge "$api" ]; then
182 | api="$currentApi"
183 | fi
184 | done
185 |
186 | # Have we found anything?
187 | if [ "$api" -gt 0 ]; then
188 | appapidir="$(echo "$1/$2/"*"app/$3/$api")"
189 | return 0
190 | fi
191 |
192 | echo "WARNING: No APK found compatible with API level $4 for package $3 on $2" >&2
193 | return 1
194 | }
195 |
196 | getdpivalue() {
197 | case "$1" in
198 | "xxxhdpi")
199 | dpivalue="640";
200 | ;;
201 | "xxhdpi")
202 | dpivalue="480";
203 | ;;
204 | "xhdpi")
205 | dpivalue="320";
206 | ;;
207 | "hdpi")
208 | dpivalue="240";
209 | ;;
210 | "mdpi")
211 | dpivalue="160";
212 | ;;
213 | "ldpi")
214 | dpivalue="120";
215 | ;;
216 | *)
217 | return 1;
218 | ;;
219 | esac
220 |
221 | return 0;
222 | }
223 |
224 | SOURCES="$1"
225 | API="$2"
226 | DPI="$3"
227 | PACKAGE_NAME="$4"
228 | ARCH="$5"
229 | FORCE_DPI="$6"
230 | AAPT_CMD="$7"
231 |
232 | if ! getappapidir "$SOURCES" "$ARCH" "$PACKAGE_NAME" "$API"; then
233 | exit 1
234 | fi
235 |
236 | if getdpivalue "$DPI"; then
237 | if getapk "$appapidir" "$dpivalue" "$FORCE_DPI" "$AAPT_CMD"; then
238 | echo "$sourceapk"
239 | else
240 | exit 1
241 | fi
242 | elif getapk "$appapidir" "nodpi" "$FORCE_DPI" "$AAPT_CMD"; then
243 | echo "$sourceapk"
244 | else
245 | exit 1
246 | fi
247 |
--------------------------------------------------------------------------------
/core/mk_generator_for_kitkat.py:
--------------------------------------------------------------------------------
1 | import sys
2 |
3 | def main():
4 |
5 | f = open("%s/SharedLibrary.mk" % sys.argv[1], 'w')
6 | for i in range(2,len(sys.argv)):
7 | f.write("include $(CLEAR_VARS)\n")
8 | f.write("include $(GAPPS_CLEAR_VARS)\n")
9 | f.write("LOCAL_MODULE := %s\n" % sys.argv[i])
10 | f.write("include $(BUILD_GAPPS_PREBUILT_SHARED_LIBRARY)\n\n")
11 | f.close()
12 |
13 | if __name__ == "__main__":
14 | main()
15 |
--------------------------------------------------------------------------------
/core/prebuilt_apk.mk:
--------------------------------------------------------------------------------
1 | LOCAL_MODULE_TAGS := optional
2 | LOCAL_MODULE_CLASS := APPS
3 | LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
4 | LOCAL_CERTIFICATE := PRESIGNED
5 |
6 | CURRENT_PATH := $(GAPPS_DEVICE_FILES_PATH)/modules/$(LOCAL_MODULE)
7 |
8 | # Override packages from GAPPS_LOCAL_OVERRIDES_PACKAGES only when required.
9 | # If a package should NOT in any case be installed, add it directly to LOCAL_OVERRIDES_PACKAGES instead.
10 | ifneq ($(GAPPS_LOCAL_OVERRIDES_PACKAGES),)
11 | ifeq ($(filter $(LOCAL_MODULE),$(GAPPS_BYPASS_PACKAGE_OVERRIDES)),)
12 | ifeq ($(GAPPS_FORCE_PACKAGE_OVERRIDES),true)
13 | LOCAL_OVERRIDES_PACKAGES += $(GAPPS_LOCAL_OVERRIDES_PACKAGES)
14 | else ifeq ($(GAPPS_LOCAL_OVERRIDES_MIN_VARIANT),)
15 | LOCAL_OVERRIDES_PACKAGES += $(GAPPS_LOCAL_OVERRIDES_PACKAGES)
16 | else ifneq ($(filter $(GAPPS_LOCAL_OVERRIDES_MIN_VARIANT),$(TARGET_GAPPS_VARIANT)),)
17 | LOCAL_OVERRIDES_PACKAGES += $(GAPPS_LOCAL_OVERRIDES_PACKAGES)
18 | else ifneq ($(filter $(LOCAL_MODULE),$(GAPPS_PACKAGE_OVERRIDES)),)
19 | LOCAL_OVERRIDES_PACKAGES += $(GAPPS_LOCAL_OVERRIDES_PACKAGES)
20 | endif
21 | endif
22 | endif
23 |
24 | LOCAL_SRC_FILES := $(call find-apk-for-pkg,$(TARGET_ARCH),$(LOCAL_PACKAGE_NAME))
25 | ifdef LOCAL_SRC_FILES
26 | ifeq ($(filter 21,$(call get-allowed-api-levels)),)
27 | # only kitkat
28 | ifneq ($(call find-libs-in-apk,$(TARGET_ARCH),$(LOCAL_SRC_FILES)),)
29 | LOCAL_SHARED_LIBRARIES := $(notdir $(basename $(shell zipinfo -1 "$(LOCAL_SRC_FILES)" "$(call get-lib-search-path, $(TARGET_ARCH))" -x lib/*/crazy/* 2>/dev/null)))
30 | endif
31 | else
32 | LOCAL_PREBUILT_JNI_LIBS_$(TARGET_ARCH) := $(call find-libs-in-apk,$(TARGET_ARCH),$(LOCAL_SRC_FILES))
33 | endif
34 | else
35 | ifdef TARGET_2ND_ARCH
36 | LOCAL_SRC_FILES := $(call find-apk-for-pkg,$(TARGET_2ND_ARCH),$(LOCAL_PACKAGE_NAME))
37 | ifdef LOCAL_SRC_FILES
38 | LOCAL_MODULE_TARGET_ARCH := $(TARGET_2ND_ARCH)
39 | LOCAL_PREBUILT_JNI_LIBS_$(TARGET_2ND_ARCH) := $(call find-libs-in-apk,$(TARGET_2ND_ARCH),$(LOCAL_SRC_FILES))
40 | endif
41 | endif
42 | endif
43 |
44 | ifndef LOCAL_SRC_FILES
45 | LOCAL_SRC_FILES := $(call find-apk-for-pkg,all,$(LOCAL_PACKAGE_NAME))
46 | LOCAL_PREBUILT_JNI_LIBS := $(call find-libs-in-apk,$(TARGET_ARCH),$(LOCAL_SRC_FILES))
47 | endif
48 |
49 | ifndef LOCAL_SRC_FILES
50 | # the three calls to find-apk-for-pkg above all failed.
51 | # emit an error if the module is in the set GAPPS_PRODUCT_PACKAGES - GAPPS_EXCLUDED_PACKAGES
52 | ifneq (,$(filter $(LOCAL_MODULE),$(GAPPS_PRODUCT_PACKAGES)))
53 | ifeq (,$(filter $(LOCAL_MODULE),$(GAPPS_EXCLUDED_PACKAGES)))
54 | $(warning Unable to find an architecture compatible APK for package $(LOCAL_PACKAGE_NAME) defined in module $(LOCAL_MODULE).)
55 | $(warning You can try using GAPPS_EXCLUDED_PACKAGES += $(LOCAL_MODULE) to get past this error.)
56 | $(error Invalid build module: $(LOCAL_MODULE))
57 | endif
58 | endif
59 | endif
60 |
61 | include $(BUILD_PREBUILT)
62 |
63 | # generate mk file of shared library for kitkat
64 | ifdef LOCAL_SRC_FILES
65 | ifeq ($(filter 21,$(call get-allowed-api-levels)),)
66 | ifneq ($(call find-libs-in-apk,$(TARGET_ARCH),$(LOCAL_SRC_FILES)),)
67 | $(shell unzip -qqq -j -o "$(LOCAL_SRC_FILES)" "$(call get-lib-search-path, $(TARGET_ARCH))" -x lib/*/crazy/* -d "$(GAPPS_SOURCES_PATH)"/$(TARGET_ARCH)/lib/19/lib_from_app 2>/dev/null)
68 | LIBRARIES :=
69 | LIBRARIES := $(foreach L, $(LOCAL_SHARED_LIBRARIES), $(join $(LIBRARIES),$L))
70 | $(shell python "$(GAPPS_BUILD_SYSTEM_PATH)/mk_generator_for_kitkat.py" $(CURRENT_PATH) $(LIBRARIES) 2>/dev/null)
71 | include $(CURRENT_PATH)/SharedLibrary.mk
72 | endif
73 | endif
74 | endif
75 |
--------------------------------------------------------------------------------
/core/prebuilt_shared_library.mk:
--------------------------------------------------------------------------------
1 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES
2 | LOCAL_MODULE_TAGS := optional
3 | LOCAL_MODULE_SUFFIX := $(TARGET_SHLIB_SUFFIX)
4 |
5 | ifeq ($(GAPPS_IS_VENDOR_LIB),true)
6 | lib_prefix := vendor/
7 | endif
8 |
9 | ifdef TARGET_2ND_ARCH
10 | ifeq ($(LOCAL_MULTILIB),)
11 | LOCAL_MULTILIB := both
12 | endif
13 | ifeq ($(GAPPS_IS_VENDOR_LIB),true)
14 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
15 | LOCAL_MODULE_PATH_32 := $($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_VENDOR_SHARED_LIBRARIES)
16 | else
17 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_SHARED_LIBRARIES)
18 | LOCAL_MODULE_PATH_32 := $($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_SHARED_LIBRARIES)
19 | endif # GAPPS_IS_VENDOR_LIB
20 | else
21 | ifeq ($(GAPPS_IS_VENDOR_LIB),true)
22 | LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
23 | else
24 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
25 | endif # GAPPS_IS_VENDOR_LIB
26 | endif # TARGET_2ND_ARCH
27 |
28 | full_name := $(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX)
29 | ifdef TARGET_2ND_ARCH
30 | LOCAL_SRC_FILES_64 := $(call gapps-find-lib-for-arch,$(TARGET_ARCH),$(lib_prefix)lib64,$(full_name))
31 | LOCAL_SRC_FILES_32 := $(call gapps-find-lib-for-arch,$(TARGET_2ND_ARCH),$(lib_prefix)lib,$(full_name))
32 | else
33 | LOCAL_SRC_FILES := $(call gapps-find-lib-for-arch,$(TARGET_ARCH),$(lib_prefix)lib,$(full_name))
34 | ifeq ($(filter 21,$(call get-allowed-api-levels)),)
35 | # kitkat only
36 | ifeq ($(LOCAL_SRC_FILES),$(join $(GAPPS_SOURCES_PATH),/))
37 | # find libraries from lib/19/lib_from_app
38 | LOCAL_SRC_FILES := $(call gapps-find-lib-for-kitkat,$(full_name))
39 | endif
40 | endif
41 | endif
42 |
43 | # Reset internal variables
44 | GAPPS_IS_VENDOR_LIB :=
45 | is_vendor_lib :=
46 | lib_prefix :=
47 | full_name :=
48 |
49 | ifeq ($(filter 21,$(call get-allowed-api-levels)),)
50 | # kitkat only
51 | mid := MODULE.$(if $(LOCAL_IS_HOST_MODULE),HOST,TARGET).$(LOCAL_MODULE_CLASS).$(LOCAL_MODULE)
52 | ifndef $(mid)
53 | include $(BUILD_PREBUILT)
54 | endif
55 | else
56 | include $(BUILD_PREBUILT)
57 | endif
58 |
--------------------------------------------------------------------------------
/modules/ActionsServices/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := ActionsServices
5 | LOCAL_PACKAGE_NAME := com.google.android.as
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/AndroidAuto/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := AndroidAuto
5 | LOCAL_PACKAGE_NAME := com.google.android.projection.gearhead
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/AndroidMediaShell/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := AndroidMediaShell
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.mediashell.leanback
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/AndroidMigratePrebuilt/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := AndroidMigratePrebuilt
5 | # aka Data Transfer Tool
6 | LOCAL_PACKAGE_NAME := com.google.android.apps.pixelmigrate
7 | LOCAL_PRIVILEGED_MODULE := true
8 |
9 | include $(BUILD_GAPPS_PREBUILT_APK)
10 |
--------------------------------------------------------------------------------
/modules/AndroidPlatformServices/Android.mk:
--------------------------------------------------------------------------------
1 | ifneq ($(filter arm64, $(TARGET_ARCH)),)
2 | LOCAL_PATH := .
3 | include $(CLEAR_VARS)
4 | include $(GAPPS_CLEAR_VARS)
5 | LOCAL_MODULE := AndroidPlatformServices
6 | LOCAL_PACKAGE_NAME := com.google.android.gms.policy_sidecar_o
7 | GAPPS_LOCAL_OVERRIDES_PACKAGES := GoogleLoginService
8 | LOCAL_PRIVILEGED_MODULE := true
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 | endif
12 |
--------------------------------------------------------------------------------
/modules/AtvRemoteService/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := AtvRemoteService
5 | LOCAL_PACKAGE_NAME := com.google.android.tv.remote.service.leanback
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/AtvWidget/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := AtvWidget
5 | LOCAL_PACKAGE_NAME := com.google.android.atv.widget
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/Backdrop/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Backdrop
5 | LOCAL_PACKAGE_NAME := com.google.android.backdrop.leanback
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/Books/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Books
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.books
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/CalculatorGoogle/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := CalculatorGoogle
5 | LOCAL_PACKAGE_NAME := com.google.android.calculator
6 |
7 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := Calculator ExactCalculator
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/CalendarGooglePrebuilt/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := CalendarGooglePrebuilt
5 | LOCAL_PACKAGE_NAME := com.google.android.calendar
6 |
7 | LOCAL_OVERRIDES_PACKAGES := GoogleCalendarSyncAdapter
8 |
9 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
10 | GAPPS_LOCAL_OVERRIDES_PACKAGES := Calendar Etar
11 |
12 | include $(BUILD_GAPPS_PREBUILT_APK)
13 |
--------------------------------------------------------------------------------
/modules/CanvasPackageInstaller/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := CanvasPackageInstaller
5 | LOCAL_PACKAGE_NAME := com.google.android.pano.packageinstaller
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/CarrierServices/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := CarrierServices
5 | LOCAL_PACKAGE_NAME := com.google.android.ims
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/Chrome/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Chrome
5 | LOCAL_PACKAGE_NAME := com.android.chrome
6 |
7 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT := stock
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := Browser Browser2 BrowserProviderProxy Chromium Fluxion Gello Jelly
9 |
10 | ifneq ($(filter 29,$(call get-allowed-api-levels)),)
11 | LOCAL_REQUIRED_MODULES += \
12 | TrichromeLibraryGoogle
13 | endif
14 |
15 | include $(BUILD_GAPPS_PREBUILT_APK)
16 |
--------------------------------------------------------------------------------
/modules/ConfigUpdater/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := ConfigUpdater
5 | LOCAL_PACKAGE_NAME := com.google.android.configupdater
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/DMAgent/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := DMAgent
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.enterprise.dmagent
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/DigitalWellbeing/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := DigitalWellbeing
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.wellbeing
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/Drive/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Drive
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.docs
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/EditorsDocs/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := EditorsDocs
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.docs.editors.docs
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/EditorsSheets/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := EditorsSheets
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.docs.editors.sheets
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/EditorsSlides/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := EditorsSlides
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.docs.editors.slides
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/FitnessPrebuilt/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := FitnessPrebuilt
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.fitness
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/GCS/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GCS
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.gcs
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/GmsCoreSetupPrebuilt/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GmsCoreSetupPrebuilt
5 | LOCAL_PACKAGE_NAME := com.google.android.gms.setup
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/GoogleBackupTransport/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleBackupTransport
5 | LOCAL_PACKAGE_NAME := com.google.android.backuptransport
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/GoogleCalendarSyncAdapter/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleCalendarSyncAdapter
5 | LOCAL_PACKAGE_NAME := com.google.android.syncadapters.calendar
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/GoogleCamera/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleCamera
5 | LOCAL_PACKAGE_NAME := com.google.android.googlecamera
6 |
7 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := Camera Camera2 MotCamera Snap
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/GoogleContacts/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleContacts
5 | LOCAL_PACKAGE_NAME := com.google.android.contacts
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
9 | GAPPS_LOCAL_OVERRIDES_PACKAGES := Contacts
10 |
11 | include $(BUILD_GAPPS_PREBUILT_APK)
12 |
--------------------------------------------------------------------------------
/modules/GoogleContactsSyncAdapter/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleContactsSyncAdapter
5 | LOCAL_PACKAGE_NAME := com.google.android.syncadapters.contacts
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/GoogleDialer/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleDialer
5 | LOCAL_PACKAGE_NAME := com.google.android.dialer
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
9 | GAPPS_LOCAL_OVERRIDES_PACKAGES := Dialer
10 |
11 | LOCAL_REQUIRED_MODULES := GoogleDialer_dialer_experience.xml
12 |
13 | include $(BUILD_GAPPS_PREBUILT_APK)
14 |
15 | include $(CLEAR_VARS)
16 | include $(GAPPS_CLEAR_VARS)
17 |
18 | LOCAL_MODULE := GoogleDialer_dialer_experience.xml
19 | LOCAL_MODULE_STEM := dialer_experience.xml
20 | LOCAL_MODULE_TAGS := optional
21 | LOCAL_MODULE_CLASS := ETC
22 | LOCAL_SRC_FILES := $(GAPPS_SOURCES_PATH)/all/etc/sysconfig/dialer_experience.xml
23 | LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/sysconfig
24 |
25 | include $(BUILD_PREBUILT)
26 |
--------------------------------------------------------------------------------
/modules/GoogleEarth/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleEarth
5 | LOCAL_PACKAGE_NAME := com.google.earth
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/GoogleExtServices/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleExtServices
5 | LOCAL_PACKAGE_NAME := com.google.android.ext.services
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
9 | GAPPS_LOCAL_OVERRIDES_PACKAGES := ExtServices
10 |
11 | include $(BUILD_GAPPS_PREBUILT_APK)
12 |
--------------------------------------------------------------------------------
/modules/GoogleExtShared/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleExtShared
5 | LOCAL_PACKAGE_NAME := com.google.android.ext.shared
6 |
7 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := ExtShared
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/GoogleFeedback/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleFeedback
5 | LOCAL_PACKAGE_NAME := com.google.android.feedback
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/GoogleHindiIME/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleHindiIME
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.inputmethod.hindi
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/GoogleJapaneseInput/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleJapaneseInput
5 | LOCAL_PACKAGE_NAME := com.google.android.inputmethod.japanese
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/GoogleLoginService/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleLoginService
5 | LOCAL_PACKAGE_NAME := com.google.android.gsf.login
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/GoogleNow/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleNow
5 | LOCAL_PACKAGE_NAME := com.google.android.launcher
6 |
7 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT := stock
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 Fluctuation PixelHome Trebuchet
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/GoogleOneTimeInitializer/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleOneTimeInitializer
5 | LOCAL_PACKAGE_NAME := com.google.android.onetimeinitializer
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
9 | GAPPS_LOCAL_OVERRIDES_PACKAGES := OneTimeInitializer
10 |
11 | include $(BUILD_GAPPS_PREBUILT_APK)
12 |
--------------------------------------------------------------------------------
/modules/GooglePackageInstaller/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GooglePackageInstaller
5 | LOCAL_PACKAGE_NAME := com.google.android.packageinstaller
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := PackageInstaller
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/GooglePartnerSetup/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GooglePartnerSetup
5 | LOCAL_PACKAGE_NAME := com.google.android.partnersetup
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/GooglePinyinIME/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GooglePinyinIME
5 | LOCAL_PACKAGE_NAME := com.google.android.inputmethod.pinyin
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/GooglePrintRecommendationService/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GooglePrintRecommendationService
5 | LOCAL_PACKAGE_NAME := com.google.android.printservice.recommendation
6 |
7 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := PrintRecommendationService
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/GoogleServicesFramework/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleServicesFramework
5 | LOCAL_PACKAGE_NAME := com.google.android.gsf
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/GoogleTTS/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleTTS
5 | LOCAL_PACKAGE_NAME := com.google.android.tts
6 |
7 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT := stock
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := PicoTts
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/GoogleVrCore/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleVrCore
5 | LOCAL_PACKAGE_NAME := com.google.vr.vrcore
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/GoogleWebViewOverlay/Android.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2018, The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | LOCAL_PATH:= $(call my-dir)
18 | include $(CLEAR_VARS)
19 |
20 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
21 |
22 | LOCAL_PACKAGE_NAME := GoogleWebViewOverlay
23 | LOCAL_SDK_VERSION := current
24 |
25 | include $(BUILD_RRO_PACKAGE)
26 |
--------------------------------------------------------------------------------
/modules/GoogleWebViewOverlay/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/modules/GoogleWebViewOverlay/res/xml/config_webview_packages.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | MIIDwzCCAqugAwIBAgIJAOoj9MXoVhH6MA0GCSqGSIb3DQEBBQUAMHgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDVQQHDA1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKDAtHb29nbGUgSW5jLjEQMA4GA1UECwwHQW5kcm9pZDEUMBIGA1UEAwwLY2hyb21lX2JldGEwHhcNMTYwMjI5MTUxNTIzWhcNNDMwNzE3MTUxNTIzWjB4MQswCQYDV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--------------------------------------------------------------------------------
/modules/GoogleZhuyinIME/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleZhuyinIME
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.inputmethod.zhuyin
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/Hangouts/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Hangouts
5 | LOCAL_PACKAGE_NAME := com.google.android.talk
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/Katniss/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Katniss
5 | LOCAL_PACKAGE_NAME := com.google.android.katniss.leanback
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/KoreanIME/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := KoreanIME
5 | LOCAL_PACKAGE_NAME := com.google.android.inputmethod.korean
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/LatinImeGoogle/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := LatinImeGoogle
5 | LOCAL_PACKAGE_NAME := com.google.android.inputmethod.latin
6 |
7 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := LatinIME
9 |
10 | LOCAL_REQUIRED_MODULES := libjni_latinimegoogle
11 |
12 | include $(BUILD_GAPPS_PREBUILT_APK)
13 |
14 | include $(CLEAR_VARS)
15 | include $(GAPPS_CLEAR_VARS)
16 | LOCAL_MODULE := libjni_latinimegoogle
17 | LOCAL_SHARED_LIBRARIES := libstdc++
18 | include $(BUILD_GAPPS_PREBUILT_SHARED_LIBRARY)
19 |
--------------------------------------------------------------------------------
/modules/LeanbackIme/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := LeanbackIme
5 | LOCAL_PACKAGE_NAME := com.google.android.leanback.ime
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/LeanbackLauncher/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := LeanbackLauncher
5 | LOCAL_PACKAGE_NAME := com.google.android.leanbacklauncher.leanback
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/Maps/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Maps
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.maps
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/MarkupGoogle/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := MarkupGoogle
5 | LOCAL_PACKAGE_NAME := com.google.android.markup
6 |
7 | LOCAL_REQUIRED_MODULES := libsketchology_native
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
10 | include $(CLEAR_VARS)
11 | include $(GAPPS_CLEAR_VARS)
12 | LOCAL_MODULE := libsketchology_native
13 | LOCAL_SHARED_LIBRARIES := libEGL libGLESv1_CM libGLESv2 libandroid libjnigraphics liblog
14 | include $(BUILD_GAPPS_PREBUILT_SHARED_LIBRARY)
15 |
--------------------------------------------------------------------------------
/modules/Music2/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Music2
5 | LOCAL_PACKAGE_NAME := com.google.android.music
6 |
7 | GAPPS_LOCAL_OVERRIDES_PACKAGES := Music Eleven
8 |
9 | include $(BUILD_GAPPS_PREBUILT_APK)
10 |
--------------------------------------------------------------------------------
/modules/Music2Pano/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Music2Pano
5 | LOCAL_PACKAGE_NAME := com.google.android.music.leanback
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/Newsstand/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Newsstand
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.magazines
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/NoTouchAuthDelegate/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := NoTouchAuthDelegate
5 | LOCAL_PACKAGE_NAME := com.google.android.gsf.notouch
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/Phonesky/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Phonesky
5 | LOCAL_PACKAGE_NAME := com.android.vending
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/PhoneskyKamikazeCanvas/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PhoneskyKamikazeCanvas
5 | LOCAL_PACKAGE_NAME := com.android.vending.leanback
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/Photos/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Photos
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.photos
6 |
7 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT := stock
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := Gallery Gallery2 MotGallery MediaShortcuts
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/PixelLauncher/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PixelLauncher
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.nexuslauncher
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := Home GoogleNow Launcher2 Launcher3 Launcher3Go Launcher3QuickStep Launcher3QuickStepGo Fluctuation Trebuchet TrebuchetQuickStep
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/PixelLauncherIcons/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PixelLauncherIcons
5 | LOCAL_PACKAGE_NAME := com.google.android.nexusicons
6 | LOCAL_DEX_PREOPT := false
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/PlayGames/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PlayGames
5 | LOCAL_PACKAGE_NAME := com.google.android.play.games
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/PlayGamesPano/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PlayGamesPano
5 | LOCAL_PACKAGE_NAME := com.google.android.play.games.leanback
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/PrebuiltBugle/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PrebuiltBugle
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.messaging
6 |
7 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := messaging Mms
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/PrebuiltDeskClockGoogle/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PrebuiltDeskClockGoogle
5 | LOCAL_PACKAGE_NAME := com.google.android.deskclock
6 |
7 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := DeskClock
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/PrebuiltExchange3Google/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PrebuiltExchange3Google
5 | LOCAL_PACKAGE_NAME := com.google.android.gm.exchange
6 |
7 | LOCAL_OVERRIDES_PACKAGES := Exchange2
8 |
9 | include $(BUILD_GAPPS_PREBUILT_APK)
10 |
--------------------------------------------------------------------------------
/modules/PrebuiltGmail/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PrebuiltGmail
5 | LOCAL_PACKAGE_NAME := com.google.android.gm
6 |
7 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT := stock
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := Email
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/PrebuiltGmsCore/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PrebuiltGmsCore
5 | LOCAL_PACKAGE_NAME := com.google.android.gms
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/PrebuiltGmsCoreInstantApps/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PrebuiltGmsCoreInstantApps
5 | LOCAL_PACKAGE_NAME := com.google.android.instantapps.supervisor
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/PrebuiltGmsCorePano/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PrebuiltGmsCorePano
5 | LOCAL_PACKAGE_NAME := com.google.android.gms.leanback
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/PrebuiltKeep/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := PrebuiltKeep
5 | LOCAL_PACKAGE_NAME := com.google.android.keep
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/RecommendationsService/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := RecommendationsService
5 | LOCAL_PACKAGE_NAME := com.google.android.leanbacklauncher.recommendations.leanback
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/SecondScreenSetup/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := SecondScreenSetup
5 | LOCAL_PACKAGE_NAME := com.google.android.sss
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/SecondScreenSetupAuthBridge/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := SecondScreenSetupAuthBridge
5 | LOCAL_PACKAGE_NAME := com.google.android.sss.authbridge
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/SetupWizard/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := SetupWizard
5 | ifeq ($(filter 21,$(call get-allowed-api-levels)),)
6 | # kitkat
7 | LOCAL_PACKAGE_NAME := com.google.android.setupwizard
8 | else
9 | # LP and newer
10 | ifneq ($(filter tablet,$(PRODUCT_CHARACTERISTICS)),)
11 | LOCAL_PACKAGE_NAME := com.google.android.setupwizard.tablet
12 | else
13 | LOCAL_PACKAGE_NAME := com.google.android.setupwizard.default
14 | endif
15 | endif
16 |
17 | LOCAL_PRIVILEGED_MODULE := true
18 | LOCAL_OVERRIDES_PACKAGES := Provision
19 |
20 | include $(BUILD_GAPPS_PREBUILT_APK)
21 |
--------------------------------------------------------------------------------
/modules/SetupWraithPrebuilt/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := SetupWraithPrebuilt
5 | LOCAL_PACKAGE_NAME := com.google.android.tungsten.setupwraith
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/SoundPicker/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := GoogleSoundPicker
5 | LOCAL_PACKAGE_NAME := com.google.android.soundpicker
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | GAPPS_LOCAL_OVERRIDES_PACKAGES := SoundPicker
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/StorageManagerGoogle/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := StorageManagerGoogle
5 | LOCAL_PACKAGE_NAME := com.google.android.storagemanager
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/Street/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Street
5 | LOCAL_PACKAGE_NAME := com.google.android.street
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/TV/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := TV
5 | LOCAL_PACKAGE_NAME := com.google.android.tv.leanback
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/TVLauncher/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := TVLauncher
5 | LOCAL_PACKAGE_NAME := com.google.android.tvlauncher.leanback
6 | GAPPS_LOCAL_OVERRIDES_PACKAGES := TVLauncherNoGMS
7 | LOCAL_PRIVILEGED_MODULE := true
8 |
9 | include $(BUILD_GAPPS_PREBUILT_APK)
10 |
--------------------------------------------------------------------------------
/modules/TVRecommendations/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := TVRecommendations
5 | LOCAL_PACKAGE_NAME := com.google.android.tvrecommendations.leanback
6 | GAPPS_LOCAL_OVERRIDES_PACKAGES := TVRecommendationsNoGMS
7 | LOCAL_PRIVILEGED_MODULE := true
8 |
9 | include $(BUILD_GAPPS_PREBUILT_APK)
10 |
--------------------------------------------------------------------------------
/modules/TagGoogle/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := TagGoogle
5 | LOCAL_PACKAGE_NAME := com.google.android.tag
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | GAPPS_LOCAL_OVERRIDES_MIN_VARIANT :=
9 | GAPPS_LOCAL_OVERRIDES_PACKAGES := Tag
10 |
11 | include $(BUILD_GAPPS_PREBUILT_APK)
12 |
--------------------------------------------------------------------------------
/modules/TranslatePrebuilt/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := TranslatePrebuilt
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.translate
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/TrichromeLibrary/Android.mk:
--------------------------------------------------------------------------------
1 | ifneq ($(filter 29,$(call get-allowed-api-levels)),)
2 |
3 | LOCAL_PATH := .
4 | include $(CLEAR_VARS)
5 | include $(GAPPS_CLEAR_VARS)
6 | LOCAL_MODULE := TrichromeLibraryGoogle
7 | LOCAL_PACKAGE_NAME := com.google.android.trichromelibrary
8 |
9 | include $(BUILD_GAPPS_PREBUILT_APK)
10 |
11 | endif # API >= 29
12 |
--------------------------------------------------------------------------------
/modules/Turbo/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Turbo
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.turbo
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | include $(BUILD_GAPPS_PREBUILT_APK)
9 |
--------------------------------------------------------------------------------
/modules/Tycho/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Tycho
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.tycho
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/Velvet/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Velvet
5 | LOCAL_PACKAGE_NAME := com.google.android.googlequicksearchbox
6 | LOCAL_PRIVILEGED_MODULE := true
7 |
8 | LOCAL_OVERRIDES_PACKAGES := QuickSearchBox
9 |
10 | include $(BUILD_GAPPS_PREBUILT_APK)
11 |
--------------------------------------------------------------------------------
/modules/Videos/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Videos
5 | LOCAL_PACKAGE_NAME := com.google.android.videos
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/VideosPano/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := VideosPano
5 | LOCAL_PACKAGE_NAME := com.google.android.videos.leanback
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/Wallet/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Wallet
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.walletnfcrel
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/Wallpapers/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := Wallpapers
5 | LOCAL_PACKAGE_NAME := com.google.android.apps.wallpaper
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/WebViewGoogle/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := WebViewGoogle
5 | LOCAL_PACKAGE_NAME := com.google.android.webview
6 |
7 | LOCAL_OVERRIDES_PACKAGES := webview
8 |
9 | LOCAL_REQUIRED_MODULES := libwebviewchromium_loader \
10 | libwebviewchromium_plat_support
11 |
12 | ifneq ($(filter 29,$(call get-allowed-api-levels)),)
13 | LOCAL_REQUIRED_MODULES += \
14 | TrichromeLibraryGoogle
15 | endif
16 |
17 | include $(BUILD_GAPPS_PREBUILT_APK)
18 |
--------------------------------------------------------------------------------
/modules/YouTube/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := YouTube
5 | LOCAL_PACKAGE_NAME := com.google.android.youtube
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/YouTubeLeanback/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := YouTubeLeanback
5 | LOCAL_PACKAGE_NAME := com.google.android.youtube.tv.leanback
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/modules/talkback/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := .
2 | include $(CLEAR_VARS)
3 | include $(GAPPS_CLEAR_VARS)
4 | LOCAL_MODULE := talkback
5 | LOCAL_PACKAGE_NAME := com.google.android.marvin.talkback
6 |
7 | include $(BUILD_GAPPS_PREBUILT_APK)
8 |
--------------------------------------------------------------------------------
/opengapps-files.mk:
--------------------------------------------------------------------------------
1 | GAPPS_NEXUS2015_CODENAMES += \
2 | %angler \
3 | %bullhead
4 |
5 | GAPPS_NEXUS_CODENAMES += \
6 | %maguro \
7 | %toro \
8 | %toroplus \
9 | %grouper \
10 | %tilapia \
11 | %manta \
12 | %mako \
13 | %flo \
14 | %deb \
15 | %hammerhead \
16 | %flounder \
17 | %shamu \
18 | $(GAPPS_NEXUS2015_CODENAMES)
19 |
20 | GAPPS_PIXEL2016_CODENAMES += \
21 | %marlin \
22 | %sailfish
23 |
24 | GAPPS_PIXEL2017_CODENAMES += \
25 | %muskie \
26 | %taimen \
27 | %wahoo \
28 | %walleye
29 |
30 | GAPPS_PIXEL2018_CODENAMES += \
31 | %blueline \
32 | %crosshatch
33 |
34 | GAPPS_PIXEL_CODENAMES += \
35 | $(GAPPS_PIXEL2016_CODENAMES) \
36 | $(GAPPS_PIXEL2017_CODENAMES) \
37 | $(GAPPS_PIXEL2018_CODENAMES)
38 |
39 | gapps_etc_files := $(call gapps-copy-to-system,all,etc)
40 | gapps_framework_files := $(call gapps-copy-to-system,all,framework)
41 |
42 | # Remove experimental2015 camera on non-Nexus 2015 devices
43 | ifeq ($(filter $(GAPPS_NEXUS2015_CODENAMES),$(TARGET_PRODUCT)),)
44 | gapps_etc_files := $(filter-out %permissions/com.google.android.camera.experimental2015.xml,$(gapps_etc_files))
45 | gapps_framework_files := $(filter-out %com.google.android.camera.experimental2015.jar,$(gapps_framework_files))
46 | endif
47 |
48 | # Remove experimental2016 camera on non-Pixel 2016 devices
49 | ifeq ($(filter $(GAPPS_PIXEL2016_CODENAMES),$(TARGET_PRODUCT)),)
50 | gapps_etc_files := $(filter-out %permissions/com.google.android.camera.experimental2016.xml,$(gapps_etc_files))
51 | gapps_framework_files := $(filter-out %com.google.android.camera.experimental2016.jar,$(gapps_framework_files))
52 | endif
53 |
54 | # Remove experimental2017 camera on non-Pixel 2017 devices
55 | ifeq ($(filter $(GAPPS_PIXEL2017_CODENAMES),$(TARGET_PRODUCT)),)
56 | gapps_etc_files := $(filter-out %permissions/com.google.android.camera.experimental2017.xml,$(gapps_etc_files))
57 | gapps_framework_files := $(filter-out %com.google.android.camera.experimental2017.jar,$(gapps_framework_files))
58 | endif
59 |
60 | # Remove experimental2018 camera on non-Pixel 2018 devices
61 | ifeq ($(filter $(GAPPS_PIXEL2018_CODENAMES),$(TARGET_PRODUCT)),)
62 | gapps_etc_files := $(filter-out %permissions/com.google.android.camera.experimental2018.xml,$(gapps_etc_files))
63 | gapps_framework_files := $(filter-out %com.google.android.camera.experimental2018.jar,$(gapps_framework_files))
64 | endif
65 |
66 | # Remove google_build.xml and nexus.xml on non-Pixel devices
67 | ifeq ($(filter $(GAPPS_PIXEL_CODENAMES),$(TARGET_PRODUCT)),)
68 | gapps_etc_files := $(filter-out %sysconfig/google_build.xml,$(gapps_etc_files))
69 | gapps_etc_files := $(filter-out %sysconfig/nexus.xml,$(gapps_etc_files))
70 | endif
71 |
72 | # Copy pixel_experience_2017.xml on 2017 and later Pixels
73 | ifeq ($(filter $(GAPPS_PIXEL2017_CODENAMES) $(GAPPS_PIXEL2018_CODENAMES),$(TARGET_PRODUCT)),)
74 | gapps_etc_files := $(filter-out %sysconfig/pixel_experience_2017.xml,$(gapps_etc_files))
75 | endif
76 |
77 | # Only copy pixel_experience_2018 on 2018 Pixels
78 | ifeq ($(filter $(GAPPS_PIXEL2018_CODENAMES),$(TARGET_PRODUCT)),)
79 | gapps_etc_files := $(filter-out %sysconfig/pixel_experience_2018.xml,$(gapps_etc_files))
80 | endif
81 |
82 | # Copy pixel_YEAR_exclusive on a Pixel's corresponding year
83 | ifeq ($(filter $(GAPPS_PIXEL2017_CODENAMES),$(TARGET_PRODUCT)),)
84 | gapps_etc_files := $(filter-out %sysconfig/pixel_2017_exclusive.xml,$(gapps_etc_files))
85 | endif
86 | ifeq ($(filter $(GAPPS_PIXEL2018_CODENAMES),$(TARGET_PRODUCT)),)
87 | gapps_etc_files := $(filter-out %sysconfig/pixel_2018_exclusive.xml,$(gapps_etc_files))
88 | endif
89 |
90 | # This is included as part of GoogleDialer build, for devices that have the
91 | # GoogleDialer
92 | gapps_etc_files := $(filter-out %sysconfig/dialer_experience.xml,$(gapps_etc_files))
93 |
94 | # Use separate opengapps-permissions for Q+
95 | ifneq ($(filter 29,$(call get-allowed-api-levels)),)
96 | gapps_etc_files := $(filter-out %default-permissions/opengapps-permissions.xml,$(gapps_etc_files))
97 | else
98 | gapps_etc_files := $(filter-out %default-permissions/opengapps-permissions-q.xml,$(gapps_etc_files))
99 | endif
100 |
101 | # For ATV, only install a limited set of etc and framework files
102 | ifneq ($(filter tvmini,$(TARGET_GAPPS_VARIANT)),)
103 | gapps_etc_files := \
104 | vendor/opengapps/sources/all/etc/permissions/privapp-permissions-atv.xml:$(TARGET_COPY_OUT_SYSTEM)/etc//permissions/privapp-permissions-atv.xml \
105 | vendor/opengapps/sources/all/etc/sysconfig/google.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/google.xml \
106 | vendor/opengapps/sources/all/etc/sysconfig/google_atv.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/google_atv.xml \
107 | vendor/opengapps/sources/all/etc/sysconfig/google_build.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/google_build.xml \
108 | vendor/opengapps/sources/all/etc/permissions/privapp-permissions-google.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-google.xml \
109 | vendor/opengapps/sources/all/etc/sysconfig/google-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/google-hiddenapi-package-whitelist.xml
110 |
111 | ifneq ($(filter 28, $(call get-allowed-api-levels)),)
112 | gapps_framework_files :=
113 | else
114 | gapps_framework_files := \
115 | vendor/opengapps/sources/all/etc/permissions/com.google.android.pano.v1.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/com.google.android.pano.v1.xml \
116 | vendor/opengapps/sources/all/etc/permissions/com.google.widevine.software.drm.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/com.google.widevine.software.drm.xml \
117 | vendor/opengapps/sources/all/framework/24/com.google.android.pano.v1.jar:$(TARGET_COPY_OUT_SYSTEM)/framework/com.google.android.pano.v1.jar
118 |
119 | ifneq ($(filter 25, $(call get-allowed-api-levels)),)
120 | gapps_framework_files += \
121 | vendor/opengapps/sources/all/framework/25/com.google.widevine.software.drm.jar:$(TARGET_COPY_OUT_SYSTEM)/framework/com.google.widevine.software.drm.jar
122 | else
123 | gapps_framework_files += \
124 | vendor/opengapps/sources/all/framework/24/com.google.widevine.software.drm.jar:$(TARGET_COPY_OUT_SYSTEM)/framework/com.google.widevine.software.drm.jar
125 | endif
126 | endif
127 | else
128 | # Filter out tv related files
129 | gapps_etc_files := $(filter-out %sysconfig/google_atv.xml,$(gapps_etc_files))
130 | gapps_etc_files := $(filter-out %permissions/privapp-permissions-atv.xml,$(gapps_etc_files))
131 | gapps_etc_files := $(filter-out %permissions/com.google.android.pano.v1.xml,$(gapps_etc_files))
132 | gapps_etc_files := $(filter-out %permissions/com.google.android.tv.installed.xml,$(gapps_etc_files))
133 | gapps_framework_files := $(filter-out %com.google.android.pano.v1.jar,$(gapps_framework_files))
134 | endif
135 |
136 | PRODUCT_COPY_FILES += $(gapps_etc_files) $(gapps_framework_files)
137 |
138 | # check if we are building a vendor image
139 | ifneq ($(CALLED_FROM_SETUP),true)
140 | ifneq ($(filter 28, $(call get-allowed-api-levels)),)
141 | BUILD_VENDORIMAGE := $(shell CALLED_FROM_SETUP=true build/soong/soong_ui.bash --dumpvar-mode BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE)
142 | else
143 | BUILD_VENDORIMAGE := $(shell CALLED_FROM_SETUP=true BUILD_SYSTEM=build/core \
144 | command make --no-print-directory -f build/core/config.mk dumpvar-BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE)
145 | endif
146 | endif
147 |
148 | # Pico and higher
149 | ifneq ($(filter pico,$(TARGET_GAPPS_VARIANT)),)
150 | # vendor/pittpatt seems to be removed on N+ (so only copy it to older than N)
151 | ifeq ($(filter 24,$(call get-allowed-api-levels)),)
152 | PITTPATT_COPY_FILES := $(call gapps-copy-to-system,all,vendor/pittpatt)
153 | # if we are building a vendor image, then we cannot copy to system/vendor, so update our copy statements.
154 | ifdef BUILD_VENDORIMAGE
155 | PITTPATT_COPY_FILES := $(subst :system/vendor/pittpatt,:vendor/pittpatt,$(PITTPATT_COPY_FILES))
156 | endif
157 | PRODUCT_COPY_FILES += $(PITTPATT_COPY_FILES)
158 | endif
159 | PRODUCT_COPY_FILES += $(call gapps-copy-to-system,all,usr/srec)
160 | endif
161 |
162 | # Reset internal variables
163 | gapps_etc_files :=
164 | gapps_framework_files :=
165 |
--------------------------------------------------------------------------------
/opengapps-packages.mk:
--------------------------------------------------------------------------------
1 | include vendor/opengapps/build/core/definitions.mk
2 | include vendor/opengapps/build/config.mk
3 | include vendor/opengapps/build/opengapps-files.mk
4 |
5 | ifneq ($(filter tvmini,$(TARGET_GAPPS_VARIANT)),)
6 | DEVICE_PACKAGE_OVERLAYS += \
7 | $(GAPPS_DEVICE_FILES_PATH)/overlay/tvmini
8 | else
9 | DEVICE_PACKAGE_OVERLAYS += \
10 | $(GAPPS_DEVICE_FILES_PATH)/overlay/pico
11 |
12 | ifneq ($(filter 28,$(call get-allowed-api-levels)),)
13 | DEVICE_PACKAGE_OVERLAYS += \
14 | $(GAPPS_DEVICE_FILES_PATH)/overlay/assistant/28
15 | endif
16 | endif
17 |
18 | GAPPS_PRODUCT_PACKAGES += \
19 | GoogleBackupTransport \
20 | GoogleContactsSyncAdapter \
21 | GoogleFeedback \
22 | GoogleOneTimeInitializer \
23 | GooglePartnerSetup \
24 | PrebuiltGmsCore \
25 | GoogleServicesFramework \
26 | GoogleLoginService \
27 | SetupWizard \
28 | Phonesky \
29 | GoogleCalendarSyncAdapter
30 |
31 | TVGAPPS_PRODUCT_PACKAGES += \
32 | ConfigUpdater \
33 | GoogleBackupTransport \
34 | GoogleContactsSyncAdapter \
35 | GoogleServicesFramework \
36 | PhoneskyKamikazeCanvas \
37 | PrebuiltGmsCorePano
38 |
39 | # TvMini
40 | TVGAPPS_PRODUCT_PACKAGES += \
41 | AtvRemoteService \
42 | AtvWidget \
43 | Backdrop \
44 | Katniss \
45 | LeanbackIme \
46 | LeanbackLauncher \
47 | SetupWraithPrebuilt \
48 | TV
49 |
50 | ifneq ($(filter 23,$(call get-allowed-api-levels)),)
51 | GAPPS_PRODUCT_PACKAGES += \
52 | GoogleTTS \
53 | GooglePackageInstaller
54 | TVGAPPS_PRODUCT_PACKAGES += \
55 | GooglePackageInstaller
56 | endif
57 |
58 | ifneq ($(filter 24,$(call get-allowed-api-levels)),)
59 | TVGAPPS_PRODUCT_PACKAGES += \
60 | GoogleExtServices \
61 | GoogleExtShared \
62 | RecommendationsService
63 | endif
64 |
65 | ## in oreo (api level 26), installing PrebuiltGmsCoreInstantApps
66 | ## causes Play Store app-installs to get stuck on "Download
67 | ## pending...". Do not install on oreo and above.
68 | ifeq ($(filter 26,$(call get-allowed-api-levels)),)
69 | ifneq ($(filter 24,$(call get-allowed-api-levels)),)
70 | GAPPS_PRODUCT_PACKAGES += \
71 | PrebuiltGmsCoreInstantApps
72 | endif
73 | endif
74 |
75 | ifneq ($(filter 25,$(call get-allowed-api-levels)),)
76 | GAPPS_PRODUCT_PACKAGES += \
77 | Turbo
78 | endif
79 |
80 | ifneq ($(filter 26,$(call get-allowed-api-levels)),)
81 | GAPPS_PRODUCT_PACKAGES += \
82 | AndroidPlatformServices \
83 | GmsCoreSetupPrebuilt \
84 | AndroidMigratePrebuilt
85 | TVGAPPS_PRODUCT_PACKAGES += \
86 | TVLauncher \
87 | TVRecommendations
88 | endif
89 |
90 | ifneq ($(filter 28,$(call get-allowed-api-levels)),)
91 | TVGAPPS_PRODUCT_PACKAGES += \
92 | GoogleCalendarSyncAdapter \
93 | GooglePartnerSetup \
94 | GoogleOneTimeInitializer
95 | else
96 | # Removed in 28
97 | TVGAPPS_PRODUCT_PACKAGES += \
98 | NoTouchAuthDelegate \
99 | SecondScreenSetup \
100 | SecondScreenSetupAuthBridge \
101 | CanvasPackageInstaller
102 | endif
103 |
104 | ifneq ($(filter nano,$(TARGET_GAPPS_VARIANT)),) # require at least nano
105 | GAPPS_PRODUCT_PACKAGES += \
106 | libjni_latinimegoogle \
107 | Velvet
108 |
109 | ifneq ($(filter 28,$(call get-allowed-api-levels)),)
110 | GAPPS_PRODUCT_PACKAGES += \
111 | DigitalWellbeing \
112 | MarkupGoogle \
113 | GoogleSoundPicker
114 | endif
115 |
116 | ifneq ($(filter micro,$(TARGET_GAPPS_VARIANT)),) # require at least micro
117 | GAPPS_PRODUCT_PACKAGES += \
118 | CalendarGooglePrebuilt \
119 | PrebuiltExchange3Google \
120 | PrebuiltGmail
121 |
122 | ifneq ($(filter 26,$(call get-allowed-api-levels)),)
123 | GAPPS_FORCE_PIXEL_LAUNCHER := true
124 | else
125 | GAPPS_PRODUCT_PACKAGES += \
126 | GoogleNow
127 | endif
128 |
129 | ifeq ($(filter 23,$(call get-allowed-api-levels)),)
130 | GAPPS_PRODUCT_PACKAGES += \
131 | GoogleTTS
132 | endif
133 |
134 | ifneq ($(filter mini,$(TARGET_GAPPS_VARIANT)),) # require at least mini
135 | GAPPS_PRODUCT_PACKAGES += \
136 | CalculatorGoogle \
137 | PrebuiltDeskClockGoogle \
138 | Hangouts \
139 | Maps \
140 | Photos \
141 | YouTube
142 |
143 | ifneq ($(filter full,$(TARGET_GAPPS_VARIANT)),) # require at least full
144 |
145 | GAPPS_FORCE_BROWSER_OVERRIDES := true
146 | GAPPS_PRODUCT_PACKAGES += \
147 | Books \
148 | EditorsDocs \
149 | Drive \
150 | FitnessPrebuilt \
151 | PrebuiltKeep \
152 | Videos \
153 | Music2 \
154 | Newsstand \
155 | PlayGames \
156 | EditorsSheets \
157 | EditorsSlides \
158 | talkback
159 |
160 | ifneq ($(filter stock,$(TARGET_GAPPS_VARIANT)),) # require at least stock
161 |
162 | GAPPS_FORCE_MMS_OVERRIDES := true
163 | GAPPS_FORCE_WEBVIEW_OVERRIDES := true
164 | GAPPS_PRODUCT_PACKAGES += \
165 | AndroidAuto \
166 | GoogleCamera \
167 | GoogleContacts \
168 | LatinImeGoogle \
169 | StorageManagerGoogle \
170 | TagGoogle \
171 | GoogleVrCore
172 |
173 | ifneq ($(filter 23,$(call get-allowed-api-levels)),)
174 | GAPPS_FORCE_DIALER_OVERRIDES := true
175 | endif
176 | ifneq ($(filter 24,$(call get-allowed-api-levels)),)
177 | GAPPS_PRODUCT_PACKAGES += \
178 | GooglePrintRecommendationService \
179 | GoogleExtServices \
180 | GoogleExtShared
181 | endif
182 |
183 | ifneq ($(filter super,$(TARGET_GAPPS_VARIANT)),)
184 |
185 | GAPPS_PRODUCT_PACKAGES += \
186 | Wallet \
187 | DMAgent \
188 | CarrierServices \
189 | GoogleEarth \
190 | GCS \
191 | GoogleHindiIME \
192 | GoogleJapaneseInput \
193 | KoreanIME \
194 | GooglePinyinIME \
195 | Tycho \
196 | Street \
197 | TranslatePrebuilt \
198 | GoogleZhuyinIME
199 |
200 | ifneq ($(filter 28,$(call get-allowed-api-levels)),)
201 | GAPPS_PRODUCT_PACKAGES += \
202 | ActionsServices
203 | endif
204 |
205 | endif # end super
206 | endif # end stock
207 | endif # end full
208 | endif # end mini
209 | endif # end micro
210 | endif # end nano
211 |
212 | ifneq ($(filter tvstock,$(TARGET_GAPPS_VARIANT)),)
213 | TVGAPPS_PRODUCT_PACKAGES += \
214 | AndroidMediaShell \
215 | talkback \
216 | VideosPano \
217 | PlayGamesPano \
218 | YouTubeLeanback
219 | endif # end tvstock
220 |
221 | # This needs to be at the end of standard files, but before the GAPPS_FORCE_* options,
222 | # since those also affect DEVICE_PACKAGE_OVERLAYS. We don't want to exclude a package
223 | # that also has an overlay, since that will make us use the overlay but not have the
224 | # package. This can cause issues.
225 | ifneq ($(filter tvmini,$(TARGET_GAPPS_VARIANT)),)
226 | GAPPS_FORCE_PIXEL_LAUNCHER := false
227 | PRODUCT_PACKAGES += $(filter-out $(GAPPS_EXCLUDED_PACKAGES),$(TVGAPPS_PRODUCT_PACKAGES))
228 | else
229 | PRODUCT_PACKAGES += $(filter-out $(GAPPS_EXCLUDED_PACKAGES),$(GAPPS_PRODUCT_PACKAGES))
230 | endif # end tvmini
231 |
232 | ifeq ($(GAPPS_FORCE_WEBVIEW_OVERRIDES),true)
233 | ifneq ($(filter 29,$(call get-allowed-api-levels)),)
234 | # starting with Q, put the overlay in a product APK
235 | PRODUCT_PACKAGES += GoogleWebViewOverlay
236 | else ifneq ($(filter 24,$(call get-allowed-api-levels)),)
237 | # starting with nougat, use a different overlay
238 | DEVICE_PACKAGE_OVERLAYS += \
239 | $(GAPPS_DEVICE_FILES_PATH)/overlay/webview/24
240 | else
241 | DEVICE_PACKAGE_OVERLAYS += \
242 | $(GAPPS_DEVICE_FILES_PATH)/overlay/webview/21
243 | endif
244 | PRODUCT_PACKAGES += \
245 | WebViewGoogle
246 | endif
247 |
248 | ifeq ($(GAPPS_FORCE_BROWSER_OVERRIDES),true)
249 | ifneq ($(filter 23,$(call get-allowed-api-levels)),)
250 | DEVICE_PACKAGE_OVERLAYS += \
251 | $(GAPPS_DEVICE_FILES_PATH)/overlay/browser
252 | endif
253 | PRODUCT_PACKAGES += \
254 | Chrome
255 | endif
256 |
257 | ifneq ($(filter 23,$(call get-allowed-api-levels)),)
258 | ifeq ($(GAPPS_FORCE_DIALER_OVERRIDES),true)
259 | DEVICE_PACKAGE_OVERLAYS += \
260 | $(GAPPS_DEVICE_FILES_PATH)/overlay/dialer
261 |
262 | PRODUCT_PACKAGES += \
263 | GoogleDialer
264 | endif
265 | endif
266 |
267 | ifeq ($(GAPPS_FORCE_MMS_OVERRIDES),true)
268 | DEVICE_PACKAGE_OVERLAYS += \
269 | $(GAPPS_DEVICE_FILES_PATH)/overlay/mms
270 |
271 | PRODUCT_PACKAGES += \
272 | PrebuiltBugle
273 | endif
274 |
275 | ifeq ($(GAPPS_FORCE_PIXEL_LAUNCHER),true)
276 |
277 | ifneq ($(filter 26,$(call get-allowed-api-levels)),)
278 | DEVICE_PACKAGE_OVERLAYS += \
279 | $(GAPPS_DEVICE_FILES_PATH)/overlay/pixelicons/26
280 | else ifneq ($(filter 25,$(call get-allowed-api-levels)),)
281 | DEVICE_PACKAGE_OVERLAYS += \
282 | $(GAPPS_DEVICE_FILES_PATH)/overlay/pixelicons/25
283 | endif
284 |
285 | ifneq ($(filter 28,$(call get-allowed-api-levels)),)
286 | DEVICE_PACKAGE_OVERLAYS += \
287 | $(GAPPS_DEVICE_FILES_PATH)/overlay/pixellauncher/28
288 | endif
289 |
290 | ifneq ($(filter 25,$(call get-allowed-api-levels)),)
291 | PRODUCT_PACKAGES += \
292 | PixelLauncherIcons
293 | endif
294 |
295 | PRODUCT_PACKAGES += \
296 | PixelLauncher \
297 | Wallpapers
298 | endif
299 |
--------------------------------------------------------------------------------
/overlay/assistant/28/frameworks/base/core/res/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
25 |
26 |
--------------------------------------------------------------------------------
/overlay/browser/frameworks/base/core/res/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
29 | com.android.chrome
30 |
31 |
--------------------------------------------------------------------------------
/overlay/dialer/packages/services/Telecomm/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 | com.google.android.dialer
20 |
21 |
22 | com.google.android.dialer.extensions.GoogleDialtactsActivity
23 |
24 |
--------------------------------------------------------------------------------
/overlay/dialer/packages/services/Telephony/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 | com.google.android.dialer
20 |
21 |
22 | com.google.android.dialer.extensions.GoogleDialtactsActivity
23 |
24 |
--------------------------------------------------------------------------------
/overlay/mms/frameworks/base/core/res/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
31 | com.google.android.apps.messaging
32 |
33 |
--------------------------------------------------------------------------------
/overlay/pico/frameworks/base/core/res/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 | true
26 | true
27 | true
28 |
32 |
33 | - com.google.android.gms
34 | - com.android.location.fused
35 |
36 |
37 |
--------------------------------------------------------------------------------
/overlay/pico/frameworks/base/packages/SettingsProvider/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | com.google.android.gms/.backup.BackupTransportService
4 |
5 |
--------------------------------------------------------------------------------
/overlay/pixelicons/25/frameworks/base/core/res/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
--------------------------------------------------------------------------------
/overlay/pixelicons/26/frameworks/base/core/res/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | "M50 0C77.6 0 100 22.4 100 50C100 77.6 77.6 100 50 100C22.4 100 0 77.6 0 50C0 22.4 22.4 0 50 0Z"
25 |
26 |
--------------------------------------------------------------------------------
/overlay/pixellauncher/28/frameworks/base/core/res/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
27 | com.google.android.apps.nexuslauncher/com.android.quickstep.RecentsActivity
28 |
29 |
--------------------------------------------------------------------------------
/overlay/tvmini/frameworks/base/core/res/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 | com.google.android.gms
23 |
24 |
25 |
27 |
28 | - com.google.android.gms
29 | - com.android.location.fused
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 | - com.google.android.gms
38 |
39 |
40 |
41 | com.google.android.marvin.talkback/.TalkBackService
42 |
43 | com.google.android.backdrop/.Backdrop
44 |
45 |
46 | com.google.android.tvrecommendations
47 |
48 |
53 | com.google.android.gms/.autofill.service.AutofillService
54 |
55 |
56 | com.google.android.tv.remote.service
57 |
58 |
70 |
71 | - com.google.android.inputmethod.latin
72 | - com.google.android.apps.inputmethod.hindi
73 | - com.google.android.apps.inputmethod.zhuyin
74 | - com.google.android.inputmethod.japanese
75 | - com.google.android.inputmethod.korean
76 | - com.google.android.inputmethod.pinyin
77 |
78 |
79 |
80 |
81 | - com.google.android.tvrecommendations
82 |
83 |
84 |
85 | com.google.android.ext.services
86 |
87 |
88 | com.google.android.katniss
89 |
90 |
91 | com.google.android.gms
92 |
93 |
94 | com.google.android.gms
95 |
96 |
99 | com.google.android.gms/.kids.account.receiver.ProfileOwnerReceiver
100 |
101 |
102 | - com.android.vending
103 | - com.google.android.gms
104 |
105 |
106 |
108 |
109 | - com.android.settings
110 | - com.google.android.gms
111 | - com.android.vending
112 |
113 |
114 |
--------------------------------------------------------------------------------
/overlay/webview/21/frameworks/base/core/res/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 | com.google.android.webview
24 |
25 |
--------------------------------------------------------------------------------
/overlay/webview/24/frameworks/base/core/res/res/xml/config_webview_packages.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | MIIDwzCCAqugAwIBAgIJAOoj9MXoVhH6MA0GCSqGSIb3DQEBBQUAMHgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDVQQHDA1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKDAtHb29nbGUgSW5jLjEQMA4GA1UECwwHQW5kcm9p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WU7WMaTl+kCAwEAAaNQME4wHQYDVR0OBBYEFB/AsC4iPAqaLoNytNSx29qByI7+MB8GA1UdIwQYMBaAFB/AsC4iPAqaLoNytNSx29qByI7+MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAMb2Td3ro/+MGVnCPAbwBSOZMVLUKGqt6zr8CShW9mtFHnmy29EaWSYYAj1M4+6Vpkq85NsgBEck7rnUjV8A3Q0NKdTys1KRKJqVvQRBN6SwqQenSf/abxQCa8Z+69rh+3BkIU1HLtu5lrMDZwon5H91L5mpORn6vItd20uW132lwSDeUEW2CHslTrodoFuTUcSUlRiq/URfUH3baO1QHXkxpQwrBPKL5deJfcZnxh5MAtAGSQL7gHvayEFlDppETXdDO7vgGTH2dEK2TjKWALbGiKkxSqjRyTNt4/FOj10TqNRdUamj+ydVJgzGQ8bki4Vc6NnKm/r4asusxapkVR4=
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/patches/Lollipop/0001-Fix-Chrome.patch:
--------------------------------------------------------------------------------
1 | From ec855ea4e180102a11ee5ecd3345c92477f575fa Mon Sep 17 00:00:00 2001
2 | From: Arne-Christian Blystad
3 | Date: Mon, 11 Apr 2016 11:08:20 +0200
4 | Subject: [PATCH] Don't extract crazy native libraries. Fixes Chrome.
5 |
6 | Chrome uses its own module loader (libcrazy) which it expects to find inside the
7 | APK, not outside.
8 |
9 | Fixes #21
10 | ---
11 | core/prebuilt_internal.mk | 2 +-
12 | 1 file changed, 1 insertion(+), 1 deletion(-)
13 |
14 | diff --git a/core/prebuilt_internal.mk b/core/prebuilt_internal.mk
15 | index bc6088f..03bcf1f 100644
16 | --- a/core/prebuilt_internal.mk
17 | +++ b/core/prebuilt_internal.mk
18 | @@ -183,7 +183,7 @@ include $(BUILD_SYSTEM)/dex_preopt_odex_install.mk
19 | $(built_module) : $(my_prebuilt_src_file) | $(ACP) $(ZIPALIGN) $(SIGNAPK_JAR)
20 | $(transform-prebuilt-to-target)
21 | ifdef extracted_jni_libs
22 | - $(hide) zip -d $@ 'lib/*.so' # strip embedded JNI libraries.
23 | + $(hide) unzip -Z -1 $@ | grep "lib/" | grep -v "/crazy." | xargs zip -d $@ # strip embedded JNI libraries.
24 | endif
25 | ifneq ($(LOCAL_CERTIFICATE),PRESIGNED)
26 | $(sign-package)
27 | --
28 | 2.7.4
29 |
30 |
--------------------------------------------------------------------------------
/patches/Lollipop/README.md:
--------------------------------------------------------------------------------
1 | # Lollipop patches
2 | This folder includes patches that should be applied to AOSP in order to ensure
3 | everything works correctly/as expected.
4 |
5 | ## 0001-Fix-Chrome.patch
6 |
7 | Applies to `build`. Fixes issues with Chrome.
8 |
--------------------------------------------------------------------------------
/patches/README.md:
--------------------------------------------------------------------------------
1 | # AOSP Patches
2 |
--------------------------------------------------------------------------------