1# Copyright (c) 2016, Intel Corporation
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without modification,
5# are permitted provided that the following conditions are met:
6#
7# 1. Redistributions of source code must retain the above copyright notice, this
8# list of conditions and the following disclaimer.
9#
10# 2. Redistributions in binary form must reproduce the above copyright notice,
11# this list of conditions and the following disclaimer in the documentation and/or
12# other materials provided with the distribution.
13#
14# 3. Neither the name of the copyright holder nor the names of its contributors
15# may be used to endorse or promote products derived from this software without
16# specific prior written permission.
17#
18# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
22# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29##################################################
30# Scripts are not compiled so the prebuild mechanism is used to export them.
31
32include $(CLEAR_VARS)
33LOCAL_MODULE := EddParser.py
34LOCAL_MODULE_OWNER := intel
35LOCAL_SRC_FILES := ./upstream/tools/xmlGenerator/$(LOCAL_MODULE)
36LOCAL_MODULE_CLASS := EXECUTABLES
37LOCAL_IS_HOST_MODULE := true
38include $(BUILD_PREBUILT)
39
40include $(CLEAR_VARS)
41LOCAL_MODULE := PfwBaseTranslator.py
42LOCAL_MODULE_OWNER := intel
43LOCAL_SRC_FILES := ./upstream/tools/xmlGenerator/$(LOCAL_MODULE)
44LOCAL_MODULE_CLASS := EXECUTABLES
45LOCAL_IS_HOST_MODULE := true
46include $(BUILD_PREBUILT)
47
48include $(CLEAR_VARS)
49LOCAL_MODULE := PFWScriptGenerator.py
50LOCAL_MODULE_OWNER := intel
51LOCAL_SRC_FILES := ./upstream/tools/xmlGenerator/$(LOCAL_MODULE)
52LOCAL_MODULE_CLASS := EXECUTABLES
53LOCAL_IS_HOST_MODULE := true
54LOCAL_REQUIRED_MODULES := \
55    PfwBaseTranslator.py \
56    EddParser.py
57include $(BUILD_PREBUILT)
58
59include $(CLEAR_VARS)
60LOCAL_MODULE := updateRoutageDomains.sh
61LOCAL_MODULE_OWNER := intel
62LOCAL_SRC_FILES := ./upstream/tools/xmlGenerator/$(LOCAL_MODULE)
63LOCAL_MODULE_CLASS := EXECUTABLES
64LOCAL_IS_HOST_MODULE := true
65include $(BUILD_PREBUILT)
66
67include $(CLEAR_VARS)
68LOCAL_MODULE := hostConfig.py
69LOCAL_MODULE_OWNER := intel
70LOCAL_SRC_FILES := ./upstream/tools/xmlGenerator/$(LOCAL_MODULE)
71LOCAL_MODULE_CLASS := EXECUTABLES
72LOCAL_IS_HOST_MODULE := true
73include $(BUILD_PREBUILT)
74
75include $(CLEAR_VARS)
76LOCAL_MODULE := domainGeneratorConnector
77LOCAL_MODULE_OWNER := intel
78LOCAL_STATIC_LIBRARIES := libpfw_utility_host
79LOCAL_SHARED_LIBRARIES := libparameter_host
80LOCAL_CFLAGS := -fexceptions
81LOCAL_SRC_FILES := ./upstream/tools/xmlGenerator/domainGeneratorConnector.cpp
82include $(BUILD_HOST_EXECUTABLE)
83
84include $(CLEAR_VARS)
85LOCAL_MODULE := domainGenerator.py
86LOCAL_MODULE_OWNER := intel
87LOCAL_SRC_FILES := ./upstream/tools/xmlGenerator/$(LOCAL_MODULE)
88LOCAL_MODULE_CLASS := EXECUTABLES
89LOCAL_IS_HOST_MODULE := true
90LOCAL_REQUIRED_MODULES := \
91    EddParser.py \
92    hostConfig.py \
93    PFWScriptGenerator.py \
94    domainGeneratorConnector
95include $(BUILD_PREBUILT)
96
97include $(CLEAR_VARS)
98LOCAL_MODULE := domainGenerator.sh
99LOCAL_MODULE_OWNER := intel
100LOCAL_SRC_FILES := ./upstream/tools/xmlGenerator/$(LOCAL_MODULE)
101LOCAL_MODULE_CLASS := EXECUTABLES
102LOCAL_IS_HOST_MODULE := true
103include $(BUILD_PREBUILT)
104
105include $(CLEAR_VARS)
106LOCAL_MODULE := lightRoutingUpdate.sh
107LOCAL_MODULE_OWNER := intel
108LOCAL_SRC_FILES := ./upstream/tools/xmlGenerator/$(LOCAL_MODULE)
109LOCAL_REQUIRED_MODULES :=  \
110    PFWScriptGenerator.py
111LOCAL_MODULE_CLASS := EXECUTABLES
112LOCAL_IS_HOST_MODULE := true
113include $(BUILD_PREBUILT)
114##################################################
115