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

Side by Side Diff: android_webview/build/resources_config.mk

Issue 414823002: [android_webview] Don't unconditionally add pak files to system image. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | android_webview/webview_pak.mk » ('j') | android_webview/webview_pak.mk » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 android_webview_manifest_file := $(call my-dir)/AndroidManifest.xml 5 android_webview_manifest_file := $(call my-dir)/AndroidManifest.xml
6 6
7 # Resources. 7 # Resources.
8 # The res_hack folder is necessary to defeat a build system "optimization" which 8 # The res_hack folder is necessary to defeat a build system "optimization" which
9 # ends up skipping running aapt if there are no resource files in any of the 9 # ends up skipping running aapt if there are no resource files in any of the
10 # resources dirs. Unfortunately, because all of our resources are generated at 10 # resources dirs. Unfortunately, because all of our resources are generated at
11 # build time and because this check is performed when processing the Makefile 11 # build time and because this check is performed when processing the Makefile
12 # it tests positive when building from clean resulting in a build failure. 12 # it tests positive when building from clean resulting in a build failure.
13 # We defeat the optimization by including an empty values.xml file in the list. 13 # We defeat the optimization by including an empty values.xml file in the list.
14 android_webview_resources_dirs := \ 14 android_webview_resources_dirs := \
15 $(call my-dir)/res_hack \ 15 $(call my-dir)/res_hack \
16 $(call intermediates-dir-for,GYP,shared)/android_webview_jarjar_content_reso urces/jarjar_res \ 16 $(call intermediates-dir-for,GYP,shared)/android_webview_jarjar_content_reso urces/jarjar_res \
17 $(call intermediates-dir-for,GYP,shared)/android_webview_jarjar_ui_resources /jarjar_res \ 17 $(call intermediates-dir-for,GYP,shared)/android_webview_jarjar_ui_resources /jarjar_res \
18 $(call intermediates-dir-for,GYP,ui_strings_grd)/ui_strings_grd/res_grit \ 18 $(call intermediates-dir-for,GYP,ui_strings_grd)/ui_strings_grd/res_grit \
19 $(call intermediates-dir-for,GYP,content_strings_grd)/content_strings_grd/re s_grit 19 $(call intermediates-dir-for,GYP,content_strings_grd)/content_strings_grd/re s_grit
20 20
21 android_webview_asset_dirs := \
Primiano Tucci (use gerrit) 2014/07/28 08:01:02 This seems to be unused, or am I missing something
Primiano Tucci (use gerrit) 2014/07/28 08:24:45 Ok, we just had a discussion offline. Can you just
22 $(call intermediates-dir-for,APPS,webviewchromium-paks)
23
21 android_webview_aapt_flags := --auto-add-overlay 24 android_webview_aapt_flags := --auto-add-overlay
22 android_webview_aapt_flags += --custom-package com.android.webview.chromium 25 android_webview_aapt_flags += --custom-package com.android.webview.chromium
23 android_webview_aapt_flags += --extra-packages org.chromium.ui 26 android_webview_aapt_flags += --extra-packages org.chromium.ui
24 android_webview_aapt_flags += --extra-packages org.chromium.content 27 android_webview_aapt_flags += --extra-packages org.chromium.content
28 android_webview_aapt_flags += -0 pak
29
30 android_webview_system_pak_targets := \
Primiano Tucci (use gerrit) 2014/07/28 08:01:02 Do you plan to remove at this point the similar se
mkosiba (inactive) 2014/07/28 09:36:08 yes.
31 webviewchromium_pak \
32 webviewchromium_webkit_strings_am.pak \
33 webviewchromium_webkit_strings_ar.pak \
34 webviewchromium_webkit_strings_bg.pak \
35 webviewchromium_webkit_strings_bn.pak \
36 webviewchromium_webkit_strings_ca.pak \
37 webviewchromium_webkit_strings_cs.pak \
38 webviewchromium_webkit_strings_da.pak \
39 webviewchromium_webkit_strings_de.pak \
40 webviewchromium_webkit_strings_el.pak \
41 webviewchromium_webkit_strings_en-GB.pak \
42 webviewchromium_webkit_strings_en-US.pak \
43 webviewchromium_webkit_strings_es-419.pak \
44 webviewchromium_webkit_strings_es.pak \
45 webviewchromium_webkit_strings_et.pak \
46 webviewchromium_webkit_strings_fa.pak \
47 webviewchromium_webkit_strings_fil.pak \
48 webviewchromium_webkit_strings_fi.pak \
49 webviewchromium_webkit_strings_fr.pak \
50 webviewchromium_webkit_strings_gu.pak \
51 webviewchromium_webkit_strings_he.pak \
52 webviewchromium_webkit_strings_hi.pak \
53 webviewchromium_webkit_strings_hr.pak \
54 webviewchromium_webkit_strings_hu.pak \
55 webviewchromium_webkit_strings_id.pak \
56 webviewchromium_webkit_strings_it.pak \
57 webviewchromium_webkit_strings_ja.pak \
58 webviewchromium_webkit_strings_kn.pak \
59 webviewchromium_webkit_strings_ko.pak \
60 webviewchromium_webkit_strings_lt.pak \
61 webviewchromium_webkit_strings_lv.pak \
62 webviewchromium_webkit_strings_ml.pak \
63 webviewchromium_webkit_strings_mr.pak \
64 webviewchromium_webkit_strings_ms.pak \
65 webviewchromium_webkit_strings_nb.pak \
66 webviewchromium_webkit_strings_nl.pak \
67 webviewchromium_webkit_strings_pl.pak \
68 webviewchromium_webkit_strings_pt-BR.pak \
69 webviewchromium_webkit_strings_pt-PT.pak \
70 webviewchromium_webkit_strings_ro.pak \
71 webviewchromium_webkit_strings_ru.pak \
72 webviewchromium_webkit_strings_sk.pak \
73 webviewchromium_webkit_strings_sl.pak \
74 webviewchromium_webkit_strings_sr.pak \
75 webviewchromium_webkit_strings_sv.pak \
76 webviewchromium_webkit_strings_sw.pak \
77 webviewchromium_webkit_strings_ta.pak \
78 webviewchromium_webkit_strings_te.pak \
79 webviewchromium_webkit_strings_th.pak \
80 webviewchromium_webkit_strings_tr.pak \
81 webviewchromium_webkit_strings_uk.pak \
82 webviewchromium_webkit_strings_vi.pak \
83 webviewchromium_webkit_strings_zh-CN.pak \
84 webviewchromium_webkit_strings_zh-TW.pak
85
86 android_webview_final_pak_names := \
87 $(patsubst webviewchromium_pak,webviewchromium.pak, \
88 $(patsubst webviewchromium_webkit_strings_%,%, \
89 $(android_webview_system_pak_targets)))
90
91 android_webview_intermediates_pak_additional_deps := \
Primiano Tucci (use gerrit) 2014/07/28 08:01:02 Is this for enforcing a dependency onto the shortn
mkosiba (inactive) 2014/07/28 09:36:08 Done.
92 $(foreach name,$(android_webview_final_pak_names), \
93 $(call intermediates-dir-for,APPS,webviewchromium-paks)/$(name))
OLDNEW
« no previous file with comments | « no previous file | android_webview/webview_pak.mk » ('j') | android_webview/webview_pak.mk » ('J')

Powered by Google App Engine
This is Rietveld 408576698