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

Side by Side Diff: android_webview/webview_pak.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, 4 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 | « android_webview/build/resources_config.mk ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This makefile fragment describes how to install a Chromium pak into the 5 # This makefile fragment describes how to install a Chromium pak into the
6 # Android framework for use by WebView. 6 # Android framework for use by WebView.
7 7
8 my_local_module := $(LOCAL_MODULE)
9 my_local_module_stem := $(LOCAL_MODULE_STEM)
10 my_local_built_module_stem := $(LOCAL_BUILT_MODULE_STEM)
11
12 # This module is used to copy the .pak files to /system/webview/paks in the
13 # system image.
8 LOCAL_MODULE_CLASS := GYP 14 LOCAL_MODULE_CLASS := GYP
9 LOCAL_MODULE_SUFFIX := .pak 15 LOCAL_MODULE_SUFFIX := .pak
10 LOCAL_MODULE_PATH := $(TARGET_OUT_JAVA_LIBRARIES)/webview/paks 16 LOCAL_MODULE_PATH := $(TARGET_OUT_JAVA_LIBRARIES)/webview/paks
11 17
12 include $(BUILD_SYSTEM)/base_rules.mk 18 include $(BUILD_SYSTEM)/base_rules.mk
13 19
14 built_by_gyp := $(call intermediates-dir-for,GYP,shared)/$(LOCAL_BUILT_MODULE_ST EM) 20 built_by_gyp := $(call intermediates-dir-for,GYP,shared)/$(LOCAL_BUILT_MODULE_ST EM)
15 21
16 $(eval $(call copy-one-file,$(built_by_gyp),$(LOCAL_BUILT_MODULE))) 22 $(eval $(call copy-one-file,$(built_by_gyp),$(LOCAL_BUILT_MODULE)))
23
24 include $(CLEAR_VARS)
25
26 # This module is used to copy the .pak files to an intermediates folder so that
27 # they can be picked up by AAPT and included in an .apk.
28 LOCAL_MODULE := res-$(my_local_module)
29 LOCAL_MODULE_STEM := $(my_local_module_stem)
30 LOCAL_BUILT_MODULE_STEM := $(my_local_built_module_stem)
31 LOCAL_MODULE_CLASS := GYP
32 LOCAL_MODULE_SUFFIX := .pak
33 LOCAL_MODULE_PATH := $(call intermediates-dir-for,APPS,webviewchromium-paks)
34
35 include $(BUILD_SYSTEM)/base_rules.mk
36
37 built_by_gyp := $(call intermediates-dir-for,GYP,shared)/$(LOCAL_BUILT_MODULE_ST EM)
38
39 $(eval $(call copy-one-file,$(built_by_gyp),$(LOCAL_BUILT_MODULE)))
OLDNEW
« no previous file with comments | « android_webview/build/resources_config.mk ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698