blob: 067cc2f0ea17ed9577638bdb78c6f505eda1f51f [file] [log] [blame]
Calin3de2b012017-05-05 19:45:42 +02001#
2# Copyright (C) 2017 The Xperia 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#
16LOCAL_PATH := $(my-dir)
17
Jackeagle30fe1cb2019-07-07 14:22:30 -040018ifeq ($(USE_CHROMIUM), true)
Calin3de2b012017-05-05 19:45:42 +020019
Jackeagle30fe1cb2019-07-07 14:22:30 -040020include $(CLEAR_VARS)
Calin3de2b012017-05-05 19:45:42 +020021LOCAL_MODULE := Chromium
Eric Park81e61852019-09-14 12:55:24 -040022LOCAL_MODULE_TAGS := optional
Calin3de2b012017-05-05 19:45:42 +020023LOCAL_MODULE_CLASS := APPS
24ifeq ($(TARGET_ARCH), x86)
25LOCAL_SRC_FILES := Chromium_x86.apk
26LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
27LOCAL_BUILT_MODULE_STEM := package.apk
28LOCAL_CERTIFICATE := PRESIGNED
29else
30LOCAL_SRC_FILES := Chromium_arm.apk
31LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
32LOCAL_BUILT_MODULE_STEM := package.apk
33LOCAL_CERTIFICATE := PRESIGNED
34endif
35include $(BUILD_PREBUILT)
Jackeagle30fe1cb2019-07-07 14:22:30 -040036endif