forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android WebView: add resource paks to the Android build.
We need to install the Chromium resource paks that webview depends on into the Android system image. This requires adding them as dependencies of the WebView All target, and defining custom Android build rules to copy them to the right place. BUG= Review URL: https://codereview.chromium.org/11235002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163266 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
torne@chromium.org
committed
Oct 22, 2012
1 parent
73f201f
commit 3c394c1
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
# This makefile fragment describes how to install a Chromium pak into the | ||
# Android framework for use by WebView. | ||
|
||
LOCAL_MODULE_CLASS := GYP | ||
LOCAL_MODULE_SUFFIX := .pak | ||
LOCAL_MODULE_PATH := $(TARGET_OUT_JAVA_LIBRARIES)/webview/paks | ||
|
||
include $(BUILD_SYSTEM)/base_rules.mk | ||
|
||
built_by_gyp := $(call intermediates-dir-for,GYP,shared)/$(LOCAL_INSTALLED_MODULE_STEM) | ||
|
||
$(eval $(call copy-one-file,$(built_by_gyp),$(LOCAL_BUILT_MODULE))) |