mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-07 05:42:34 +01:00
Compare commits
285 Commits
experiment
...
legacy
Author | SHA1 | Date | |
---|---|---|---|
|
e1e5d466a2 | ||
|
3a863fa143 | ||
|
e548e75017 | ||
|
1b0799bcc5 | ||
|
ea22bc062e | ||
|
ba6889ea7f | ||
|
9a9e8395cf | ||
|
0995e57689 | ||
|
7c920f953c | ||
|
e5417e5b7f | ||
|
d295b7d92d | ||
|
e33245ac72 | ||
|
57a8e62be9 | ||
|
7ce1044eff | ||
|
5a70ab8534 | ||
|
486c0c6887 | ||
|
9e498a911e | ||
|
3d80e4ef34 | ||
|
713fcc44d9 | ||
|
39bc8eae20 | ||
|
adf13feb81 | ||
|
b312bf317d | ||
|
d8a5d2fa37 | ||
|
a3d042e054 | ||
|
afe3c16908 | ||
|
5eee03c689 | ||
|
6266edad6f | ||
|
64426601fe | ||
|
cea39a6193 | ||
|
c952b2f0d4 | ||
|
ea05022f5f | ||
|
cdc7c96cdf | ||
|
2f683e59d2 | ||
|
6915de98f1 | ||
|
27fd2a81d3 | ||
|
a1c19b55b8 | ||
|
890f4309d4 | ||
|
c8cb153f8e | ||
|
10c1f64216 | ||
|
f194ef281b | ||
|
4d607b46c5 | ||
|
cdd0834447 | ||
|
4c0d3f8d20 | ||
|
8dcf1ba6a5 | ||
|
081358769d | ||
|
10a614ff04 | ||
|
58a8ea9051 | ||
|
335fff2a6f | ||
|
cd0863d7fa | ||
|
5cd9bc756c | ||
|
362e93c4cb | ||
|
3f7d44de28 | ||
|
f35c444ddb | ||
|
e35d0f2959 | ||
|
6d9a03ad8f | ||
|
c6cdd8c0e6 | ||
|
8cf4c259c0 | ||
|
77bb14331f | ||
|
dd8843d24a | ||
|
16b302679a | ||
|
f9db0a3798 | ||
|
548eb99bdc | ||
|
f4669e2b20 | ||
|
0578f26bc7 | ||
|
12230da959 | ||
|
afa2e307cc | ||
|
d662498ea8 | ||
|
9e934c6733 | ||
|
596595698d | ||
|
220e0962e1 | ||
|
be3c91b131 | ||
|
efad084b24 | ||
|
6da0550b98 | ||
|
9500bcd914 | ||
|
7f8e7fed4b | ||
|
87972e2605 | ||
|
33874a8f71 | ||
|
93dba8b35d | ||
|
6f629601be | ||
|
565f352114 | ||
|
920d80ad6e | ||
|
9962b413d7 | ||
|
fdff80a72b | ||
|
6cc4626f50 | ||
|
665d76456b | ||
|
f4b91b6c9e | ||
|
4730ac2989 | ||
|
6737fda24e | ||
|
f72bf95612 | ||
|
2a07ed92fe | ||
|
a4c7340746 | ||
|
6eb4e59129 | ||
|
d65561e3e9 | ||
|
64d3ddc8e6 | ||
|
579b940d75 | ||
|
0656e61bc2 | ||
|
13e787b5d0 | ||
|
4d7ef408c9 | ||
|
a533680e49 | ||
|
4ddb6f44fc | ||
|
1238cb71f0 | ||
|
53203bfb50 | ||
|
11859af894 | ||
|
1f5f9cf478 | ||
|
52a07160b9 | ||
|
0d8204121d | ||
|
a47d6c6521 | ||
|
d391b28d2e | ||
|
e42099851b | ||
|
0c0ccb10d9 | ||
|
486494f1f2 | ||
|
919a44baec | ||
|
4f09c3118a | ||
|
b6b1b259dc | ||
|
f1b63b239c | ||
|
797cb3c9ea | ||
|
9bd745b347 | ||
|
9f3ecd3715 | ||
|
1a177dd52f | ||
|
4010618631 | ||
|
1168c1ada8 | ||
|
8b7db92ab8 | ||
|
088102a81d | ||
|
87ce1fd0ae | ||
|
4fac39ada9 | ||
|
81fa5fdf81 | ||
|
2702731532 | ||
|
b95ea60213 | ||
|
8acebe12bd | ||
|
2172db5833 | ||
|
ff67ed1697 | ||
|
ae1a5019dc | ||
|
51db53d979 | ||
|
42a4831092 | ||
|
8e94b79ed8 | ||
|
37d99e4a5d | ||
|
0683427acd | ||
|
64574b1d4c | ||
|
3653e1b507 | ||
|
e62262dbb3 | ||
|
18e47c89c5 | ||
|
389a1ecf76 | ||
|
260e9563b3 | ||
|
48d0e1196c | ||
|
b64c615e8e | ||
|
a4e27128e5 | ||
|
242cf7e33a | ||
|
cc641e8dac | ||
|
bb17590689 | ||
|
4ce38fcd55 | ||
|
bf694ffdf1 | ||
|
b36e0061e1 | ||
|
526ad15c01 | ||
|
0694ab6792 | ||
|
2fd7614d97 | ||
|
c75c102cd2 | ||
|
c86ce64408 | ||
|
d6909c5e6a | ||
|
55e140f20a | ||
|
0c7a7e4dca | ||
|
a7ed00d9ed | ||
|
89aa3e1208 | ||
|
f33fd97705 | ||
|
bf598d1873 | ||
|
c094a47f12 | ||
|
6dab2b48ab | ||
|
1809def83f | ||
|
1158c62c55 | ||
|
d13defe242 | ||
|
a9c5ab9bc8 | ||
|
27af97b795 | ||
|
a0a189044e | ||
|
eca6c10a75 | ||
|
01efbe1807 | ||
|
81f7f92b84 | ||
|
95c98fd458 | ||
|
428abfb6a6 | ||
|
a8bf8458ec | ||
|
862eeadb39 | ||
|
ec66e1d166 | ||
|
3e4ffa8cd5 | ||
|
dc14e6ed11 | ||
|
47ccae1a6b | ||
|
a2eef179ef | ||
|
7eb36b959b | ||
|
b5563113b1 | ||
|
5720d3f214 | ||
|
5b82b90939 | ||
|
bfcb829ab0 | ||
|
70f646f87d | ||
|
3f03dec7af | ||
|
076772da4d | ||
|
138c95745e | ||
|
f517e6c4da | ||
|
8125c3e0a2 | ||
|
81bdc7251b | ||
|
b948d28c62 | ||
|
bc6af25366 | ||
|
5d8305cfdc | ||
|
e038fb924a | ||
|
51c92cb2f5 | ||
|
e98b653b3e | ||
|
b1da0fe958 | ||
|
b10b5970c3 | ||
|
e866cfed12 | ||
|
f5b40e3d64 | ||
|
cc3a815cb7 | ||
|
9ef8bddc4b | ||
|
a3011accf8 | ||
|
317da0a1c4 | ||
|
7c79c24865 | ||
|
6c5e52ad56 | ||
|
1019b30174 | ||
|
50236b0661 | ||
|
6cfcb89827 | ||
|
cf0a4d3ff3 | ||
|
06764dff00 | ||
|
8f2ff4d2f8 | ||
|
9a9de99c5f | ||
|
f52aa0f7e9 | ||
|
935edcdd01 | ||
|
869c0bc6bd | ||
|
57ab97df89 | ||
|
773bf26ff2 | ||
|
2822949517 | ||
|
4dc0aaa724 | ||
|
35df2fff30 | ||
|
4abbe7602a | ||
|
55e40ded1c | ||
|
441ecfa98c | ||
|
7130b3a4ab | ||
|
510abf4666 | ||
|
70b265dd34 | ||
|
ddbd94b2a8 | ||
|
c4025cad66 | ||
|
38b368eec2 | ||
|
2e97bcce70 | ||
|
9b13f65895 | ||
|
78c1a80a51 | ||
|
7f85da6633 | ||
|
f76d9f9a1f | ||
|
6ffed382cf | ||
|
6e7087ee88 | ||
|
96c6f010f8 | ||
|
8f1206678a | ||
|
d10e51e30b | ||
|
bd0a6ac3c8 | ||
|
9ba30c27df | ||
|
8f40e6aa40 | ||
|
8c9ae6db53 | ||
|
6ac0c20619 | ||
|
cfa1827445 | ||
|
821cbaff4e | ||
|
c7db9a4543 | ||
|
6f67f00834 | ||
|
40db6a9933 | ||
|
543228f7c3 | ||
|
58b97305d5 | ||
|
0246302814 | ||
|
0aee99a79c | ||
|
5012ab5f1b | ||
|
b7b2406a25 | ||
|
cd05c36250 | ||
|
b169b45e57 | ||
|
40cc830de1 | ||
|
1ebe56ca76 | ||
|
79f58e74b9 | ||
|
7fe699eb41 | ||
|
2bd77f0833 | ||
|
7b7eb05e7f | ||
|
ae0c9fa60b | ||
|
75b56e462c | ||
|
d8438c5ae8 | ||
|
ca7a1abe78 | ||
|
bd37973442 | ||
|
c38dc287ab | ||
|
3feb702898 | ||
|
0f57dee6bf | ||
|
99b46b4630 | ||
|
4ce20e2d3f | ||
|
65aa00483b | ||
|
da7a3276ed | ||
|
b89d9bbc4b | ||
|
54bffb45ab | ||
|
e7a47f602d |
15
.gitignore
vendored
15
.gitignore
vendored
@@ -3,6 +3,7 @@
|
|||||||
*.bak
|
*.bak
|
||||||
*.o
|
*.o
|
||||||
*.cmd
|
*.cmd
|
||||||
|
*.iml
|
||||||
Module.symvers
|
Module.symvers
|
||||||
modules.order
|
modules.order
|
||||||
*~
|
*~
|
||||||
@@ -14,9 +15,12 @@ wa_output/
|
|||||||
doc/source/api/
|
doc/source/api/
|
||||||
doc/source/extensions/
|
doc/source/extensions/
|
||||||
MANIFEST
|
MANIFEST
|
||||||
wlauto/external/uiauto/bin/
|
wlauto/external/uiauto/**/build/
|
||||||
wlauto/external/uiauto/*.properties
|
wlauto/external/uiauto/*.properties
|
||||||
wlauto/external/uiauto/build.xml
|
wlauto/external/uiauto/app/libs/
|
||||||
|
wlauto/external/uiauto/app/proguard-rules.pro
|
||||||
|
wlauto/external/uiauto/**/.gradle
|
||||||
|
wlauto/external/uiauto/**/.idea
|
||||||
*.orig
|
*.orig
|
||||||
local.properties
|
local.properties
|
||||||
wlauto/external/revent/libs/
|
wlauto/external/revent/libs/
|
||||||
@@ -27,4 +31,9 @@ pmu_logger.mod.c
|
|||||||
.tmp_versions
|
.tmp_versions
|
||||||
obj/
|
obj/
|
||||||
libs/armeabi
|
libs/armeabi
|
||||||
wlauto/workloads/*/uiauto/bin/
|
wlauto/workloads/*/uiauto/**/build/
|
||||||
|
wlauto/workloads/*/uiauto/*.properties
|
||||||
|
wlauto/workloads/*/uiauto/app/libs/
|
||||||
|
wlauto/workloads/*/uiauto/app/proguard-rules.pro
|
||||||
|
wlauto/workloads/*/uiauto/**/.gradle
|
||||||
|
wlauto/workloads/*/uiauto/**/.idea
|
||||||
|
16
README.rst
16
README.rst
@@ -1,6 +1,19 @@
|
|||||||
Workload Automation
|
Workload Automation
|
||||||
+++++++++++++++++++
|
+++++++++++++++++++
|
||||||
|
|
||||||
|
.. raw:: html
|
||||||
|
|
||||||
|
<span style="border: solid red 3px">
|
||||||
|
<p align="center">
|
||||||
|
<font color="red">DO NOT USE "MASTER" BRANCH</font>. WA2 has been
|
||||||
|
deprecated in favor of WA3, which is currently on "next" branch.
|
||||||
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
The master branch will be aligned with next shortly. In the mean time,
|
||||||
|
please <font style="bold">USE "NEXT" BRANCH</font> instead.
|
||||||
|
</p>
|
||||||
|
</span>
|
||||||
|
|
||||||
Workload Automation (WA) is a framework for executing workloads and collecting
|
Workload Automation (WA) is a framework for executing workloads and collecting
|
||||||
measurements on Android and Linux devices. WA includes automation for nearly 50
|
measurements on Android and Linux devices. WA includes automation for nearly 50
|
||||||
workloads (mostly Android), some common instrumentation (ftrace, ARM
|
workloads (mostly Android), some common instrumentation (ftrace, ARM
|
||||||
@@ -46,7 +59,8 @@ documentation.
|
|||||||
Documentation
|
Documentation
|
||||||
=============
|
=============
|
||||||
|
|
||||||
You can view pre-built HTML documentation `here <http://pythonhosted.org/wlauto/>`_.
|
You can view pre-built HTML documentation
|
||||||
|
`here <http://workload-automation.readthedocs.io/en/latest/>`_.
|
||||||
|
|
||||||
Documentation in reStructuredText format may be found under ``doc/source``. To
|
Documentation in reStructuredText format may be found under ``doc/source``. To
|
||||||
compile it into cross-linked HTML, make sure you have `Sphinx
|
compile it into cross-linked HTML, make sure you have `Sphinx
|
||||||
|
@@ -10,22 +10,29 @@ sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
|
|||||||
|
|
||||||
from wlauto.exceptions import WAError, ToolError
|
from wlauto.exceptions import WAError, ToolError
|
||||||
from wlauto.utils.doc import format_simple_table
|
from wlauto.utils.doc import format_simple_table
|
||||||
|
from wlauto.utils.misc import check_output, get_null, which
|
||||||
|
|
||||||
|
|
||||||
def get_aapt_path():
|
def get_aapt_path():
|
||||||
"""Return the full path to aapt tool."""
|
"""Return the full path to aapt tool."""
|
||||||
sdk_path = os.getenv('ANDROID_HOME')
|
sdk_path = os.getenv('ANDROID_HOME')
|
||||||
if not sdk_path:
|
if sdk_path:
|
||||||
raise ToolError('Please make sure you have Android SDK installed and have ANDROID_HOME set.')
|
build_tools_directory = os.path.join(sdk_path, 'build-tools')
|
||||||
build_tools_directory = os.path.join(sdk_path, 'build-tools')
|
versions = os.listdir(build_tools_directory)
|
||||||
versions = os.listdir(build_tools_directory)
|
for version in reversed(sorted(versions)):
|
||||||
for version in reversed(sorted(versions)):
|
aapt_path = os.path.join(build_tools_directory, version, 'aapt')
|
||||||
aapt_path = os.path.join(build_tools_directory, version, 'aapt')
|
if os.path.isfile(aapt_path):
|
||||||
if os.path.isfile(aapt_path):
|
logging.debug('Found aapt for version {}'.format(version))
|
||||||
logging.debug('Found aapt for version {}'.format(version))
|
return aapt_path
|
||||||
return aapt_path
|
else:
|
||||||
|
raise ToolError('aapt not found. Please make sure at least one Android platform is installed.')
|
||||||
else:
|
else:
|
||||||
raise ToolError('aapt not found. Please make sure at least one Android platform is installed.')
|
logging.debug("ANDROID_HOME is not set, try to find in $PATH.")
|
||||||
|
aapt_path = which('aapt')
|
||||||
|
if aapt_path:
|
||||||
|
logging.debug('Using aapt from {}'.format(aapt_path))
|
||||||
|
return aapt_path
|
||||||
|
raise ToolError('Please make sure you have Android SDK installed and have ANDROID_HOME set.')
|
||||||
|
|
||||||
|
|
||||||
def get_apks(path):
|
def get_apks(path):
|
||||||
|
59
doc/Makefile
59
doc/Makefile
@@ -7,18 +7,11 @@ SPHINXBUILD = sphinx-build
|
|||||||
PAPER =
|
PAPER =
|
||||||
BUILDDIR = build
|
BUILDDIR = build
|
||||||
|
|
||||||
SPHINXAPI = sphinx-apidoc
|
|
||||||
SPHINXAPIOPTS =
|
|
||||||
|
|
||||||
WAEXT = ./build_extension_docs.py
|
|
||||||
WAEXTOPTS = source/extensions ../wlauto ../wlauto/external ../wlauto/tests
|
|
||||||
|
|
||||||
|
|
||||||
# Internal variables.
|
# Internal variables.
|
||||||
PAPEROPT_a4 = -D latex_paper_size=a4
|
PAPEROPT_a4 = -D latex_paper_size=a4
|
||||||
PAPEROPT_letter = -D latex_paper_size=letter
|
PAPEROPT_letter = -D latex_paper_size=letter
|
||||||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
||||||
ALLSPHINXAPIOPTS = -f $(SPHINXAPIOPTS) -o source/api ../wlauto
|
|
||||||
# the i18n builder cannot share the environment and doctrees with the others
|
# the i18n builder cannot share the environment and doctrees with the others
|
||||||
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
||||||
|
|
||||||
@@ -58,52 +51,38 @@ coverage:
|
|||||||
@echo
|
@echo
|
||||||
@echo "Build finished. The coverage reports are in $(BUILDDIR)/coverage."
|
@echo "Build finished. The coverage reports are in $(BUILDDIR)/coverage."
|
||||||
|
|
||||||
api: ../wlauto
|
html:
|
||||||
rm -rf source/api/*
|
|
||||||
$(SPHINXAPI) $(ALLSPHINXAPIOPTS)
|
|
||||||
|
|
||||||
waext: ../wlauto
|
|
||||||
rm -rf source/extensions
|
|
||||||
mkdir -p source/extensions
|
|
||||||
$(WAEXT) $(WAEXTOPTS)
|
|
||||||
|
|
||||||
|
|
||||||
sigtab: ../wlauto/core/instrumentation.py source/instrumentation_method_map.template
|
|
||||||
rm -rf source/instrumentation_method_map.rst
|
|
||||||
./build_instrumentation_method_map.py source/instrumentation_method_map.rst
|
|
||||||
|
|
||||||
html: api waext sigtab
|
|
||||||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
||||||
|
|
||||||
dirhtml: api waext sigtab
|
dirhtml:
|
||||||
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
|
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
|
||||||
|
|
||||||
singlehtml: api waext sigtab
|
singlehtml:
|
||||||
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
|
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
|
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
|
||||||
|
|
||||||
pickle: api waext sigtab
|
pickle:
|
||||||
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
|
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished; now you can process the pickle files."
|
@echo "Build finished; now you can process the pickle files."
|
||||||
|
|
||||||
json: api waext sigtab
|
json:
|
||||||
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished; now you can process the JSON files."
|
@echo "Build finished; now you can process the JSON files."
|
||||||
|
|
||||||
htmlhelp: api waext sigtab
|
htmlhelp:
|
||||||
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
|
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished; now you can run HTML Help Workshop with the" \
|
@echo "Build finished; now you can run HTML Help Workshop with the" \
|
||||||
".hhp project file in $(BUILDDIR)/htmlhelp."
|
".hhp project file in $(BUILDDIR)/htmlhelp."
|
||||||
|
|
||||||
qthelp: api waext sigtab
|
qthelp:
|
||||||
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
|
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
||||||
@@ -112,7 +91,7 @@ qthelp: api waext sigtab
|
|||||||
@echo "To view the help file:"
|
@echo "To view the help file:"
|
||||||
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/WorkloadAutomation2.qhc"
|
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/WorkloadAutomation2.qhc"
|
||||||
|
|
||||||
devhelp: api
|
devhelp:
|
||||||
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished."
|
@echo "Build finished."
|
||||||
@@ -121,64 +100,64 @@ devhelp: api
|
|||||||
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/WorkloadAutomation2"
|
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/WorkloadAutomation2"
|
||||||
@echo "# devhelp"
|
@echo "# devhelp"
|
||||||
|
|
||||||
epub: api waext sigtab
|
epub:
|
||||||
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
|
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
|
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
|
||||||
|
|
||||||
latex: api waext sigtab
|
latex:
|
||||||
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
|
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
|
||||||
@echo "Run \`make' in that directory to run these through (pdf)latex" \
|
@echo "Run \`make' in that directory to run these through (pdf)latex" \
|
||||||
"(use \`make latexpdf' here to do that automatically)."
|
"(use \`make latexpdf' here to do that automatically)."
|
||||||
|
|
||||||
latexpdf: api waext sigtab
|
latexpdf:
|
||||||
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
||||||
@echo "Running LaTeX files through pdflatex..."
|
@echo "Running LaTeX files through pdflatex..."
|
||||||
$(MAKE) -C $(BUILDDIR)/latex all-pdf
|
$(MAKE) -C $(BUILDDIR)/latex all-pdf
|
||||||
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
||||||
|
|
||||||
text: api waext sigtab
|
text:
|
||||||
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
|
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished. The text files are in $(BUILDDIR)/text."
|
@echo "Build finished. The text files are in $(BUILDDIR)/text."
|
||||||
|
|
||||||
man: api waext sigtab
|
man:
|
||||||
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
|
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
|
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
|
||||||
|
|
||||||
texinfo: api waext sigtab
|
texinfo:
|
||||||
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
|
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
|
||||||
@echo "Run \`make' in that directory to run these through makeinfo" \
|
@echo "Run \`make' in that directory to run these through makeinfo" \
|
||||||
"(use \`make info' here to do that automatically)."
|
"(use \`make info' here to do that automatically)."
|
||||||
|
|
||||||
info: api waext sigtab
|
info:
|
||||||
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
||||||
@echo "Running Texinfo files through makeinfo..."
|
@echo "Running Texinfo files through makeinfo..."
|
||||||
make -C $(BUILDDIR)/texinfo info
|
make -C $(BUILDDIR)/texinfo info
|
||||||
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
|
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
|
||||||
|
|
||||||
gettext: api waext sigtab
|
gettext:
|
||||||
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
|
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
|
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
|
||||||
|
|
||||||
changes: api waext sigtab
|
changes:
|
||||||
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
|
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
|
||||||
@echo
|
@echo
|
||||||
@echo "The overview file is in $(BUILDDIR)/changes."
|
@echo "The overview file is in $(BUILDDIR)/changes."
|
||||||
|
|
||||||
linkcheck: api waext sigtab
|
linkcheck:
|
||||||
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
||||||
@echo
|
@echo
|
||||||
@echo "Link check complete; look for any errors in the above output " \
|
@echo "Link check complete; look for any errors in the above output " \
|
||||||
"or in $(BUILDDIR)/linkcheck/output.txt."
|
"or in $(BUILDDIR)/linkcheck/output.txt."
|
||||||
|
|
||||||
doctest: api waext sigtab
|
doctest:
|
||||||
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
|
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
|
||||||
@echo "Testing of doctests in the sources finished, look at the " \
|
@echo "Testing of doctests in the sources finished, look at the " \
|
||||||
"results in $(BUILDDIR)/doctest/output.txt."
|
"results in $(BUILDDIR)/doctest/output.txt."
|
||||||
|
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
import shutil
|
||||||
|
|
||||||
from wlauto import ExtensionLoader
|
from wlauto import ExtensionLoader
|
||||||
from wlauto.utils.doc import get_rst_from_extension, underline
|
from wlauto.utils.doc import get_rst_from_extension, underline
|
||||||
@@ -30,6 +31,9 @@ def generate_extension_documentation(source_dir, outdir, ignore_paths):
|
|||||||
loader = ExtensionLoader(keep_going=True)
|
loader = ExtensionLoader(keep_going=True)
|
||||||
loader.clear()
|
loader.clear()
|
||||||
loader.update(paths=[source_dir], ignore_paths=ignore_paths)
|
loader.update(paths=[source_dir], ignore_paths=ignore_paths)
|
||||||
|
if os.path.exists(outdir):
|
||||||
|
shutil.rmtree(outdir)
|
||||||
|
os.makedirs(outdir)
|
||||||
for ext_type in loader.extension_kinds:
|
for ext_type in loader.extension_kinds:
|
||||||
if not ext_type in GENERATE_FOR:
|
if not ext_type in GENERATE_FOR:
|
||||||
continue
|
continue
|
||||||
|
@@ -16,7 +16,6 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import string
|
import string
|
||||||
from copy import copy
|
|
||||||
|
|
||||||
from wlauto.core.instrumentation import SIGNAL_MAP, PRIORITY_MAP
|
from wlauto.core.instrumentation import SIGNAL_MAP, PRIORITY_MAP
|
||||||
from wlauto.utils.doc import format_simple_table
|
from wlauto.utils.doc import format_simple_table
|
||||||
@@ -25,7 +24,7 @@ from wlauto.utils.doc import format_simple_table
|
|||||||
CONVINIENCE_ALIASES = ['initialize', 'setup', 'start', 'stop', 'process_workload_result',
|
CONVINIENCE_ALIASES = ['initialize', 'setup', 'start', 'stop', 'process_workload_result',
|
||||||
'update_result', 'teardown', 'finalize']
|
'update_result', 'teardown', 'finalize']
|
||||||
|
|
||||||
OUTPUT_TEMPLATE_FILE = os.path.join(os.path.dirname(__file__), 'source', 'instrumentation_method_map.template')
|
OUTPUT_TEMPLATE_FILE = os.path.join(os.path.dirname(__file__), 'source', 'instrumentation_method_map.template')
|
||||||
|
|
||||||
|
|
||||||
def escape_trailing_underscore(value):
|
def escape_trailing_underscore(value):
|
||||||
@@ -37,7 +36,9 @@ def generate_instrumentation_method_map(outfile):
|
|||||||
signal_table = format_simple_table([(k, v) for k, v in SIGNAL_MAP.iteritems()],
|
signal_table = format_simple_table([(k, v) for k, v in SIGNAL_MAP.iteritems()],
|
||||||
headers=['method name', 'signal'], align='<<')
|
headers=['method name', 'signal'], align='<<')
|
||||||
priority_table = format_simple_table([(escape_trailing_underscore(k), v) for k, v in PRIORITY_MAP.iteritems()],
|
priority_table = format_simple_table([(escape_trailing_underscore(k), v) for k, v in PRIORITY_MAP.iteritems()],
|
||||||
headers=['prefix', 'priority'], align='<>')
|
headers=['prefix', 'priority'], align='<>')
|
||||||
|
if os.path.isfile(outfile):
|
||||||
|
os.unlink(outfile)
|
||||||
with open(OUTPUT_TEMPLATE_FILE) as fh:
|
with open(OUTPUT_TEMPLATE_FILE) as fh:
|
||||||
template = string.Template(fh.read())
|
template = string.Template(fh.read())
|
||||||
with open(outfile, 'w') as wfh:
|
with open(outfile, 'w') as wfh:
|
||||||
|
2
doc/requirements.txt
Normal file
2
doc/requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
nose
|
||||||
|
sphinx==1.6.5
|
@@ -147,7 +147,7 @@ to 15 million. You can specify this using dhrystone's parameters:
|
|||||||
|
|
||||||
wa show dhrystone
|
wa show dhrystone
|
||||||
|
|
||||||
see the :ref:`Invocation` section for details.
|
see the :ref:`Invocation <invocation>` section for details.
|
||||||
|
|
||||||
In addition to configuring the workload itself, we can also specify
|
In addition to configuring the workload itself, we can also specify
|
||||||
configuration for the underlying device. This can be done by setting runtime
|
configuration for the underlying device. This can be done by setting runtime
|
||||||
|
@@ -7,8 +7,8 @@ APK resolution
|
|||||||
--------------
|
--------------
|
||||||
|
|
||||||
WA has various resource getters that can be configured to locate APK files but for most people APK files
|
WA has various resource getters that can be configured to locate APK files but for most people APK files
|
||||||
should be kept in the ``$WA_HOME/dependencies/SOME_WORKLOAD/`` directory. (by default
|
should be kept in the ``$WA_USER_DIRECTORY/dependencies/SOME_WORKLOAD/`` directory. (by default
|
||||||
``~/.workload_automation/dependencies/SOME_WORKLOAD/``). The ``WA_HOME`` enviroment variable can be used
|
``~/.workload_automation/dependencies/SOME_WORKLOAD/``). The ``WA_USER_DIRECTORY`` enviroment variable can be used
|
||||||
to chnage the location of this folder. The APK files need to be put into the corresponding directories
|
to chnage the location of this folder. The APK files need to be put into the corresponding directories
|
||||||
for the workload they belong to. The name of the file can be anything but as explained below may need
|
for the workload they belong to. The name of the file can be anything but as explained below may need
|
||||||
to contain certain peices of information.
|
to contain certain peices of information.
|
||||||
|
@@ -28,12 +28,16 @@
|
|||||||
|
|
||||||
import sys, os
|
import sys, os
|
||||||
import warnings
|
import warnings
|
||||||
|
from sphinx.apidoc import main
|
||||||
|
|
||||||
warnings.filterwarnings('ignore', "Module louie was already imported")
|
warnings.filterwarnings('ignore', "Module louie was already imported")
|
||||||
|
|
||||||
this_dir = os.path.dirname(__file__)
|
this_dir = os.path.dirname(__file__)
|
||||||
|
sys.path.insert(0, os.path.join(this_dir, '..'))
|
||||||
sys.path.insert(0, os.path.join(this_dir, '../..'))
|
sys.path.insert(0, os.path.join(this_dir, '../..'))
|
||||||
import wlauto
|
import wlauto
|
||||||
|
from build_extension_docs import generate_extension_documentation
|
||||||
|
from build_instrumentation_method_map import generate_instrumentation_method_map
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
# add these directories to sys.path here. If the directory is relative to the
|
# add these directories to sys.path here. If the directory is relative to the
|
||||||
@@ -264,7 +268,21 @@ texinfo_documents = [
|
|||||||
#texinfo_show_urls = 'footnote'
|
#texinfo_show_urls = 'footnote'
|
||||||
|
|
||||||
|
|
||||||
|
def run_apidoc(_):
|
||||||
|
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
|
||||||
|
cur_dir = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
api_output = os.path.join(cur_dir, 'api')
|
||||||
|
module = os.path.join(cur_dir, '..', '..', 'wlauto')
|
||||||
|
main(['-f', '-o', api_output, module, '--force'])
|
||||||
|
|
||||||
def setup(app):
|
def setup(app):
|
||||||
|
module_dir = os.path.join('..', '..', 'wlauto')
|
||||||
|
excluded_extensions = [os.path.join(module_dir, 'external'),
|
||||||
|
os.path.join(module_dir, 'tests')]
|
||||||
|
os.chdir(os.path.dirname(__file__))
|
||||||
|
app.connect('builder-inited', run_apidoc)
|
||||||
|
generate_instrumentation_method_map('instrumentation_method_map.rst')
|
||||||
|
generate_extension_documentation(module_dir, 'extensions', excluded_extensions)
|
||||||
app.add_object_type('confval', 'confval',
|
app.add_object_type('confval', 'confval',
|
||||||
objname='configuration value',
|
objname='configuration value',
|
||||||
indextemplate='pair: %s; configuration value')
|
indextemplate='pair: %s; configuration value')
|
||||||
|
@@ -964,7 +964,7 @@ that accompanies them, in addition to what has been outlined here, should
|
|||||||
provide enough guidance.
|
provide enough guidance.
|
||||||
|
|
||||||
:commands: This allows extending WA with additional sub-commands (to supplement
|
:commands: This allows extending WA with additional sub-commands (to supplement
|
||||||
exiting ones outlined in the :ref:`invocation` section).
|
exiting ones outlined in the :ref:`invocation <invocation>` section).
|
||||||
:modules: Modules are "extensions for extensions". They can be loaded by other
|
:modules: Modules are "extensions for extensions". They can be loaded by other
|
||||||
extensions to expand their functionality (for example, a flashing
|
extensions to expand their functionality (for example, a flashing
|
||||||
module maybe loaded by a device in order to support flashing).
|
module maybe loaded by a device in order to support flashing).
|
||||||
|
@@ -22,7 +22,6 @@ import textwrap
|
|||||||
import argparse
|
import argparse
|
||||||
import shutil
|
import shutil
|
||||||
import getpass
|
import getpass
|
||||||
import subprocess
|
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
@@ -30,8 +29,9 @@ import yaml
|
|||||||
from wlauto import ExtensionLoader, Command, settings
|
from wlauto import ExtensionLoader, Command, settings
|
||||||
from wlauto.exceptions import CommandError, ConfigError
|
from wlauto.exceptions import CommandError, ConfigError
|
||||||
from wlauto.utils.cli import init_argument_parser
|
from wlauto.utils.cli import init_argument_parser
|
||||||
from wlauto.utils.misc import (capitalize, check_output,
|
from wlauto.utils.misc import (capitalize,
|
||||||
ensure_file_directory_exists as _f, ensure_directory_exists as _d)
|
ensure_file_directory_exists as _f,
|
||||||
|
ensure_directory_exists as _d)
|
||||||
from wlauto.utils.types import identifier
|
from wlauto.utils.types import identifier
|
||||||
from wlauto.utils.doc import format_body
|
from wlauto.utils.doc import format_body
|
||||||
|
|
||||||
@@ -41,20 +41,6 @@ __all__ = ['create_workload']
|
|||||||
|
|
||||||
TEMPLATES_DIR = os.path.join(os.path.dirname(__file__), 'templates')
|
TEMPLATES_DIR = os.path.join(os.path.dirname(__file__), 'templates')
|
||||||
|
|
||||||
UIAUTO_BUILD_SCRIPT = """#!/bin/bash
|
|
||||||
|
|
||||||
class_dir=bin/classes/com/arm/wlauto/uiauto
|
|
||||||
base_class=`python -c "import os, wlauto; print os.path.join(os.path.dirname(wlauto.__file__), 'common', 'android', 'BaseUiAutomation.class')"`
|
|
||||||
mkdir -p $$class_dir
|
|
||||||
cp $$base_class $$class_dir
|
|
||||||
|
|
||||||
ant build
|
|
||||||
|
|
||||||
if [[ -f bin/${package_name}.jar ]]; then
|
|
||||||
cp bin/${package_name}.jar ..
|
|
||||||
fi
|
|
||||||
"""
|
|
||||||
|
|
||||||
|
|
||||||
class CreateSubcommand(object):
|
class CreateSubcommand(object):
|
||||||
|
|
||||||
@@ -321,7 +307,7 @@ def create_basic_workload(path, name, class_name):
|
|||||||
|
|
||||||
|
|
||||||
def create_uiautomator_workload(path, name, class_name):
|
def create_uiautomator_workload(path, name, class_name):
|
||||||
uiauto_path = _d(os.path.join(path, 'uiauto'))
|
uiauto_path = os.path.join(path, 'uiauto')
|
||||||
create_uiauto_project(uiauto_path, name)
|
create_uiauto_project(uiauto_path, name)
|
||||||
source_file = os.path.join(path, '__init__.py')
|
source_file = os.path.join(path, '__init__.py')
|
||||||
with open(source_file, 'w') as wfh:
|
with open(source_file, 'w') as wfh:
|
||||||
@@ -335,37 +321,34 @@ def create_android_benchmark(path, name, class_name):
|
|||||||
|
|
||||||
|
|
||||||
def create_android_uiauto_benchmark(path, name, class_name):
|
def create_android_uiauto_benchmark(path, name, class_name):
|
||||||
uiauto_path = _d(os.path.join(path, 'uiauto'))
|
uiauto_path = os.path.join(path, 'uiauto')
|
||||||
create_uiauto_project(uiauto_path, name)
|
create_uiauto_project(uiauto_path, name)
|
||||||
source_file = os.path.join(path, '__init__.py')
|
source_file = os.path.join(path, '__init__.py')
|
||||||
with open(source_file, 'w') as wfh:
|
with open(source_file, 'w') as wfh:
|
||||||
wfh.write(render_template('android_uiauto_benchmark', {'name': name, 'class_name': class_name}))
|
wfh.write(render_template('android_uiauto_benchmark', {'name': name, 'class_name': class_name}))
|
||||||
|
|
||||||
|
|
||||||
def create_uiauto_project(path, name, target='1'):
|
def create_uiauto_project(path, name):
|
||||||
sdk_path = get_sdk_path()
|
|
||||||
android_path = os.path.join(sdk_path, 'tools', 'android')
|
|
||||||
package_name = 'com.arm.wlauto.uiauto.' + name.lower()
|
package_name = 'com.arm.wlauto.uiauto.' + name.lower()
|
||||||
|
|
||||||
# ${ANDROID_HOME}/tools/android create uitest-project -n com.arm.wlauto.uiauto.linpack -t 1 -p ../test2
|
shutil.copytree(os.path.join(TEMPLATES_DIR, 'uiauto_template'), path)
|
||||||
command = '{} create uitest-project --name {} --target {} --path {}'.format(android_path,
|
|
||||||
package_name,
|
manifest_path = os.path.join(path, 'app', 'src', 'main')
|
||||||
target,
|
mainifest = os.path.join(_d(manifest_path), 'AndroidManifest.xml')
|
||||||
path)
|
with open(mainifest, 'w') as wfh:
|
||||||
try:
|
wfh.write(render_template('uiauto_AndroidManifest.xml', {'package_name': package_name}))
|
||||||
check_output(command, shell=True)
|
|
||||||
except subprocess.CalledProcessError as e:
|
build_gradle_path = os.path.join(path, 'app')
|
||||||
if 'is is not valid' in e.output:
|
build_gradle = os.path.join(_d(build_gradle_path), 'build.gradle')
|
||||||
message = 'No Android SDK target found; have you run "{} update sdk" and download a platform?'
|
with open(build_gradle, 'w') as wfh:
|
||||||
raise CommandError(message.format(android_path))
|
wfh.write(render_template('uiauto_build.gradle', {'package_name': package_name}))
|
||||||
|
|
||||||
build_script = os.path.join(path, 'build.sh')
|
build_script = os.path.join(path, 'build.sh')
|
||||||
with open(build_script, 'w') as wfh:
|
with open(build_script, 'w') as wfh:
|
||||||
template = string.Template(UIAUTO_BUILD_SCRIPT)
|
wfh.write(render_template('uiauto_build_script', {'package_name': package_name}))
|
||||||
wfh.write(template.substitute({'package_name': package_name}))
|
|
||||||
os.chmod(build_script, stat.S_IRWXU | stat.S_IRWXG | stat.S_IRWXO)
|
os.chmod(build_script, stat.S_IRWXU | stat.S_IRWXG | stat.S_IRWXO)
|
||||||
|
|
||||||
source_file = _f(os.path.join(path, 'src',
|
source_file = _f(os.path.join(path, 'app', 'src', 'main', 'java',
|
||||||
os.sep.join(package_name.split('.')[:-1]),
|
os.sep.join(package_name.split('.')[:-1]),
|
||||||
'UiAutomation.java'))
|
'UiAutomation.java'))
|
||||||
with open(source_file, 'w') as wfh:
|
with open(source_file, 'w') as wfh:
|
||||||
|
@@ -60,16 +60,6 @@ class ReventCommand(Command):
|
|||||||
self.device.connect()
|
self.device.connect()
|
||||||
self.device.initialize(context)
|
self.device.initialize(context)
|
||||||
|
|
||||||
# Only install vsync service on android
|
|
||||||
if self.device.platform is 'android':
|
|
||||||
self.logger.debug("Installing HelloJni for vsync service")
|
|
||||||
host_HelloJni_apk = context.resolver.get(Executable(NO_ONE, self.device.abi, 'HelloJni.apk'))
|
|
||||||
self.target_HelloJni = self.device.install_if_needed(host_HelloJni_apk)
|
|
||||||
result = self.device.execute('dumpsys activity services | grep "ChoreoService"', check_exit_code=False)
|
|
||||||
if not result or 'com.example.hellojni/.ChoreoService' not in result:
|
|
||||||
self.device.execute('am startservice com.example.hellojni/.ChoreoService')
|
|
||||||
|
|
||||||
# Install revent
|
|
||||||
host_binary = context.resolver.get(Executable(NO_ONE, self.device.abi, 'revent'))
|
host_binary = context.resolver.get(Executable(NO_ONE, self.device.abi, 'revent'))
|
||||||
self.target_binary = self.device.install_executable(host_binary)
|
self.target_binary = self.device.install_executable(host_binary)
|
||||||
|
|
||||||
@@ -84,7 +74,7 @@ class RecordCommand(ReventCommand):
|
|||||||
name = 'record'
|
name = 'record'
|
||||||
description = '''Performs a revent recording
|
description = '''Performs a revent recording
|
||||||
|
|
||||||
This command helps making revent recordings. It will automatically
|
This command helps create revent recordings. It will automatically
|
||||||
deploy revent and even has the option of automatically opening apps.
|
deploy revent and even has the option of automatically opening apps.
|
||||||
|
|
||||||
Revent allows you to record raw inputs such as screen swipes or button presses.
|
Revent allows you to record raw inputs such as screen swipes or button presses.
|
||||||
@@ -92,14 +82,14 @@ class RecordCommand(ReventCommand):
|
|||||||
have XML UI layouts that can be used with UIAutomator. As a drawback from this,
|
have XML UI layouts that can be used with UIAutomator. As a drawback from this,
|
||||||
revent recordings are specific to the device type they were recorded on.
|
revent recordings are specific to the device type they were recorded on.
|
||||||
|
|
||||||
WA uses two parts to the names of revent recordings in the format,
|
WA uses two parts to form the names of revent recordings in the format,
|
||||||
{device_name}.{suffix}.revent.
|
{device_name}.{suffix}.revent
|
||||||
|
|
||||||
- device_name can either be specified manually with the ``-d`` argument or
|
- device_name can either be specified manually with the ``-d`` argument or
|
||||||
it can be automatically determined. On Android device it will be obtained
|
else the name of the device will be automatically determined. On an Android device it is obtained
|
||||||
from ``build.prop``, on Linux devices it is obtained from ``/proc/device-tree/model``.
|
from ``build.prop``, on Linux devices it is obtained from ``/proc/device-tree/model``.
|
||||||
- suffix is used by WA to determine which part of the app execution the
|
- suffix is used by WA to determine which part of the app execution the
|
||||||
recording is for, currently these are either ``setup`` or ``run``. This
|
recording is for, currently either ``setup``, ``run`` or ``teardown``. This
|
||||||
should be specified with the ``-s`` argument.
|
should be specified with the ``-s`` argument.
|
||||||
|
|
||||||
|
|
||||||
@@ -159,8 +149,7 @@ class RecordCommand(ReventCommand):
|
|||||||
self.logger.info("Press Enter when you are ready to record...")
|
self.logger.info("Press Enter when you are ready to record...")
|
||||||
raw_input("")
|
raw_input("")
|
||||||
gamepad_flag = '-g ' if args.gamepad else ''
|
gamepad_flag = '-g ' if args.gamepad else ''
|
||||||
vsync_flag = '-V ' if self.device.platform is 'android' else ''
|
command = "{} record {}-s {}".format(self.target_binary, gamepad_flag, revent_file)
|
||||||
command = "{} record {}{}-s {}".format(self.target_binary, gamepad_flag, vsync_flag, revent_file)
|
|
||||||
self.device.kick_off(command)
|
self.device.kick_off(command)
|
||||||
|
|
||||||
self.logger.info("Press Enter when you have finished recording...")
|
self.logger.info("Press Enter when you have finished recording...")
|
||||||
@@ -206,8 +195,7 @@ class ReplayCommand(ReventCommand):
|
|||||||
self.device.execute('monkey -p {} -c android.intent.category.LAUNCHER 1'.format(args.package))
|
self.device.execute('monkey -p {} -c android.intent.category.LAUNCHER 1'.format(args.package))
|
||||||
|
|
||||||
self.logger.info("Replaying recording")
|
self.logger.info("Replaying recording")
|
||||||
vsync_flag = '-V ' if self.device.platform is 'android' else ''
|
command = "{} replay {}".format(self.target_binary, revent_file)
|
||||||
command = "{} replay {}{}".format(self.target_binary, vsync_flag, revent_file)
|
|
||||||
recording = ReventRecording(args.revent)
|
recording = ReventRecording(args.revent)
|
||||||
timeout = ceil(recording.duration) + 30
|
timeout = ceil(recording.duration) + 30
|
||||||
recording.close()
|
recording.close()
|
||||||
|
@@ -2,23 +2,30 @@ package ${package_name};
|
|||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
import android.support.test.runner.AndroidJUnit4;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.view.KeyEvent;
|
import android.view.KeyEvent;
|
||||||
|
|
||||||
// Import the uiautomator libraries
|
// Import the uiautomator libraries
|
||||||
import com.android.uiautomator.core.UiObject;
|
import android.support.test.uiautomator.UiObject;
|
||||||
import com.android.uiautomator.core.UiObjectNotFoundException;
|
import android.support.test.uiautomator.UiObjectNotFoundException;
|
||||||
import com.android.uiautomator.core.UiScrollable;
|
import android.support.test.uiautomator.UiScrollable;
|
||||||
import com.android.uiautomator.core.UiSelector;
|
import android.support.test.uiautomator.UiSelector;
|
||||||
import com.android.uiautomator.testrunner.UiAutomatorTestCase;
|
|
||||||
|
|
||||||
import com.arm.wlauto.uiauto.BaseUiAutomation;
|
import com.arm.wlauto.uiauto.BaseUiAutomation;
|
||||||
|
|
||||||
public class UiAutomation extends BaseUiAutomation {
|
@RunWith(AndroidJUnit4.class)
|
||||||
|
public class UiAutomation extends BaseUiAutomation {
|
||||||
|
|
||||||
public static String TAG = "${name}";
|
public static String TAG = "${name}";
|
||||||
|
|
||||||
public void runUiAutomation() throws Exception {
|
@Test
|
||||||
|
public void runUiAutomation() throws Exception {
|
||||||
|
initialize_instrumentation();
|
||||||
// UI Automation code goes here
|
// UI Automation code goes here
|
||||||
}
|
}
|
||||||
|
|
||||||
|
12
wlauto/commands/templates/uiauto_AndroidManifest.xml
Normal file
12
wlauto/commands/templates/uiauto_AndroidManifest.xml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="${package_name}"
|
||||||
|
android:versionCode="1"
|
||||||
|
android:versionName="1.0">
|
||||||
|
|
||||||
|
|
||||||
|
<instrumentation
|
||||||
|
android:name="android.support.test.runner.AndroidJUnitRunner"
|
||||||
|
android:targetPackage="${package_name}"/>
|
||||||
|
|
||||||
|
</manifest>
|
33
wlauto/commands/templates/uiauto_build.gradle
Normal file
33
wlauto/commands/templates/uiauto_build.gradle
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
|
android {
|
||||||
|
compileSdkVersion 18
|
||||||
|
buildToolsVersion '25.0.0'
|
||||||
|
defaultConfig {
|
||||||
|
applicationId "${package_name}"
|
||||||
|
minSdkVersion 18
|
||||||
|
targetSdkVersion 25
|
||||||
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
|
}
|
||||||
|
buildTypes {
|
||||||
|
applicationVariants.all { variant ->
|
||||||
|
variant.outputs.each { output ->
|
||||||
|
output.outputFile = file("$$project.buildDir/apk/${package_name}.apk")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
||||||
|
compile 'com.android.support.test:runner:0.5'
|
||||||
|
compile 'com.android.support.test:rules:0.5'
|
||||||
|
compile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
|
||||||
|
compile(name: 'uiauto', ext: 'aar')
|
||||||
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
flatDir {
|
||||||
|
dirs 'libs'
|
||||||
|
}
|
||||||
|
}
|
39
wlauto/commands/templates/uiauto_build_script
Normal file
39
wlauto/commands/templates/uiauto_build_script
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# CD into build dir if possible - allows building from any directory
|
||||||
|
script_path='.'
|
||||||
|
if `readlink -f $$0 &>/dev/null`; then
|
||||||
|
script_path=`readlink -f $$0 2>/dev/null`
|
||||||
|
fi
|
||||||
|
script_dir=`dirname $$script_path`
|
||||||
|
cd $$script_dir
|
||||||
|
|
||||||
|
# Ensure gradelw exists before starting
|
||||||
|
if [[ ! -f gradlew ]]; then
|
||||||
|
echo 'gradlew file not found! Check that you are in the right directory.'
|
||||||
|
exit 9
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Copy base class library from wlauto dist
|
||||||
|
libs_dir=app/libs
|
||||||
|
base_classes=`python -c "import os, wlauto; print os.path.join(os.path.dirname(wlauto.__file__), 'common', 'android', '*.aar')"`
|
||||||
|
mkdir -p $$libs_dir
|
||||||
|
cp $$base_classes $$libs_dir
|
||||||
|
|
||||||
|
# Build and return appropriate exit code if failed
|
||||||
|
# gradle build
|
||||||
|
./gradlew clean :app:assembleDebug
|
||||||
|
exit_code=$$?
|
||||||
|
if [[ $$exit_code -ne 0 ]]; then
|
||||||
|
echo "ERROR: 'gradle build' exited with code $$exit_code"
|
||||||
|
exit $$exit_code
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If successful move APK file to workload folder (overwrite previous)
|
||||||
|
rm -f ../$package_name
|
||||||
|
if [[ -f app/build/apk/$package_name.apk ]]; then
|
||||||
|
cp app/build/apk/$package_name.apk ../$package_name.apk
|
||||||
|
else
|
||||||
|
echo 'ERROR: UiAutomator apk could not be found!'
|
||||||
|
exit 9
|
||||||
|
fi
|
@@ -5,7 +5,7 @@ buildscript {
|
|||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.2.3'
|
classpath 'com.android.tools.build:gradle:2.3.1'
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
@@ -1,6 +1,6 @@
|
|||||||
#Mon Aug 22 11:04:07 PDT 2016
|
#Wed May 03 15:42:44 BST 2017
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -30,7 +30,7 @@ from wlauto.common.resources import Executable
|
|||||||
from wlauto.core.resource import NO_ONE
|
from wlauto.core.resource import NO_ONE
|
||||||
from wlauto.common.linux.device import BaseLinuxDevice, PsEntry
|
from wlauto.common.linux.device import BaseLinuxDevice, PsEntry
|
||||||
from wlauto.exceptions import DeviceError, WorkerThreadError, TimeoutError, DeviceNotRespondingError
|
from wlauto.exceptions import DeviceError, WorkerThreadError, TimeoutError, DeviceNotRespondingError
|
||||||
from wlauto.utils.misc import convert_new_lines, ABI_MAP
|
from wlauto.utils.misc import convert_new_lines, ABI_MAP, commonprefix
|
||||||
from wlauto.utils.types import boolean, regex
|
from wlauto.utils.types import boolean, regex
|
||||||
from wlauto.utils.android import (adb_shell, adb_background_shell, adb_list_devices,
|
from wlauto.utils.android import (adb_shell, adb_background_shell, adb_list_devices,
|
||||||
adb_command, AndroidProperties, ANDROID_VERSION_MAP)
|
adb_command, AndroidProperties, ANDROID_VERSION_MAP)
|
||||||
@@ -390,7 +390,7 @@ class AndroidDevice(BaseLinuxDevice): # pylint: disable=W0223
|
|||||||
else:
|
else:
|
||||||
return self.install_executable(filepath, with_name)
|
return self.install_executable(filepath, with_name)
|
||||||
|
|
||||||
def install_apk(self, filepath, timeout=default_timeout, replace=False, allow_downgrade=False): # pylint: disable=W0221
|
def install_apk(self, filepath, timeout=300, replace=False, allow_downgrade=False): # pylint: disable=W0221
|
||||||
self._check_ready()
|
self._check_ready()
|
||||||
ext = os.path.splitext(filepath)[1].lower()
|
ext = os.path.splitext(filepath)[1].lower()
|
||||||
if ext == '.apk':
|
if ext == '.apk':
|
||||||
@@ -716,23 +716,40 @@ class AndroidDevice(BaseLinuxDevice): # pylint: disable=W0223
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def broadcast_media_mounted(self, dirpath):
|
def refresh_device_files(self, file_list):
|
||||||
|
"""
|
||||||
|
Depending on the devices android version and root status, determine the
|
||||||
|
appropriate method of forcing a re-index of the mediaserver cache for a given
|
||||||
|
list of files.
|
||||||
|
"""
|
||||||
|
if self.device.is_rooted or self.device.get_sdk_version() < 24: # MM and below
|
||||||
|
common_path = commonprefix(file_list, sep=self.device.path.sep)
|
||||||
|
self.broadcast_media_mounted(common_path, self.device.is_rooted)
|
||||||
|
else:
|
||||||
|
for f in file_list:
|
||||||
|
self.broadcast_media_scan_file(f)
|
||||||
|
|
||||||
|
def broadcast_media_scan_file(self, filepath):
|
||||||
|
"""
|
||||||
|
Force a re-index of the mediaserver cache for the specified file.
|
||||||
|
"""
|
||||||
|
command = 'am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file://'
|
||||||
|
self.execute(command + filepath)
|
||||||
|
|
||||||
|
def broadcast_media_mounted(self, dirpath, as_root=False):
|
||||||
"""
|
"""
|
||||||
Force a re-index of the mediaserver cache for the specified directory.
|
Force a re-index of the mediaserver cache for the specified directory.
|
||||||
"""
|
"""
|
||||||
command = 'am broadcast -a android.intent.action.MEDIA_MOUNTED -d file://'
|
command = 'am broadcast -a android.intent.action.MEDIA_MOUNTED -d file://'
|
||||||
self.execute(command + dirpath)
|
self.execute(command + dirpath, as_root=as_root)
|
||||||
|
|
||||||
# Internal methods: do not use outside of the class.
|
# Internal methods: do not use outside of the class.
|
||||||
|
|
||||||
def _update_build_properties(self, props):
|
def _update_build_properties(self, props):
|
||||||
try:
|
try:
|
||||||
def strip(somestring):
|
regex = re.compile(r'\[([^\]]+)\]\s*:\s*\[([^\]]+)\]')
|
||||||
return somestring.strip().replace('[', '').replace(']', '')
|
for match in regex.finditer(self.execute("getprop")):
|
||||||
for line in self.execute("getprop").splitlines():
|
key = match.group(1).strip()
|
||||||
key, value = line.split(':', 1)
|
value = match.group(2).strip()
|
||||||
key = strip(key)
|
|
||||||
value = strip(value)
|
|
||||||
props[key] = value
|
props[key] = value
|
||||||
except ValueError:
|
except ValueError:
|
||||||
self.logger.warning('Could not parse build.prop.')
|
self.logger.warning('Could not parse build.prop.')
|
||||||
|
@@ -35,9 +35,12 @@ class ApkFile(FileResource):
|
|||||||
|
|
||||||
name = 'apk'
|
name = 'apk'
|
||||||
|
|
||||||
def __init__(self, owner, platform=None):
|
def __init__(self, owner, platform=None, uiauto=False, package=None):
|
||||||
super(ApkFile, self).__init__(owner)
|
super(ApkFile, self).__init__(owner)
|
||||||
self.platform = platform
|
self.platform = platform
|
||||||
|
self.uiauto = uiauto
|
||||||
|
self.package = package
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return '<{}\'s {} APK>'.format(self.owner, self.platform)
|
apk_type = 'uiautomator ' if self.uiauto else ''
|
||||||
|
return '<{}\'s {} {}APK>'.format(self.owner, self.platform, apk_type)
|
||||||
|
BIN
wlauto/common/android/uiauto.aar
Normal file
BIN
wlauto/common/android/uiauto.aar
Normal file
Binary file not shown.
@@ -16,25 +16,24 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
from math import ceil
|
|
||||||
|
|
||||||
from distutils.version import LooseVersion
|
from distutils.version import LooseVersion
|
||||||
|
|
||||||
from wlauto.core.extension import Parameter, ExtensionMeta, ListCollection
|
from wlauto.core.extension import Parameter, ExtensionMeta, ListCollection
|
||||||
from wlauto.core.workload import Workload
|
from wlauto.core.workload import Workload
|
||||||
from wlauto.core.resource import NO_ONE
|
from wlauto.common.android.resources import ApkFile
|
||||||
from wlauto.common.android.resources import ApkFile, ReventFile
|
from wlauto.common.resources import ExtensionAsset, File
|
||||||
from wlauto.common.resources import ExtensionAsset, Executable, File
|
|
||||||
from wlauto.exceptions import WorkloadError, ResourceError, DeviceError
|
from wlauto.exceptions import WorkloadError, ResourceError, DeviceError
|
||||||
from wlauto.utils.android import ApkInfo, ANDROID_NORMAL_PERMISSIONS, UNSUPPORTED_PACKAGES
|
from wlauto.utils.android import (ApkInfo, ANDROID_NORMAL_PERMISSIONS,
|
||||||
from wlauto.utils.types import boolean
|
ANDROID_UNCHANGEABLE_PERMISSIONS, UNSUPPORTED_PACKAGES)
|
||||||
from wlauto.utils.revent import ReventRecording
|
from wlauto.utils.types import boolean, ParameterDict
|
||||||
import wlauto.utils.statedetect as state_detector
|
import wlauto.utils.statedetect as state_detector
|
||||||
import wlauto.common.android.resources
|
from wlauto.common.linux.workload import ReventWorkload
|
||||||
|
|
||||||
|
|
||||||
DELAY = 5
|
DELAY = 5
|
||||||
|
|
||||||
|
|
||||||
# Due to the way `super` works you have to call it at every level but WA executes some
|
# Due to the way `super` works you have to call it at every level but WA executes some
|
||||||
# methods conditionally and so has to call them directly via the class, this breaks super
|
# methods conditionally and so has to call them directly via the class, this breaks super
|
||||||
# and causes it to run things mutiple times ect. As a work around for this untill workloads
|
# and causes it to run things mutiple times ect. As a work around for this untill workloads
|
||||||
@@ -43,12 +42,12 @@ DELAY = 5
|
|||||||
|
|
||||||
class UiAutomatorWorkload(Workload):
|
class UiAutomatorWorkload(Workload):
|
||||||
"""
|
"""
|
||||||
Base class for all workloads that rely on a UI Automator JAR file.
|
Base class for all workloads that rely on a UI Automator APK file.
|
||||||
|
|
||||||
This class should be subclassed by workloads that rely on android UiAutomator
|
This class should be subclassed by workloads that rely on android UiAutomator
|
||||||
to work. This class handles transferring the UI Automator JAR file to the device
|
to work. This class handles installing the UI Automator APK to the device
|
||||||
and invoking it to run the workload. By default, it will look for the JAR file in
|
and invoking it to run the workload. By default, it will look for the ``*.apk`` file
|
||||||
the same directory as the .py file for the workload (this can be changed by overriding
|
in the same directory as the .py file for the workload (this can be changed by overriding
|
||||||
the ``uiauto_file`` property in the subclassing workload).
|
the ``uiauto_file`` property in the subclassing workload).
|
||||||
|
|
||||||
To inintiate UI Automation, the fully-qualified name of the Java class and the
|
To inintiate UI Automation, the fully-qualified name of the Java class and the
|
||||||
@@ -60,7 +59,7 @@ class UiAutomatorWorkload(Workload):
|
|||||||
match what is expected, or you could override ``uiauto_package``, ``uiauto_class`` and
|
match what is expected, or you could override ``uiauto_package``, ``uiauto_class`` and
|
||||||
``uiauto_method`` class attributes with the value that match your Java code.
|
``uiauto_method`` class attributes with the value that match your Java code.
|
||||||
|
|
||||||
You can also pass parameters to the JAR file. To do this add the parameters to
|
You can also pass parameters to the APK file. To do this add the parameters to
|
||||||
``self.uiauto_params`` dict inside your class's ``__init__`` or ``setup`` methods.
|
``self.uiauto_params`` dict inside your class's ``__init__`` or ``setup`` methods.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@@ -69,39 +68,43 @@ class UiAutomatorWorkload(Workload):
|
|||||||
|
|
||||||
uiauto_package = ''
|
uiauto_package = ''
|
||||||
uiauto_class = 'UiAutomation'
|
uiauto_class = 'UiAutomation'
|
||||||
uiauto_method = 'runUiAutomation'
|
uiauto_method = 'android.support.test.runner.AndroidJUnitRunner'
|
||||||
|
|
||||||
# Can be overidden by subclasses to adjust to run time of specific
|
# Can be overidden by subclasses to adjust to run time of specific
|
||||||
# benchmarks.
|
# benchmarks.
|
||||||
run_timeout = 4 * 60 # seconds
|
run_timeout = 10 * 60 # seconds
|
||||||
|
uninstall_uiauto_apk = True
|
||||||
|
|
||||||
def __init__(self, device, _call_super=True, **kwargs): # pylint: disable=W0613
|
def __init__(self, device, _call_super=True, **kwargs): # pylint: disable=W0613
|
||||||
if _call_super:
|
if _call_super:
|
||||||
Workload.__init__(self, device, **kwargs)
|
Workload.__init__(self, device, **kwargs)
|
||||||
self.uiauto_file = None
|
self.uiauto_file = None
|
||||||
self.device_uiauto_file = None
|
|
||||||
self.command = None
|
self.command = None
|
||||||
self.uiauto_params = {}
|
self.uiauto_params = ParameterDict()
|
||||||
|
|
||||||
def init_resources(self, context):
|
def init_resources(self, context):
|
||||||
self.uiauto_file = context.resolver.get(wlauto.common.android.resources.JarFile(self))
|
self.uiauto_file = context.resolver.get(ApkFile(self, uiauto=True))
|
||||||
if not self.uiauto_file:
|
if not self.uiauto_file:
|
||||||
raise ResourceError('No UI automation JAR file found for workload {}.'.format(self.name))
|
raise ResourceError('No UI automation APK file found for workload {}.'.format(self.name))
|
||||||
self.device_uiauto_file = self.device.path.join(self.device.working_directory,
|
|
||||||
os.path.basename(self.uiauto_file))
|
|
||||||
if not self.uiauto_package:
|
if not self.uiauto_package:
|
||||||
self.uiauto_package = os.path.splitext(os.path.basename(self.uiauto_file))[0]
|
self.uiauto_package = os.path.splitext(os.path.basename(self.uiauto_file))[0]
|
||||||
|
|
||||||
def setup(self, context):
|
def setup(self, context):
|
||||||
Workload.setup(self, context)
|
Workload.setup(self, context)
|
||||||
method_string = '{}.{}#{}'.format(self.uiauto_package, self.uiauto_class, self.uiauto_method)
|
|
||||||
params_dict = self.uiauto_params
|
params_dict = self.uiauto_params
|
||||||
params_dict['workdir'] = self.device.working_directory
|
params_dict['workdir'] = self.device.working_directory
|
||||||
params = ''
|
params = ''
|
||||||
for k, v in self.uiauto_params.iteritems():
|
for k, v in self.uiauto_params.iter_encoded_items():
|
||||||
params += ' -e {} "{}"'.format(k, v)
|
params += ' -e {} "{}"'.format(k, v)
|
||||||
self.command = 'uiautomator runtest {}{} -c {}'.format(self.device_uiauto_file, params, method_string)
|
|
||||||
self.device.push_file(self.uiauto_file, self.device_uiauto_file)
|
if self.device.package_is_installed(self.uiauto_package):
|
||||||
|
self.device.uninstall(self.uiauto_package)
|
||||||
|
self.device.install_apk(self.uiauto_file)
|
||||||
|
|
||||||
|
instrumention_string = 'am instrument -w -r {} -e class {}.{} {}/{}'
|
||||||
|
self.command = instrumention_string.format(params, self.uiauto_package,
|
||||||
|
self.uiauto_class, self.uiauto_package,
|
||||||
|
self.uiauto_method)
|
||||||
self.device.killall('uiautomator')
|
self.device.killall('uiautomator')
|
||||||
|
|
||||||
def run(self, context):
|
def run(self, context):
|
||||||
@@ -116,11 +119,12 @@ class UiAutomatorWorkload(Workload):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def teardown(self, context):
|
def teardown(self, context):
|
||||||
self.device.delete_file(self.device_uiauto_file)
|
if self.uninstall_uiauto_apk:
|
||||||
|
self.device.uninstall(self.uiauto_package)
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
if not self.uiauto_file:
|
if not self.uiauto_file:
|
||||||
raise WorkloadError('No UI automation JAR file found for workload {}.'.format(self.name))
|
raise WorkloadError('No UI automation APK file found for workload {}.'.format(self.name))
|
||||||
if not self.uiauto_package:
|
if not self.uiauto_package:
|
||||||
raise WorkloadError('No UI automation package specified for workload {}.'.format(self.name))
|
raise WorkloadError('No UI automation package specified for workload {}.'.format(self.name))
|
||||||
|
|
||||||
@@ -191,6 +195,11 @@ class ApkWorkload(Workload):
|
|||||||
If ``True``, workload will check that the APK matches the target
|
If ``True``, workload will check that the APK matches the target
|
||||||
device ABI, otherwise any APK found will be used.
|
device ABI, otherwise any APK found will be used.
|
||||||
'''),
|
'''),
|
||||||
|
Parameter('clear_data_on_reset', kind=bool, default=True,
|
||||||
|
description="""
|
||||||
|
If set to ``False``, this will prevent WA from clearing package
|
||||||
|
data for this workload prior to running it.
|
||||||
|
"""),
|
||||||
]
|
]
|
||||||
|
|
||||||
def __init__(self, device, _call_super=True, **kwargs):
|
def __init__(self, device, _call_super=True, **kwargs):
|
||||||
@@ -200,7 +209,6 @@ class ApkWorkload(Workload):
|
|||||||
self.apk_version = None
|
self.apk_version = None
|
||||||
self.logcat_log = None
|
self.logcat_log = None
|
||||||
self.exact_apk_version = None
|
self.exact_apk_version = None
|
||||||
self.exact_abi = kwargs.get('exact_abi')
|
|
||||||
|
|
||||||
def setup(self, context): # pylint: disable=too-many-branches
|
def setup(self, context): # pylint: disable=too-many-branches
|
||||||
Workload.setup(self, context)
|
Workload.setup(self, context)
|
||||||
@@ -217,7 +225,8 @@ class ApkWorkload(Workload):
|
|||||||
self.logger.debug("Found version '{}' on target device".format(target_version))
|
self.logger.debug("Found version '{}' on target device".format(target_version))
|
||||||
|
|
||||||
# Get host version
|
# Get host version
|
||||||
self.apk_file = context.resolver.get(ApkFile(self, self.device.abi),
|
self.apk_file = context.resolver.get(ApkFile(self, self.device.abi,
|
||||||
|
package=getattr(self, 'package', None)),
|
||||||
version=getattr(self, 'version', None),
|
version=getattr(self, 'version', None),
|
||||||
variant_name=getattr(self, 'variant_name', None),
|
variant_name=getattr(self, 'variant_name', None),
|
||||||
strict=False)
|
strict=False)
|
||||||
@@ -229,7 +238,8 @@ class ApkWorkload(Workload):
|
|||||||
|
|
||||||
# Get host version, primary abi is first, and then try to find supported.
|
# Get host version, primary abi is first, and then try to find supported.
|
||||||
for abi in self.device.supported_abi:
|
for abi in self.device.supported_abi:
|
||||||
self.apk_file = context.resolver.get(ApkFile(self, abi),
|
self.apk_file = context.resolver.get(ApkFile(self, abi,
|
||||||
|
package=getattr(self, 'package', None)),
|
||||||
version=getattr(self, 'version', None),
|
version=getattr(self, 'version', None),
|
||||||
variant_name=getattr(self, 'variant_name', None),
|
variant_name=getattr(self, 'variant_name', None),
|
||||||
strict=False)
|
strict=False)
|
||||||
@@ -238,13 +248,30 @@ class ApkWorkload(Workload):
|
|||||||
if self.apk_file or self.exact_abi:
|
if self.apk_file or self.exact_abi:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
host_version = self.check_host_version()
|
||||||
|
self.verify_apk_version(target_version, target_abi, host_version)
|
||||||
|
|
||||||
|
if self.force_install:
|
||||||
|
self.force_install_apk(context, host_version)
|
||||||
|
elif self.check_apk:
|
||||||
|
self.prefer_host_apk(context, host_version, target_version)
|
||||||
|
else:
|
||||||
|
self.prefer_target_apk(context, host_version, target_version)
|
||||||
|
|
||||||
|
self.reset(context)
|
||||||
|
self.apk_version = self.device.get_installed_package_version(self.package)
|
||||||
|
context.add_classifiers(apk_version=self.apk_version)
|
||||||
|
|
||||||
|
def check_host_version(self):
|
||||||
host_version = None
|
host_version = None
|
||||||
if self.apk_file is not None:
|
if self.apk_file is not None:
|
||||||
host_version = ApkInfo(self.apk_file).version_name
|
host_version = ApkInfo(self.apk_file).version_name
|
||||||
if host_version:
|
if host_version:
|
||||||
host_version = LooseVersion(host_version)
|
host_version = LooseVersion(host_version)
|
||||||
self.logger.debug("Found version '{}' on host".format(host_version))
|
self.logger.debug("Found version '{}' on host".format(host_version))
|
||||||
|
return host_version
|
||||||
|
|
||||||
|
def verify_apk_version(self, target_version, target_abi, host_version):
|
||||||
# Error if apk was not found anywhere
|
# Error if apk was not found anywhere
|
||||||
if target_version is None and host_version is None:
|
if target_version is None and host_version is None:
|
||||||
msg = "Could not find APK for '{}' on the host or target device"
|
msg = "Could not find APK for '{}' on the host or target device"
|
||||||
@@ -261,18 +288,6 @@ class ApkWorkload(Workload):
|
|||||||
msg = "APK abi '{}' not found on the host and target is '{}'"
|
msg = "APK abi '{}' not found on the host and target is '{}'"
|
||||||
raise ResourceError(msg.format(self.device.abi, target_abi))
|
raise ResourceError(msg.format(self.device.abi, target_abi))
|
||||||
|
|
||||||
# Ensure the apk is setup on the device
|
|
||||||
if self.force_install:
|
|
||||||
self.force_install_apk(context, host_version)
|
|
||||||
elif self.check_apk:
|
|
||||||
self.prefer_host_apk(context, host_version, target_version)
|
|
||||||
else:
|
|
||||||
self.prefer_target_apk(context, host_version, target_version)
|
|
||||||
|
|
||||||
self.reset(context)
|
|
||||||
self.apk_version = self.device.get_installed_package_version(self.package)
|
|
||||||
context.add_classifiers(apk_version=self.apk_version)
|
|
||||||
|
|
||||||
def launch_application(self):
|
def launch_application(self):
|
||||||
if self.launch_main:
|
if self.launch_main:
|
||||||
self.launch_package() # launch default activity without intent data
|
self.launch_package() # launch default activity without intent data
|
||||||
@@ -394,7 +409,8 @@ class ApkWorkload(Workload):
|
|||||||
|
|
||||||
def reset(self, context): # pylint: disable=W0613
|
def reset(self, context): # pylint: disable=W0613
|
||||||
self.device.execute('am force-stop {}'.format(self.package))
|
self.device.execute('am force-stop {}'.format(self.package))
|
||||||
self.device.execute('pm clear {}'.format(self.package))
|
if self.clear_data_on_reset:
|
||||||
|
self.device.execute('pm clear {}'.format(self.package))
|
||||||
|
|
||||||
# As of android API level 23, apps can request permissions at runtime,
|
# As of android API level 23, apps can request permissions at runtime,
|
||||||
# this will grant all of them so requests do not pop up when running the app
|
# this will grant all of them so requests do not pop up when running the app
|
||||||
@@ -404,7 +420,7 @@ class ApkWorkload(Workload):
|
|||||||
|
|
||||||
def install_apk(self, context, replace=False):
|
def install_apk(self, context, replace=False):
|
||||||
success = False
|
success = False
|
||||||
if replace:
|
if replace and self.device.package_is_installed(self.package):
|
||||||
self.device.uninstall(self.package)
|
self.device.uninstall(self.package)
|
||||||
output = self.device.install_apk(self.apk_file, timeout=self.install_timeout,
|
output = self.device.install_apk(self.apk_file, timeout=self.install_timeout,
|
||||||
replace=replace, allow_downgrade=True)
|
replace=replace, allow_downgrade=True)
|
||||||
@@ -439,16 +455,18 @@ class ApkWorkload(Workload):
|
|||||||
# "Normal" Permisions are automatically granted and cannot be changed
|
# "Normal" Permisions are automatically granted and cannot be changed
|
||||||
permission_name = permission.rsplit('.', 1)[1]
|
permission_name = permission.rsplit('.', 1)[1]
|
||||||
if permission_name not in ANDROID_NORMAL_PERMISSIONS:
|
if permission_name not in ANDROID_NORMAL_PERMISSIONS:
|
||||||
# On some API 23+ devices, this may fail with a SecurityException
|
# Some permissions are not allowed to be "changed"
|
||||||
# on previously granted permissions. In that case, just skip as it
|
if permission_name not in ANDROID_UNCHANGEABLE_PERMISSIONS:
|
||||||
# is not fatal to the workload execution
|
# On some API 23+ devices, this may fail with a SecurityException
|
||||||
try:
|
# on previously granted permissions. In that case, just skip as it
|
||||||
self.device.execute("pm grant {} {}".format(self.package, permission))
|
# is not fatal to the workload execution
|
||||||
except DeviceError as e:
|
try:
|
||||||
if "changeable permission" in e.message or "Unknown permission" in e.message:
|
self.device.execute("pm grant {} {}".format(self.package, permission))
|
||||||
self.logger.debug(e)
|
except DeviceError as e:
|
||||||
else:
|
if "changeable permission" in e.message or "Unknown permission" in e.message:
|
||||||
raise e
|
self.logger.debug(e)
|
||||||
|
else:
|
||||||
|
raise e
|
||||||
|
|
||||||
def do_post_install(self, context):
|
def do_post_install(self, context):
|
||||||
""" May be overwritten by derived classes."""
|
""" May be overwritten by derived classes."""
|
||||||
@@ -470,122 +488,8 @@ class ApkWorkload(Workload):
|
|||||||
if self.uninstall_apk:
|
if self.uninstall_apk:
|
||||||
self.device.uninstall(self.package)
|
self.device.uninstall(self.package)
|
||||||
|
|
||||||
|
|
||||||
AndroidBenchmark = ApkWorkload # backward compatibility
|
AndroidBenchmark = ApkWorkload # backward compatibility
|
||||||
|
|
||||||
|
|
||||||
class ReventWorkload(Workload):
|
|
||||||
# pylint: disable=attribute-defined-outside-init
|
|
||||||
|
|
||||||
def __init__(self, device, _call_super=True, **kwargs):
|
|
||||||
if _call_super:
|
|
||||||
Workload.__init__(self, device, **kwargs)
|
|
||||||
devpath = self.device.path
|
|
||||||
self.on_device_revent_binary = devpath.join(self.device.binaries_directory, 'revent')
|
|
||||||
self.on_device_HelloJni_apk = devpath.join(self.device.binaries_directory, 'HelloJni.apk')
|
|
||||||
self.setup_timeout = kwargs.get('setup_timeout', None)
|
|
||||||
self.run_timeout = kwargs.get('run_timeout', None)
|
|
||||||
self.revent_setup_file = None
|
|
||||||
self.revent_run_file = None
|
|
||||||
self.on_device_setup_revent = None
|
|
||||||
self.on_device_run_revent = None
|
|
||||||
self.statedefs_dir = None
|
|
||||||
|
|
||||||
if self.check_states:
|
|
||||||
state_detector.check_match_state_dependencies()
|
|
||||||
|
|
||||||
def setup(self, context):
|
|
||||||
self.device.killall('revent', signal='SIGKILL')
|
|
||||||
self.revent_setup_file = context.resolver.get(ReventFile(self, 'setup'))
|
|
||||||
self.revent_run_file = context.resolver.get(ReventFile(self, 'run'))
|
|
||||||
devpath = self.device.path
|
|
||||||
self.on_device_setup_revent = devpath.join(self.device.working_directory,
|
|
||||||
os.path.split(self.revent_setup_file)[-1])
|
|
||||||
self.on_device_run_revent = devpath.join(self.device.working_directory,
|
|
||||||
os.path.split(self.revent_run_file)[-1])
|
|
||||||
self._check_revent_files(context)
|
|
||||||
default_setup_timeout = ceil(ReventRecording(self.revent_setup_file).duration) + 30
|
|
||||||
default_run_timeout = ceil(ReventRecording(self.revent_run_file).duration) + 30
|
|
||||||
self.setup_timeout = self.setup_timeout or default_setup_timeout
|
|
||||||
self.run_timeout = self.run_timeout or default_run_timeout
|
|
||||||
|
|
||||||
Workload.setup(self, context)
|
|
||||||
if self.device.platform is 'android':
|
|
||||||
result = self.device.execute('dumpsys activity services | grep "ChoreoService"',
|
|
||||||
check_exit_code=False)
|
|
||||||
if not result or 'com.example.hellojni/.ChoreoService' not in result:
|
|
||||||
self.logger.debug('Starting VSync Service')
|
|
||||||
self.device.execute('am startservice com.example.hellojni/.ChoreoService')
|
|
||||||
time.sleep(5) # Allow time for service to start
|
|
||||||
vsync_flag = '-V ' if self.device.platform is 'android' else ''
|
|
||||||
command = '{} replay {}{}'.format(self.on_device_revent_binary, vsync_flag, self.on_device_setup_revent)
|
|
||||||
self.device.execute(command, timeout=self.setup_timeout)
|
|
||||||
|
|
||||||
def run(self, context):
|
|
||||||
if self.device.platform is 'android':
|
|
||||||
self.device.execute('am startservice com.example.hellojni/.ChoreoService')
|
|
||||||
time.sleep(5) # Allow time for service to start
|
|
||||||
self.logger.debug('Replaying {}'.format(os.path.basename(self.on_device_run_revent)))
|
|
||||||
vsync_flag = '-V ' if self.device.platform is 'android' else ''
|
|
||||||
command = '{} replay {}{}'.format(self.on_device_revent_binary, vsync_flag, self.on_device_run_revent)
|
|
||||||
self.device.execute(command, timeout=self.run_timeout)
|
|
||||||
self.logger.debug('Replay completed.')
|
|
||||||
|
|
||||||
def update_result(self, context):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def teardown(self, context):
|
|
||||||
self.device.killall('revent')
|
|
||||||
self.device.killall("com.example.hellojni")
|
|
||||||
self.device.delete_file(self.on_device_setup_revent)
|
|
||||||
self.device.delete_file(self.on_device_run_revent)
|
|
||||||
|
|
||||||
def _check_revent_files(self, context):
|
|
||||||
# check the revent binary
|
|
||||||
revent_binary = context.resolver.get(Executable(NO_ONE, self.device.abi, 'revent'))
|
|
||||||
if not os.path.isfile(revent_binary):
|
|
||||||
message = '{} does not exist. '.format(revent_binary)
|
|
||||||
message += 'Please build revent for your system and place it in that location'
|
|
||||||
raise WorkloadError(message)
|
|
||||||
if self.device.platform is 'android':
|
|
||||||
HelloJni_APK = context.resolver.get(Executable(NO_ONE, self.device.abi, 'HelloJni.apk'))
|
|
||||||
if not os.path.isfile(HelloJni_APK):
|
|
||||||
message = '{} does not exist. '.format(HelloJni_APK)
|
|
||||||
if not self.revent_setup_file:
|
|
||||||
# pylint: disable=too-few-format-args
|
|
||||||
message = '{0}.setup.revent file does not exist, Please provide one for your device, {0}'.format(self.device.name)
|
|
||||||
raise WorkloadError(message)
|
|
||||||
if not self.revent_run_file:
|
|
||||||
# pylint: disable=too-few-format-args
|
|
||||||
message = '{0}.run.revent file does not exist, Please provide one for your device, {0}'.format(self.device.name)
|
|
||||||
raise WorkloadError(message)
|
|
||||||
|
|
||||||
self.on_device_revent_binary = self.device.install_executable(revent_binary)
|
|
||||||
if self.device.platform is 'android':
|
|
||||||
self.on_device_HelloJni_apk = self.device.install_if_needed(HelloJni_APK)
|
|
||||||
self.device.push_file(self.revent_run_file, self.on_device_run_revent)
|
|
||||||
self.device.push_file(self.revent_setup_file, self.on_device_setup_revent)
|
|
||||||
|
|
||||||
def _check_statedetection_files(self, context):
|
|
||||||
try:
|
|
||||||
self.statedefs_dir = context.resolver.get(File(self, 'state_definitions'))
|
|
||||||
except ResourceError:
|
|
||||||
self.logger.warning("State definitions directory not found. Disabling state detection.")
|
|
||||||
self.check_states = False
|
|
||||||
|
|
||||||
def check_state(self, context, phase):
|
|
||||||
try:
|
|
||||||
self.logger.info("\tChecking workload state...")
|
|
||||||
screenshotPath = os.path.join(context.output_directory, "screen.png")
|
|
||||||
self.device.capture_screen(screenshotPath)
|
|
||||||
stateCheck = state_detector.verify_state(screenshotPath, self.statedefs_dir, phase)
|
|
||||||
if not stateCheck:
|
|
||||||
raise WorkloadError("Unexpected state after setup")
|
|
||||||
except state_detector.StateDefinitionError as e:
|
|
||||||
msg = "State definitions or template files missing or invalid ({}). Skipping state detection."
|
|
||||||
self.logger.warning(msg.format(e.message))
|
|
||||||
|
|
||||||
|
|
||||||
class AndroidUiAutoBenchmark(UiAutomatorWorkload, AndroidBenchmark):
|
class AndroidUiAutoBenchmark(UiAutomatorWorkload, AndroidBenchmark):
|
||||||
|
|
||||||
supported_platforms = ['android']
|
supported_platforms = ['android']
|
||||||
@@ -666,17 +570,27 @@ class AndroidUxPerfWorkload(AndroidUiAutoBenchmark):
|
|||||||
return self.device.path.join(dirname, fname)
|
return self.device.path.join(dirname, fname)
|
||||||
|
|
||||||
def push_assets(self, context):
|
def push_assets(self, context):
|
||||||
|
pushed = False
|
||||||
|
file_list = []
|
||||||
for f in self.deployable_assets:
|
for f in self.deployable_assets:
|
||||||
fpath = context.resolver.get(File(self, f))
|
fpath = context.resolver.get(File(self, f))
|
||||||
device_path = self._path_on_device(fpath)
|
device_path = self._path_on_device(fpath)
|
||||||
if self.force_push_assets or not self.device.file_exists(device_path):
|
if self.force_push_assets or not self.device.file_exists(device_path):
|
||||||
self.device.push_file(fpath, device_path, timeout=300)
|
self.device.push_file(fpath, device_path, timeout=300)
|
||||||
self.device.broadcast_media_mounted(self.device.working_directory)
|
file_list.append(device_path)
|
||||||
|
pushed = True
|
||||||
|
if pushed:
|
||||||
|
self.device.refresh_device_files(file_list)
|
||||||
|
|
||||||
def delete_assets(self):
|
def delete_assets(self):
|
||||||
for f in self.deployable_assets:
|
if self.deployable_assets:
|
||||||
self.device.delete_file(self._path_on_device(f))
|
file_list = []
|
||||||
self.device.broadcast_media_mounted(self.device.working_directory)
|
for f in self.deployable_assets:
|
||||||
|
f = self._path_on_device(f)
|
||||||
|
self.device.delete_file(f)
|
||||||
|
file_list.append(f)
|
||||||
|
self.device.delete_file(f)
|
||||||
|
self.device.refresh_device_files(file_list)
|
||||||
|
|
||||||
def __init__(self, device, **kwargs):
|
def __init__(self, device, **kwargs):
|
||||||
super(AndroidUxPerfWorkload, self).__init__(device, **kwargs)
|
super(AndroidUxPerfWorkload, self).__init__(device, **kwargs)
|
||||||
@@ -685,7 +599,7 @@ class AndroidUxPerfWorkload(AndroidUiAutoBenchmark):
|
|||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
super(AndroidUxPerfWorkload, self).validate()
|
super(AndroidUxPerfWorkload, self).validate()
|
||||||
self.uiauto_params['package'] = self.package
|
self.uiauto_params['package_name'] = self.package
|
||||||
self.uiauto_params['markers_enabled'] = self.markers_enabled
|
self.uiauto_params['markers_enabled'] = self.markers_enabled
|
||||||
|
|
||||||
def setup(self, context):
|
def setup(self, context):
|
||||||
@@ -730,6 +644,7 @@ class GameWorkload(ApkWorkload, ReventWorkload):
|
|||||||
view = 'SurfaceView'
|
view = 'SurfaceView'
|
||||||
loading_time = 10
|
loading_time = 10
|
||||||
supported_platforms = ['android']
|
supported_platforms = ['android']
|
||||||
|
setup_required = True
|
||||||
|
|
||||||
parameters = [
|
parameters = [
|
||||||
Parameter('install_timeout', default=500, override=True),
|
Parameter('install_timeout', default=500, override=True),
|
||||||
@@ -738,16 +653,13 @@ class GameWorkload(ApkWorkload, ReventWorkload):
|
|||||||
after setup and run"""),
|
after setup and run"""),
|
||||||
Parameter('assets_push_timeout', kind=int, default=500,
|
Parameter('assets_push_timeout', kind=int, default=500,
|
||||||
description='Timeout used during deployment of the assets package (if there is one).'),
|
description='Timeout used during deployment of the assets package (if there is one).'),
|
||||||
Parameter('clear_data_on_reset', kind=bool, default=True,
|
|
||||||
description="""
|
|
||||||
If set to ``False``, this will prevent WA from clearing package
|
|
||||||
data for this workload prior to running it.
|
|
||||||
"""),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
def __init__(self, device, **kwargs): # pylint: disable=W0613
|
def __init__(self, device, **kwargs): # pylint: disable=W0613
|
||||||
ApkWorkload.__init__(self, device, **kwargs)
|
ApkWorkload.__init__(self, device, **kwargs)
|
||||||
ReventWorkload.__init__(self, device, _call_super=False, **kwargs)
|
ReventWorkload.__init__(self, device, _call_super=False, **kwargs)
|
||||||
|
if self.check_states:
|
||||||
|
state_detector.check_match_state_dependencies()
|
||||||
self.logcat_process = None
|
self.logcat_process = None
|
||||||
self.module_dir = os.path.dirname(sys.modules[self.__module__].__file__)
|
self.module_dir = os.path.dirname(sys.modules[self.__module__].__file__)
|
||||||
self.revent_dir = os.path.join(self.module_dir, 'revent_files')
|
self.revent_dir = os.path.join(self.module_dir, 'revent_files')
|
||||||
@@ -822,3 +734,22 @@ class GameWorkload(ApkWorkload, ReventWorkload):
|
|||||||
self.device.busybox,
|
self.device.busybox,
|
||||||
ondevice_cache)
|
ondevice_cache)
|
||||||
self.device.execute(deploy_command, timeout=timeout, as_root=True)
|
self.device.execute(deploy_command, timeout=timeout, as_root=True)
|
||||||
|
|
||||||
|
def _check_statedetection_files(self, context):
|
||||||
|
try:
|
||||||
|
self.statedefs_dir = context.resolver.get(File(self, 'state_definitions'))
|
||||||
|
except ResourceError:
|
||||||
|
self.logger.warning("State definitions directory not found. Disabling state detection.")
|
||||||
|
self.check_states = False # pylint: disable=W0201
|
||||||
|
|
||||||
|
def check_state(self, context, phase):
|
||||||
|
try:
|
||||||
|
self.logger.info("\tChecking workload state...")
|
||||||
|
screenshotPath = os.path.join(context.output_directory, "screen.png")
|
||||||
|
self.device.capture_screen(screenshotPath)
|
||||||
|
stateCheck = state_detector.verify_state(screenshotPath, self.statedefs_dir, phase)
|
||||||
|
if not stateCheck:
|
||||||
|
raise WorkloadError("Unexpected state after setup")
|
||||||
|
except state_detector.StateDefinitionError as e:
|
||||||
|
msg = "State definitions or template files missing or invalid ({}). Skipping state detection."
|
||||||
|
self.logger.warning(msg.format(e.message))
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -462,7 +462,7 @@ class BaseGem5Device(object):
|
|||||||
# gem5 might be slow. Hence, we need to make the ping timeout very long.
|
# gem5 might be slow. Hence, we need to make the ping timeout very long.
|
||||||
def ping(self):
|
def ping(self):
|
||||||
self.logger.debug("Pinging gem5 to see if it is still alive")
|
self.logger.debug("Pinging gem5 to see if it is still alive")
|
||||||
self.gem5_shell('ls /', timeout=self.longdelay)
|
self.gem5_shell('ls /', timeout=self.long_delay)
|
||||||
|
|
||||||
# Additional Android-specific methods.
|
# Additional Android-specific methods.
|
||||||
def forward_port(self, _): # pylint: disable=R0201
|
def forward_port(self, _): # pylint: disable=R0201
|
||||||
|
@@ -17,6 +17,7 @@
|
|||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
|
import base64
|
||||||
import socket
|
import socket
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
from subprocess import CalledProcessError
|
from subprocess import CalledProcessError
|
||||||
@@ -105,7 +106,7 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
|
|||||||
|
|
||||||
runtime_parameters = [
|
runtime_parameters = [
|
||||||
RuntimeParameter('sysfile_values', 'get_sysfile_values', 'set_sysfile_values', value_name='params'),
|
RuntimeParameter('sysfile_values', 'get_sysfile_values', 'set_sysfile_values', value_name='params'),
|
||||||
CoreParameter('${core}_cores', 'get_number_of_online_cpus', 'set_number_of_online_cpus',
|
CoreParameter('${core}_cores', 'get_number_of_online_cores', 'set_number_of_online_cores',
|
||||||
value_name='number'),
|
value_name='number'),
|
||||||
CoreParameter('${core}_min_frequency', 'get_core_min_frequency', 'set_core_min_frequency',
|
CoreParameter('${core}_min_frequency', 'get_core_min_frequency', 'set_core_min_frequency',
|
||||||
value_name='freq'),
|
value_name='freq'),
|
||||||
@@ -241,7 +242,7 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
|
|||||||
self.logger.debug('Could not pull property file "{}"'.format(propfile))
|
self.logger.debug('Could not pull property file "{}"'.format(propfile))
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
def get_sysfile_value(self, sysfile, kind=None):
|
def get_sysfile_value(self, sysfile, kind=None, binary=False):
|
||||||
"""
|
"""
|
||||||
Get the contents of the specified sysfile.
|
Get the contents of the specified sysfile.
|
||||||
|
|
||||||
@@ -251,28 +252,49 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
|
|||||||
be any Python callable that takes a single str argument.
|
be any Python callable that takes a single str argument.
|
||||||
If not specified or is None, the contents will be returned
|
If not specified or is None, the contents will be returned
|
||||||
as a string.
|
as a string.
|
||||||
|
:param binary: Whether the value should be encoded into base64 for reading
|
||||||
|
to deal with binary format.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
output = self.execute('cat \'{}\''.format(sysfile), as_root=self.is_rooted).strip() # pylint: disable=E1103
|
if binary:
|
||||||
|
output = self.execute('{} base64 {}'.format(self.busybox, sysfile), as_root=self.is_rooted).strip()
|
||||||
|
output = output.decode('base64')
|
||||||
|
else:
|
||||||
|
output = self.execute('cat \'{}\''.format(sysfile), as_root=self.is_rooted).strip() # pylint: disable=E1103
|
||||||
if kind:
|
if kind:
|
||||||
return kind(output)
|
return kind(output)
|
||||||
else:
|
else:
|
||||||
return output
|
return output
|
||||||
|
|
||||||
def set_sysfile_value(self, sysfile, value, verify=True):
|
def set_sysfile_value(self, sysfile, value, verify=True, binary=False):
|
||||||
"""
|
"""
|
||||||
Set the value of the specified sysfile. By default, the value will be checked afterwards.
|
Set the value of the specified sysfile. By default, the value will be checked afterwards.
|
||||||
Can be overridden by setting ``verify`` parameter to ``False``.
|
Can be overridden by setting ``verify`` parameter to ``False``. By default binary values
|
||||||
|
will not be written correctly this can be changed by setting the ``binary`` parameter to
|
||||||
|
``True``.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
value = str(value)
|
value = str(value)
|
||||||
self.execute('echo {} > \'{}\''.format(value, sysfile), check_exit_code=False, as_root=True)
|
if binary:
|
||||||
|
# Value is already string encoded, so need to decode before encoding in base64
|
||||||
|
try:
|
||||||
|
value = str(value.decode('string_escape'))
|
||||||
|
except ValueError as e:
|
||||||
|
msg = 'Can not interpret value "{}" for "{}": {}'
|
||||||
|
raise ValueError(msg.format(value, sysfile, e.message))
|
||||||
|
|
||||||
|
encoded_value = base64.b64encode(value)
|
||||||
|
cmd = 'echo {} | {} base64 -d > \'{}\''.format(encoded_value, self.busybox, sysfile)
|
||||||
|
else:
|
||||||
|
cmd = 'echo {} > \'{}\''.format(value, sysfile)
|
||||||
|
self.execute(cmd, check_exit_code=False, as_root=True)
|
||||||
|
|
||||||
if verify:
|
if verify:
|
||||||
output = self.get_sysfile_value(sysfile)
|
output = self.get_sysfile_value(sysfile, binary=binary)
|
||||||
if output.strip() != value: # pylint: disable=E1103
|
if output.strip() != value: # pylint: disable=E1103
|
||||||
message = 'Could not set the value of {} to {}'.format(sysfile, value)
|
message = 'Could not set the value of {} to {}'.format(sysfile, value)
|
||||||
raise DeviceError(message)
|
raise DeviceError(message)
|
||||||
self._written_sysfiles.append(sysfile)
|
self._written_sysfiles.append((sysfile, binary))
|
||||||
|
|
||||||
def get_sysfile_values(self):
|
def get_sysfile_values(self):
|
||||||
"""
|
"""
|
||||||
@@ -281,21 +303,24 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
values = {}
|
values = {}
|
||||||
for sysfile in self._written_sysfiles:
|
for sysfile, binary in self._written_sysfiles:
|
||||||
values[sysfile] = self.get_sysfile_value(sysfile)
|
values[sysfile] = self.get_sysfile_value(sysfile, binary=binary)
|
||||||
return values
|
return values
|
||||||
|
|
||||||
def set_sysfile_values(self, params):
|
def set_sysfile_values(self, params):
|
||||||
"""
|
"""
|
||||||
The plural version of ``set_sysfile_value``. Takes a single parameter which is a mapping of
|
The plural version of ``set_sysfile_value``. Takes a single parameter which is a mapping of
|
||||||
file paths to values to be set. By default, every value written will be verified. The can
|
file paths to values to be set. By default, every value written will be verified. This can
|
||||||
be disabled for individual paths by appending ``'!'`` to them.
|
be disabled for individual paths by appending ``'!'`` to them. To enable values being
|
||||||
|
written as binary data, a ``'^'`` can be prefixed to the path.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
for sysfile, value in params.iteritems():
|
for sysfile, value in params.iteritems():
|
||||||
verify = not sysfile.endswith('!')
|
verify = not sysfile.endswith('!')
|
||||||
sysfile = sysfile.rstrip('!')
|
sysfile = sysfile.rstrip('!')
|
||||||
self.set_sysfile_value(sysfile, value, verify=verify)
|
binary = sysfile.startswith('^')
|
||||||
|
sysfile = sysfile.lstrip('^')
|
||||||
|
self.set_sysfile_value(sysfile, value, verify=verify, binary=binary)
|
||||||
|
|
||||||
def deploy_busybox(self, context, force=False):
|
def deploy_busybox(self, context, force=False):
|
||||||
"""
|
"""
|
||||||
@@ -452,20 +477,6 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
|
|||||||
else:
|
else:
|
||||||
raise ValueError(c)
|
raise ValueError(c)
|
||||||
|
|
||||||
def get_number_of_online_cpus(self, c):
|
|
||||||
return len(self.get_online_cpus(c))
|
|
||||||
|
|
||||||
def set_number_of_online_cpus(self, core, number):
|
|
||||||
core_ids = [i for i, c in enumerate(self.core_names) if c == core]
|
|
||||||
max_cores = len(core_ids)
|
|
||||||
if number > max_cores:
|
|
||||||
message = 'Attempting to set the number of active {} to {}; maximum is {}'
|
|
||||||
raise ValueError(message.format(core, number, max_cores))
|
|
||||||
for i in xrange(0, number):
|
|
||||||
self.enable_cpu(core_ids[i])
|
|
||||||
for i in xrange(number, max_cores):
|
|
||||||
self.disable_cpu(core_ids[i])
|
|
||||||
|
|
||||||
# hotplug
|
# hotplug
|
||||||
|
|
||||||
def enable_cpu(self, cpu):
|
def enable_cpu(self, cpu):
|
||||||
@@ -504,17 +515,17 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
|
|||||||
sysfile = '/sys/devices/system/cpu/{}/online'.format(cpu)
|
sysfile = '/sys/devices/system/cpu/{}/online'.format(cpu)
|
||||||
self.set_sysfile_value(sysfile, status)
|
self.set_sysfile_value(sysfile, status)
|
||||||
|
|
||||||
def get_number_of_active_cores(self, core):
|
def get_number_of_online_cores(self, core):
|
||||||
if core not in self.core_names:
|
if core not in self.core_names:
|
||||||
raise ValueError('Unexpected core: {}; must be in {}'.format(core, list(set(self.core_names))))
|
raise ValueError('Unexpected core: {}; must be in {}'.format(core, list(set(self.core_names))))
|
||||||
active_cpus = self.active_cpus
|
online_cpus = self.online_cpus
|
||||||
num_active_cores = 0
|
num_active_cores = 0
|
||||||
for i, c in enumerate(self.core_names):
|
for i, c in enumerate(self.core_names):
|
||||||
if c == core and i in active_cpus:
|
if c == core and i in online_cpus:
|
||||||
num_active_cores += 1
|
num_active_cores += 1
|
||||||
return num_active_cores
|
return num_active_cores
|
||||||
|
|
||||||
def set_number_of_active_cores(self, core, number): # NOQA
|
def set_number_of_online_cores(self, core, number): # NOQA
|
||||||
if core not in self.core_names:
|
if core not in self.core_names:
|
||||||
raise ValueError('Unexpected core: {}; must be in {}'.format(core, list(set(self.core_names))))
|
raise ValueError('Unexpected core: {}; must be in {}'.format(core, list(set(self.core_names))))
|
||||||
core_ids = [i for i, c in enumerate(self.core_names) if c == core]
|
core_ids = [i for i, c in enumerate(self.core_names) if c == core]
|
||||||
@@ -527,8 +538,7 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
|
|||||||
# make sure at least one other core is enabled to avoid trying to
|
# make sure at least one other core is enabled to avoid trying to
|
||||||
# hotplug everything.
|
# hotplug everything.
|
||||||
for i, c in enumerate(self.core_names):
|
for i, c in enumerate(self.core_names):
|
||||||
if c != core:
|
if c != core and i in self.online_cpus:
|
||||||
self.enable_cpu(i)
|
|
||||||
break
|
break
|
||||||
else: # did not find one
|
else: # did not find one
|
||||||
raise ValueError('Cannot hotplug all cpus on the device!')
|
raise ValueError('Cannot hotplug all cpus on the device!')
|
||||||
@@ -580,7 +590,8 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
|
|||||||
def get_device_model(self):
|
def get_device_model(self):
|
||||||
if self.file_exists("/proc/device-tree/model"):
|
if self.file_exists("/proc/device-tree/model"):
|
||||||
raw_model = self.execute("cat /proc/device-tree/model")
|
raw_model = self.execute("cat /proc/device-tree/model")
|
||||||
return '_'.join(raw_model.split()[:2])
|
device_model_to_return = '_'.join(raw_model.split()[:2])
|
||||||
|
return device_model_to_return.rstrip(' \t\r\n\0')
|
||||||
# Right now we don't know any other way to get device model
|
# Right now we don't know any other way to get device model
|
||||||
# info in linux on arm platforms
|
# info in linux on arm platforms
|
||||||
return None
|
return None
|
||||||
@@ -589,7 +600,7 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
|
|||||||
|
|
||||||
def _check_ready(self):
|
def _check_ready(self):
|
||||||
if not self._is_ready:
|
if not self._is_ready:
|
||||||
raise AttributeError('Device not ready.')
|
raise RuntimeError('Device not ready (has connect() been called?)')
|
||||||
|
|
||||||
def _get_core_cluster(self, core):
|
def _get_core_cluster(self, core):
|
||||||
"""Returns the first cluster that has cores of the specified type. Raises
|
"""Returns the first cluster that has cores of the specified type. Raises
|
||||||
|
165
wlauto/common/linux/workload.py
Normal file
165
wlauto/common/linux/workload.py
Normal file
@@ -0,0 +1,165 @@
|
|||||||
|
# Copyright 2017 ARM Limited
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
|
import os
|
||||||
|
from math import ceil
|
||||||
|
|
||||||
|
from wlauto.core.extension import Parameter
|
||||||
|
from wlauto.core.workload import Workload
|
||||||
|
from wlauto.core.resource import NO_ONE
|
||||||
|
from wlauto.common.resources import Executable
|
||||||
|
from wlauto.common.android.resources import ReventFile
|
||||||
|
from wlauto.exceptions import WorkloadError
|
||||||
|
from wlauto.utils.revent import ReventRecording
|
||||||
|
|
||||||
|
class ReventWorkload(Workload):
|
||||||
|
# pylint: disable=attribute-defined-outside-init
|
||||||
|
|
||||||
|
description = """
|
||||||
|
A workload for playing back revent recordings. You can supply three
|
||||||
|
different files:
|
||||||
|
|
||||||
|
1. {device_model}.setup.revent
|
||||||
|
2. {device_model}.run.revent
|
||||||
|
3. {device_model}.teardown.revent
|
||||||
|
|
||||||
|
You may generate these files using the wa record command using the -s flag
|
||||||
|
to specify the stage (``setup``, ``run``, ``teardown``)
|
||||||
|
|
||||||
|
You may also supply an 'idle_time' in seconds in place of the run file.
|
||||||
|
The ``run`` file may only be omitted if you choose to run this way, but
|
||||||
|
while running idle may supply ``setup`` and ``teardown`` files.
|
||||||
|
|
||||||
|
To use a ``setup`` or ``teardown`` file set the setup_required and/or
|
||||||
|
teardown_required class attributes to True (default: False).
|
||||||
|
|
||||||
|
N.B. This is the default description. You may overwrite this for your
|
||||||
|
workload to include more specific information.
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
setup_required = False
|
||||||
|
teardown_required = False
|
||||||
|
|
||||||
|
parameters = [
|
||||||
|
Parameter(
|
||||||
|
'idle_time', kind=int, default=None,
|
||||||
|
description='''
|
||||||
|
The time you wish the device to remain idle for (if a value is
|
||||||
|
given then this overrides any .run revent file).
|
||||||
|
'''),
|
||||||
|
]
|
||||||
|
|
||||||
|
def __init__(self, device, _call_super=True, **kwargs):
|
||||||
|
if _call_super:
|
||||||
|
Workload.__init__(self, device, **kwargs)
|
||||||
|
self.setup_timeout = kwargs.get('setup_timeout', None)
|
||||||
|
self.run_timeout = kwargs.get('run_timeout', None)
|
||||||
|
self.teardown_timeout = kwargs.get('teardown_timeout', None)
|
||||||
|
self.revent_setup_file = None
|
||||||
|
self.revent_run_file = None
|
||||||
|
self.revent_teardown_file = None
|
||||||
|
self.on_device_setup_revent = None
|
||||||
|
self.on_device_run_revent = None
|
||||||
|
self.on_device_teardown_revent = None
|
||||||
|
self.statedefs_dir = None
|
||||||
|
|
||||||
|
def initialize(self, context):
|
||||||
|
devpath = self.device.path
|
||||||
|
self.on_device_revent_binary = devpath.join(self.device.binaries_directory, 'revent')
|
||||||
|
|
||||||
|
def setup(self, context):
|
||||||
|
devpath = self.device.path
|
||||||
|
if self.setup_required:
|
||||||
|
self.revent_setup_file = context.resolver.get(ReventFile(self, 'setup'))
|
||||||
|
if self.revent_setup_file:
|
||||||
|
self.on_device_setup_revent = devpath.join(self.device.working_directory,
|
||||||
|
os.path.split(self.revent_setup_file)[-1])
|
||||||
|
duration = ReventRecording(self.revent_setup_file).duration
|
||||||
|
self.default_setup_timeout = ceil(duration) + 30
|
||||||
|
if not self.idle_time:
|
||||||
|
self.revent_run_file = context.resolver.get(ReventFile(self, 'run'))
|
||||||
|
if self.revent_run_file:
|
||||||
|
self.on_device_run_revent = devpath.join(self.device.working_directory,
|
||||||
|
os.path.split(self.revent_run_file)[-1])
|
||||||
|
self.default_run_timeout = ceil(ReventRecording(self.revent_run_file).duration) + 30
|
||||||
|
if self.teardown_required:
|
||||||
|
self.revent_teardown_file = context.resolver.get(ReventFile(self, 'teardown'))
|
||||||
|
if self.revent_teardown_file:
|
||||||
|
self.on_device_teardown_revent = devpath.join(self.device.working_directory,
|
||||||
|
os.path.split(self.revent_teardown_file)[-1])
|
||||||
|
duration = ReventRecording(self.revent_teardown_file).duration
|
||||||
|
self.default_teardown_timeout = ceil(duration) + 30
|
||||||
|
self._check_revent_files(context)
|
||||||
|
|
||||||
|
Workload.setup(self, context)
|
||||||
|
|
||||||
|
if self.revent_setup_file is not None:
|
||||||
|
self.setup_timeout = self.setup_timeout or self.default_setup_timeout
|
||||||
|
self.device.killall('revent')
|
||||||
|
command = '{} replay {}'.format(self.on_device_revent_binary, self.on_device_setup_revent)
|
||||||
|
self.device.execute(command, timeout=self.setup_timeout)
|
||||||
|
self.logger.debug('Revent setup completed.')
|
||||||
|
|
||||||
|
def run(self, context):
|
||||||
|
if not self.idle_time:
|
||||||
|
self.run_timeout = self.run_timeout or self.default_run_timeout
|
||||||
|
command = '{} replay {}'.format(self.on_device_revent_binary, self.on_device_run_revent)
|
||||||
|
self.logger.debug('Replaying {}'.format(os.path.basename(self.on_device_run_revent)))
|
||||||
|
self.device.execute(command, timeout=self.run_timeout)
|
||||||
|
self.logger.debug('Replay completed.')
|
||||||
|
else:
|
||||||
|
self.logger.info('Idling for ' + str(self.idle_time) + ' seconds.')
|
||||||
|
self.device.sleep(self.idle_time)
|
||||||
|
self.logger.info('Successfully did nothing for ' + str(self.idle_time) + ' seconds!')
|
||||||
|
|
||||||
|
def update_result(self, context):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def teardown(self, context):
|
||||||
|
if self.revent_teardown_file is not None:
|
||||||
|
self.teardown_timeout = self.teardown_timeout or self.default_teardown_timeout
|
||||||
|
command = '{} replay {}'.format(self.on_device_revent_binary,
|
||||||
|
self.on_device_teardown_revent)
|
||||||
|
self.device.execute(command, timeout=self.teardown_timeout)
|
||||||
|
self.logger.debug('Replay completed.')
|
||||||
|
self.device.killall('revent')
|
||||||
|
if self.revent_setup_file is not None:
|
||||||
|
self.device.delete_file(self.on_device_setup_revent)
|
||||||
|
if not self.idle_time:
|
||||||
|
self.device.delete_file(self.on_device_run_revent)
|
||||||
|
if self.revent_teardown_file is not None:
|
||||||
|
self.device.delete_file(self.on_device_teardown_revent)
|
||||||
|
|
||||||
|
def _check_revent_files(self, context):
|
||||||
|
# check the revent binary
|
||||||
|
revent_binary = context.resolver.get(Executable(NO_ONE, self.device.abi, 'revent'))
|
||||||
|
if not os.path.isfile(revent_binary):
|
||||||
|
message = '{} does not exist. '.format(revent_binary)
|
||||||
|
message += 'Please build revent for your system and place it in that location'
|
||||||
|
raise WorkloadError(message)
|
||||||
|
if not self.revent_run_file and not self.idle_time:
|
||||||
|
# pylint: disable=too-few-format-args
|
||||||
|
message = 'It seems a {0}.run.revent file does not exist, '\
|
||||||
|
'Please provide one for your device: {0}.'
|
||||||
|
raise WorkloadError(message.format(self.device.name))
|
||||||
|
|
||||||
|
self.on_device_revent_binary = self.device.install_executable(revent_binary)
|
||||||
|
if self.revent_setup_file is not None:
|
||||||
|
self.device.push_file(self.revent_setup_file, self.on_device_setup_revent)
|
||||||
|
if not self.idle_time:
|
||||||
|
self.device.push_file(self.revent_run_file, self.on_device_run_revent)
|
||||||
|
if self.revent_teardown_file is not None:
|
||||||
|
self.device.push_file(self.revent_teardown_file, self.on_device_teardown_revent)
|
@@ -61,7 +61,8 @@ clean_up = False
|
|||||||
######################################### Device Settings ##########################################
|
######################################### Device Settings ##########################################
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
# Specify the device you want to run workload automation on. This must be a #
|
# Specify the device you want to run workload automation on. This must be a #
|
||||||
# string with the ID of the device. At the moment, only 'TC2' is supported. #
|
# string with the ID of the device. Common options are 'generic_android' and #
|
||||||
|
# 'generic_linux'. Run ``wa list devices`` to see all available options. #
|
||||||
# #
|
# #
|
||||||
device = 'generic_android'
|
device = 'generic_android'
|
||||||
|
|
||||||
|
@@ -152,7 +152,8 @@ def init_environment(env_root, dep_dir, extension_paths, overwrite_existing=Fals
|
|||||||
os.makedirs(env_root)
|
os.makedirs(env_root)
|
||||||
with open(os.path.join(_this_dir, '..', 'config_example.py')) as rf:
|
with open(os.path.join(_this_dir, '..', 'config_example.py')) as rf:
|
||||||
text = re.sub(r'""".*?"""', '', rf.read(), 1, re.DOTALL)
|
text = re.sub(r'""".*?"""', '', rf.read(), 1, re.DOTALL)
|
||||||
with open(os.path.join(_env_root, 'config.py'), 'w') as wf:
|
config_path = os.path.join(env_root, 'config.py')
|
||||||
|
with open(config_path, 'w') as wf:
|
||||||
wf.write(text)
|
wf.write(text)
|
||||||
|
|
||||||
os.makedirs(dep_dir)
|
os.makedirs(dep_dir)
|
||||||
@@ -173,9 +174,11 @@ def init_environment(env_root, dep_dir, extension_paths, overwrite_existing=Fals
|
|||||||
os.chown(os.path.join(root, d), uid, gid)
|
os.chown(os.path.join(root, d), uid, gid)
|
||||||
for f in files: # pylint: disable=W0621
|
for f in files: # pylint: disable=W0621
|
||||||
os.chown(os.path.join(root, f), uid, gid)
|
os.chown(os.path.join(root, f), uid, gid)
|
||||||
|
return config_path
|
||||||
|
|
||||||
|
|
||||||
_env_root = os.getenv('WA_USER_DIRECTORY', os.path.join(_user_home, '.workload_automation'))
|
_env_root = os.getenv('WA_USER_DIRECTORY', os.path.join(_user_home, '.workload_automation'))
|
||||||
|
_env_root = os.path.abspath(_env_root)
|
||||||
_dep_dir = os.path.join(_env_root, 'dependencies')
|
_dep_dir = os.path.join(_env_root, 'dependencies')
|
||||||
_extension_paths = [os.path.join(_env_root, ext.default_path) for ext in _extensions]
|
_extension_paths = [os.path.join(_env_root, ext.default_path) for ext in _extensions]
|
||||||
_env_var_paths = os.getenv('WA_EXTENSION_PATHS', '')
|
_env_var_paths = os.getenv('WA_EXTENSION_PATHS', '')
|
||||||
@@ -189,7 +192,8 @@ for filename in ['config.py', 'config.yaml']:
|
|||||||
_env_configs.append(filepath)
|
_env_configs.append(filepath)
|
||||||
|
|
||||||
if not os.path.isdir(_env_root):
|
if not os.path.isdir(_env_root):
|
||||||
init_environment(_env_root, _dep_dir, _extension_paths)
|
cfg_path = init_environment(_env_root, _dep_dir, _extension_paths)
|
||||||
|
_env_configs.append(cfg_path)
|
||||||
elif not _env_configs:
|
elif not _env_configs:
|
||||||
filepath = os.path.join(_env_root, 'config.py')
|
filepath = os.path.join(_env_root, 'config.py')
|
||||||
with open(os.path.join(_this_dir, '..', 'config_example.py')) as f:
|
with open(os.path.join(_this_dir, '..', 'config_example.py')) as f:
|
||||||
|
@@ -381,7 +381,20 @@ class Device(Extension):
|
|||||||
"""
|
"""
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
def set_sysfile_value(self, filepath, value, verify=True):
|
def sleep(self, seconds):
|
||||||
|
"""Sleep for the specified time on the target device.
|
||||||
|
|
||||||
|
:param seconds: Time in seconds to sleep on the device
|
||||||
|
|
||||||
|
The sleep is executed on the device using self.execute(). We
|
||||||
|
set the timeout for this command to be 10 seconds longer than
|
||||||
|
the sleep itself to make sure the command has time to complete
|
||||||
|
before we timeout.
|
||||||
|
|
||||||
|
"""
|
||||||
|
self.execute("sleep {}".format(seconds), timeout=seconds + 10)
|
||||||
|
|
||||||
|
def set_sysfile_value(self, filepath, value, verify=True, binary=False):
|
||||||
"""
|
"""
|
||||||
Write the specified value to the specified file on the device
|
Write the specified value to the specified file on the device
|
||||||
and verify that the value has actually been written.
|
and verify that the value has actually been written.
|
||||||
@@ -390,13 +403,14 @@ class Device(Extension):
|
|||||||
:param value: The value to be written to the file. Must be
|
:param value: The value to be written to the file. Must be
|
||||||
an int or a string convertable to an int.
|
an int or a string convertable to an int.
|
||||||
:param verify: Specifies whether the value should be verified, once written.
|
:param verify: Specifies whether the value should be verified, once written.
|
||||||
|
:param binary: Specifies whether the value should be written as binary data.
|
||||||
|
|
||||||
Should raise DeviceError if could write value.
|
Should raise DeviceError if could write value.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
def get_sysfile_value(self, sysfile, kind=None):
|
def get_sysfile_value(self, sysfile, kind=None, binary=False):
|
||||||
"""
|
"""
|
||||||
Get the contents of the specified sysfile.
|
Get the contents of the specified sysfile.
|
||||||
|
|
||||||
@@ -406,6 +420,8 @@ class Device(Extension):
|
|||||||
be any Python callable that takes a single str argument.
|
be any Python callable that takes a single str argument.
|
||||||
If not specified or is None, the contents will be returned
|
If not specified or is None, the contents will be returned
|
||||||
as a string.
|
as a string.
|
||||||
|
:param binary: Whether the value should be encoded into base64 for reading
|
||||||
|
to deal with binary format.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
@@ -14,10 +14,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
from __future__ import absolute_import
|
||||||
import sys
|
import sys
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
import signal
|
||||||
import subprocess
|
import subprocess
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
@@ -41,6 +43,9 @@ def load_commands(subparsers):
|
|||||||
for command in ext_loader.list_commands():
|
for command in ext_loader.list_commands():
|
||||||
settings.commands[command.name] = ext_loader.get_command(command.name, subparsers=subparsers)
|
settings.commands[command.name] = ext_loader.get_command(command.name, subparsers=subparsers)
|
||||||
|
|
||||||
|
def convert_TERM_into_INT_handler(signal, frame):
|
||||||
|
logger.critical("TERM received, aborting")
|
||||||
|
raise KeyboardInterrupt()
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
try:
|
try:
|
||||||
@@ -62,6 +67,7 @@ def main():
|
|||||||
settings.update(args.config)
|
settings.update(args.config)
|
||||||
init_logging(settings.verbosity)
|
init_logging(settings.verbosity)
|
||||||
|
|
||||||
|
signal.signal(signal.SIGTERM, convert_TERM_into_INT_handler)
|
||||||
command = settings.commands[args.command]
|
command = settings.commands[args.command]
|
||||||
sys.exit(command.execute(args))
|
sys.exit(command.execute(args))
|
||||||
|
|
||||||
|
@@ -642,7 +642,7 @@ class Runner(object):
|
|||||||
job.iteration = self.context.current_iteration
|
job.iteration = self.context.current_iteration
|
||||||
if job.result.status in self.config.retry_on_status:
|
if job.result.status in self.config.retry_on_status:
|
||||||
if job.retry >= self.config.max_retries:
|
if job.retry >= self.config.max_retries:
|
||||||
self.logger.error('Exceeded maxium number of retries. Abandoning job.')
|
self.logger.error('Exceeded maximum number of retries. Abandoning job.')
|
||||||
else:
|
else:
|
||||||
self.logger.info('Job status was {}. Retrying...'.format(job.result.status))
|
self.logger.info('Job status was {}. Retrying...'.format(job.result.status))
|
||||||
retry_job = RunnerJob(job.spec, job.retry + 1)
|
retry_job = RunnerJob(job.spec, job.retry + 1)
|
||||||
|
@@ -38,8 +38,8 @@ class GetterPriority(object):
|
|||||||
"""
|
"""
|
||||||
cached = 20
|
cached = 20
|
||||||
preferred = 10
|
preferred = 10
|
||||||
remote = 5
|
|
||||||
environment = 0
|
environment = 0
|
||||||
|
remote = -4
|
||||||
external_package = -5
|
external_package = -5
|
||||||
package = -10
|
package = -10
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@ from collections import namedtuple
|
|||||||
|
|
||||||
VersionTuple = namedtuple('Version', ['major', 'minor', 'revision'])
|
VersionTuple = namedtuple('Version', ['major', 'minor', 'revision'])
|
||||||
|
|
||||||
version = VersionTuple(2, 6, 0)
|
version = VersionTuple(2, 7, 0)
|
||||||
|
|
||||||
|
|
||||||
def get_wa_version():
|
def get_wa_version():
|
||||||
|
14
wlauto/devices/android/meizumx6/__init__.py
Normal file
14
wlauto/devices/android/meizumx6/__init__.py
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
from wlauto import AndroidDevice
|
||||||
|
|
||||||
|
|
||||||
|
class MeizuMX6(AndroidDevice):
|
||||||
|
|
||||||
|
name = 'meizumx6'
|
||||||
|
|
||||||
|
@property
|
||||||
|
def is_rooted(self):
|
||||||
|
# "su" executable on a rooted Meizu MX6 is targeted
|
||||||
|
# specifically towards Android application and cannot
|
||||||
|
# be used to execute a command line shell. This makes it
|
||||||
|
# "broken" from WA prespective.
|
||||||
|
return False
|
19
wlauto/external/HelloJni/HelloJNI.iml
vendored
19
wlauto/external/HelloJni/HelloJNI.iml
vendored
@@ -1,19 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module external.linked.project.id="HelloJNI" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
|
|
||||||
<component name="FacetManager">
|
|
||||||
<facet type="java-gradle" name="Java-Gradle">
|
|
||||||
<configuration>
|
|
||||||
<option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" />
|
|
||||||
<option name="BUILDABLE" value="false" />
|
|
||||||
</configuration>
|
|
||||||
</facet>
|
|
||||||
</component>
|
|
||||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true">
|
|
||||||
<exclude-output />
|
|
||||||
<content url="file://$MODULE_DIR$">
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
|
|
||||||
</content>
|
|
||||||
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
53
wlauto/external/HelloJni/README.md
vendored
53
wlauto/external/HelloJni/README.md
vendored
@@ -1,53 +0,0 @@
|
|||||||
Hello JNI
|
|
||||||
=========
|
|
||||||
Hello JNI is an Android sample that uses JNI to call C code from a Android Java Activity.
|
|
||||||
|
|
||||||
This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with C++ support.
|
|
||||||
|
|
||||||
Pre-requisites
|
|
||||||
--------------
|
|
||||||
- Android Studio 2.2+ with [NDK](https://developer.android.com/ndk/) bundle.
|
|
||||||
|
|
||||||
Getting Started
|
|
||||||
---------------
|
|
||||||
1. [Download Android Studio](http://developer.android.com/sdk/index.html)
|
|
||||||
1. Launch Android Studio.
|
|
||||||
1. Open the sample directory.
|
|
||||||
1. Open *File/Project Structure...*
|
|
||||||
- Click *Download* or *Select NDK location*.
|
|
||||||
1. Click *Tools/Android/Sync Project with Gradle Files*.
|
|
||||||
1. Click *Run/Run 'app'*.
|
|
||||||
|
|
||||||
Screenshots
|
|
||||||
-----------
|
|
||||||

|
|
||||||
|
|
||||||
Support
|
|
||||||
-------
|
|
||||||
If you've found an error in these samples, please [file an issue](https://github.com/googlesamples/android-ndk/issues/new).
|
|
||||||
|
|
||||||
Patches are encouraged, and may be submitted by [forking this project](https://github.com/googlesamples/android-ndk/fork) and
|
|
||||||
submitting a pull request through GitHub. Please see [CONTRIBUTING.md](../CONTRIBUTING.md) for more details.
|
|
||||||
|
|
||||||
- [Stack Overflow](http://stackoverflow.com/questions/tagged/android-ndk)
|
|
||||||
- [Google+ Community](https://plus.google.com/communities/105153134372062985968)
|
|
||||||
- [Android Tools Feedbacks](http://tools.android.com/feedback)
|
|
||||||
|
|
||||||
License
|
|
||||||
-------
|
|
||||||
Copyright 2015 Google, Inc.
|
|
||||||
|
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
|
||||||
license agreements. See the NOTICE file distributed with this work for
|
|
||||||
additional information regarding copyright ownership. The ASF licenses this
|
|
||||||
file to you under the Apache License, Version 2.0 (the "License"); you may not
|
|
||||||
use this file except in compliance with the License. You may obtain a copy of
|
|
||||||
the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
||||||
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
||||||
License for the specific language governing permissions and limitations under
|
|
||||||
the License.
|
|
6
wlauto/external/HelloJni/app/.directory
vendored
6
wlauto/external/HelloJni/app/.directory
vendored
@@ -1,6 +0,0 @@
|
|||||||
[Dolphin]
|
|
||||||
Timestamp=2017,1,31,16,18,16
|
|
||||||
Version=3
|
|
||||||
|
|
||||||
[Settings]
|
|
||||||
HiddenFilesShown=true
|
|
Binary file not shown.
@@ -1,5 +0,0 @@
|
|||||||
# ninja log v5
|
|
||||||
0 24 0 CMakeFiles/hello-jni.dir/hello-jni.c.o ca1c114d175525bf
|
|
||||||
24 53 0 /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/debug/obj/armeabi-v7a/libhello-jni.so 4734b0c6af87f1ca
|
|
||||||
0 1180 0 CMakeFiles/hello-jni.dir/hello-jni.c.o ca1c114d175525bf
|
|
||||||
1180 1471 0 /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/debug/obj/armeabi-v7a/libhello-jni.so 4734b0c6af87f1ca
|
|
@@ -1,316 +0,0 @@
|
|||||||
# This is the CMakeCache file.
|
|
||||||
# For build in directory: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a
|
|
||||||
# It was generated by CMake: /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake
|
|
||||||
# You can edit this file to change values found and used by cmake.
|
|
||||||
# If you do not want to change any of the values, simply exit the editor.
|
|
||||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
|
||||||
# The syntax for the file is as follows:
|
|
||||||
# KEY:TYPE=VALUE
|
|
||||||
# KEY is the name of a variable in the cache.
|
|
||||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
|
||||||
# VALUE is the current value for the KEY.
|
|
||||||
|
|
||||||
########################
|
|
||||||
# EXTERNAL cache entries
|
|
||||||
########################
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
ANDROID_ABI:UNINITIALIZED=armeabi-v7a
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
ANDROID_NATIVE_API_LEVEL:UNINITIALIZED=19
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
ANDROID_NDK:UNINITIALIZED=/data/marc/Software/android-sdk-linux/ndk-bundle
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
ANDROID_TOOLCHAIN:UNINITIALIZED=clang
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_AR:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar
|
|
||||||
|
|
||||||
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
|
|
||||||
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
|
|
||||||
CMAKE_BUILD_TYPE:STRING=Debug
|
|
||||||
|
|
||||||
//Flags used by the compiler during all build types.
|
|
||||||
CMAKE_CXX_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during debug builds.
|
|
||||||
CMAKE_CXX_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds for minimum
|
|
||||||
// size.
|
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds.
|
|
||||||
CMAKE_CXX_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds with debug info.
|
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
||||||
|
|
||||||
//Libraries linked by default with all C++ applications.
|
|
||||||
CMAKE_CXX_STANDARD_LIBRARIES:STRING=-lm "/data/marc/Software/android-sdk-linux/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_static.a"
|
|
||||||
|
|
||||||
//Flags used by the compiler during all build types.
|
|
||||||
CMAKE_C_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during debug builds.
|
|
||||||
CMAKE_C_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds for minimum
|
|
||||||
// size.
|
|
||||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds.
|
|
||||||
CMAKE_C_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds with debug info.
|
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
||||||
|
|
||||||
//Libraries linked by default with all C applications.
|
|
||||||
CMAKE_C_STANDARD_LIBRARIES:STRING=-lm
|
|
||||||
|
|
||||||
//Flags used by the linker.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Enable/Disable output of compile commands during generation.
|
|
||||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
|
|
||||||
|
|
||||||
//Install path prefix, prepended onto install directories.
|
|
||||||
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
CMAKE_LIBRARY_OUTPUT_DIRECTORY:UNINITIALIZED=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/debug/obj/armeabi-v7a
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_LINKER:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_NM:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_OBJCOPY:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-objcopy
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_OBJDUMP:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-objdump
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_NAME:STATIC=Project
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_RANLIB:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of dll's.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//If set, runtime paths are not added when installing shared libraries,
|
|
||||||
// but are added when building.
|
|
||||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
|
||||||
|
|
||||||
//If set, runtime paths are not added when using shared libraries.
|
|
||||||
CMAKE_SKIP_RPATH:BOOL=NO
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_STRIP:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip
|
|
||||||
|
|
||||||
//The CMake toolchain file
|
|
||||||
CMAKE_TOOLCHAIN_FILE:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/build/cmake/android.toolchain.cmake
|
|
||||||
|
|
||||||
//If this value is on, makefiles will be generated without the
|
|
||||||
// .SILENT directive, and all commands will be echoed to the console
|
|
||||||
// during the make. This is useful for debugging only. With Visual
|
|
||||||
// Studio IDE projects all commands are done without /nologo.
|
|
||||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
Project_BINARY_DIR:STATIC=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
Project_SOURCE_DIR:STATIC=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
hello-jni_LIB_DEPENDS:STATIC=general;android;general;log;
|
|
||||||
|
|
||||||
|
|
||||||
########################
|
|
||||||
# INTERNAL cache entries
|
|
||||||
########################
|
|
||||||
|
|
||||||
//ADVANCED property for variable: CMAKE_AR
|
|
||||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
|
||||||
//This is the directory where this CMakeCache.txt was created
|
|
||||||
CMAKE_CACHEFILE_DIR:INTERNAL=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a
|
|
||||||
//Major version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
|
||||||
//Minor version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=6
|
|
||||||
//Patch version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
|
|
||||||
//Path to CMake executable.
|
|
||||||
CMAKE_COMMAND:INTERNAL=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake
|
|
||||||
//Path to cpack program executable.
|
|
||||||
CMAKE_CPACK_COMMAND:INTERNAL=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cpack
|
|
||||||
//Path to ctest program executable.
|
|
||||||
CMAKE_CTEST_COMMAND:INTERNAL=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ctest
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
|
||||||
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
|
||||||
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
|
||||||
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
|
|
||||||
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS
|
|
||||||
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
|
||||||
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
|
||||||
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
|
|
||||||
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
|
||||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
|
||||||
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
|
||||||
//Name of external makefile project generator.
|
|
||||||
CMAKE_EXTRA_GENERATOR:INTERNAL=Android Gradle
|
|
||||||
//Name of generator.
|
|
||||||
CMAKE_GENERATOR:INTERNAL=Ninja
|
|
||||||
//Name of generator platform.
|
|
||||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
|
||||||
//Name of generator toolset.
|
|
||||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
|
||||||
//Source directory with the top level CMakeLists.txt file for this
|
|
||||||
// project
|
|
||||||
CMAKE_HOME_DIRECTORY:INTERNAL=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp
|
|
||||||
//Install .so files without execute permission.
|
|
||||||
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_LINKER
|
|
||||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_NM
|
|
||||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
|
||||||
//number of local generators
|
|
||||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
|
||||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
|
||||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_RANLIB
|
|
||||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
|
||||||
//Path to CMake installation.
|
|
||||||
CMAKE_ROOT:INTERNAL=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
|
||||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
|
||||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STRIP
|
|
||||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
|
||||||
//uname command
|
|
||||||
CMAKE_UNAME:INTERNAL=/bin/uname
|
|
||||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
|
||||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
|
||||||
|
|
@@ -1,67 +0,0 @@
|
|||||||
set(CMAKE_C_COMPILER "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang")
|
|
||||||
set(CMAKE_C_COMPILER_ARG1 "")
|
|
||||||
set(CMAKE_C_COMPILER_ID "Clang")
|
|
||||||
set(CMAKE_C_COMPILER_VERSION "")
|
|
||||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
|
||||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "")
|
|
||||||
set(CMAKE_C_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_C90_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_C99_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_C11_COMPILE_FEATURES "")
|
|
||||||
|
|
||||||
set(CMAKE_C_PLATFORM_ID "")
|
|
||||||
set(CMAKE_C_SIMULATE_ID "")
|
|
||||||
set(CMAKE_C_SIMULATE_VERSION "")
|
|
||||||
|
|
||||||
set(CMAKE_AR "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar")
|
|
||||||
set(CMAKE_RANLIB "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib")
|
|
||||||
set(CMAKE_LINKER "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld")
|
|
||||||
set(CMAKE_COMPILER_IS_GNUCC )
|
|
||||||
set(CMAKE_C_COMPILER_LOADED 1)
|
|
||||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
|
||||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
|
||||||
set(CMAKE_COMPILER_IS_MINGW )
|
|
||||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
|
||||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
|
||||||
set(CYGWIN 1)
|
|
||||||
set(UNIX 1)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_MINGW)
|
|
||||||
set(MINGW 1)
|
|
||||||
endif()
|
|
||||||
set(CMAKE_C_COMPILER_ID_RUN 1)
|
|
||||||
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
|
||||||
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
|
||||||
set(CMAKE_C_LINKER_PREFERENCE 10)
|
|
||||||
|
|
||||||
# Save compiler ABI information.
|
|
||||||
set(CMAKE_C_SIZEOF_DATA_PTR "4")
|
|
||||||
set(CMAKE_C_COMPILER_ABI "ELF")
|
|
||||||
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
|
|
||||||
|
|
||||||
if(CMAKE_C_SIZEOF_DATA_PTR)
|
|
||||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_C_COMPILER_ABI)
|
|
||||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
|
||||||
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
|
||||||
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
|
||||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "dl;c;dl")
|
|
||||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x;/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib;/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib")
|
|
||||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
|
@@ -1,68 +0,0 @@
|
|||||||
set(CMAKE_CXX_COMPILER "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++")
|
|
||||||
set(CMAKE_CXX_COMPILER_ARG1 "")
|
|
||||||
set(CMAKE_CXX_COMPILER_ID "Clang")
|
|
||||||
set(CMAKE_CXX_COMPILER_VERSION "")
|
|
||||||
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
|
||||||
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "")
|
|
||||||
set(CMAKE_CXX_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_CXX98_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_CXX11_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_CXX14_COMPILE_FEATURES "")
|
|
||||||
|
|
||||||
set(CMAKE_CXX_PLATFORM_ID "")
|
|
||||||
set(CMAKE_CXX_SIMULATE_ID "")
|
|
||||||
set(CMAKE_CXX_SIMULATE_VERSION "")
|
|
||||||
|
|
||||||
set(CMAKE_AR "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar")
|
|
||||||
set(CMAKE_RANLIB "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib")
|
|
||||||
set(CMAKE_LINKER "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld")
|
|
||||||
set(CMAKE_COMPILER_IS_GNUCXX )
|
|
||||||
set(CMAKE_CXX_COMPILER_LOADED 1)
|
|
||||||
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
|
||||||
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
|
||||||
set(CMAKE_COMPILER_IS_MINGW )
|
|
||||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
|
||||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
|
||||||
set(CYGWIN 1)
|
|
||||||
set(UNIX 1)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_MINGW)
|
|
||||||
set(MINGW 1)
|
|
||||||
endif()
|
|
||||||
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
|
||||||
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
|
||||||
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
|
|
||||||
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
|
||||||
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
|
||||||
|
|
||||||
# Save compiler ABI information.
|
|
||||||
set(CMAKE_CXX_SIZEOF_DATA_PTR "4")
|
|
||||||
set(CMAKE_CXX_COMPILER_ABI "ELF")
|
|
||||||
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
|
|
||||||
|
|
||||||
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
|
||||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_CXX_COMPILER_ABI)
|
|
||||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
|
||||||
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
|
||||||
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
|
||||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;dl;c;dl")
|
|
||||||
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x;/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib;/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib")
|
|
||||||
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
|
Binary file not shown.
Binary file not shown.
@@ -1,15 +0,0 @@
|
|||||||
set(CMAKE_HOST_SYSTEM "Linux-3.13.0-95-generic")
|
|
||||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
|
||||||
set(CMAKE_HOST_SYSTEM_VERSION "3.13.0-95-generic")
|
|
||||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
|
||||||
|
|
||||||
include("/data/marc/Software/android-sdk-linux/ndk-bundle/build/cmake/android.toolchain.cmake")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM "Android-19")
|
|
||||||
set(CMAKE_SYSTEM_NAME "Android")
|
|
||||||
set(CMAKE_SYSTEM_VERSION "19")
|
|
||||||
set(CMAKE_SYSTEM_PROCESSOR "armv7-a")
|
|
||||||
|
|
||||||
set(CMAKE_CROSSCOMPILING "TRUE")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM_LOADED 1)
|
|
@@ -1,210 +0,0 @@
|
|||||||
The target system is: Android - 19 - armv7-a
|
|
||||||
The host system is: Linux - 3.13.0-95-generic - x86_64
|
|
||||||
Determining if the C compiler works passed with the following output:
|
|
||||||
Change Dir: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a/CMakeFiles/CMakeTmp
|
|
||||||
|
|
||||||
Run Build Command:"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja" "cmTC_6936d"
|
|
||||||
[1/2] Building C object CMakeFiles/cmTC_6936d.dir/testCCompiler.c.o
|
|
||||||
[2/2] Linking C executable cmTC_6936d
|
|
||||||
|
|
||||||
|
|
||||||
Detecting C compiler ABI info compiled with the following output:
|
|
||||||
Change Dir: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a/CMakeFiles/CMakeTmp
|
|
||||||
|
|
||||||
Run Build Command:"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja" "cmTC_290ed"
|
|
||||||
[1/2] Building C object CMakeFiles/cmTC_290ed.dir/CMakeCCompilerABI.c.o
|
|
||||||
[2/2] Linking C executable cmTC_290ed
|
|
||||||
Android clang version 3.8.256229 (based on LLVM 3.8.256229)
|
|
||||||
Target: armv7-none-linux-android
|
|
||||||
Thread model: posix
|
|
||||||
InstalledDir: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin
|
|
||||||
Found candidate GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x
|
|
||||||
Selected GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x
|
|
||||||
Candidate multilib: .;@m32
|
|
||||||
Selected multilib: .;@m32
|
|
||||||
"/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld" --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm -pie -z relro -X --build-id --eh-frame-hdr -m armelf_linux_eabi -dynamic-linker /system/bin/linker -o cmTC_290ed /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtbegin_dynamic.o -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc CMakeFiles/cmTC_290ed.dir/CMakeCCompilerABI.c.o -lgcc -ldl -lc -lgcc -ldl /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtend_android.o
|
|
||||||
|
|
||||||
|
|
||||||
Parsed C implicit link information from above output:
|
|
||||||
link line regex: [^( *|.*[/\])(arm-linux-androideabi-ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
|
||||||
ignore line: [Change Dir: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a/CMakeFiles/CMakeTmp]
|
|
||||||
ignore line: []
|
|
||||||
ignore line: [Run Build Command:"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja" "cmTC_290ed"]
|
|
||||||
ignore line: [[1/2] Building C object CMakeFiles/cmTC_290ed.dir/CMakeCCompilerABI.c.o]
|
|
||||||
ignore line: [[2/2] Linking C executable cmTC_290ed]
|
|
||||||
ignore line: [Android clang version 3.8.256229 (based on LLVM 3.8.256229)]
|
|
||||||
ignore line: [Target: armv7-none-linux-android]
|
|
||||||
ignore line: [Thread model: posix]
|
|
||||||
ignore line: [InstalledDir: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin]
|
|
||||||
ignore line: [Found candidate GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
ignore line: [Selected GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
ignore line: [Candidate multilib: .]
|
|
||||||
ignore line: [@m32]
|
|
||||||
ignore line: [Selected multilib: .]
|
|
||||||
ignore line: [@m32]
|
|
||||||
link line: [ "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld" --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm -pie -z relro -X --build-id --eh-frame-hdr -m armelf_linux_eabi -dynamic-linker /system/bin/linker -o cmTC_290ed /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtbegin_dynamic.o -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc CMakeFiles/cmTC_290ed.dir/CMakeCCompilerABI.c.o -lgcc -ldl -lc -lgcc -ldl /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtend_android.o]
|
|
||||||
arg [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld] ==> ignore
|
|
||||||
arg [--sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm] ==> ignore
|
|
||||||
arg [-pie] ==> ignore
|
|
||||||
arg [-zrelro] ==> ignore
|
|
||||||
arg [-X] ==> ignore
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--eh-frame-hdr] ==> ignore
|
|
||||||
arg [-m] ==> ignore
|
|
||||||
arg [armelf_linux_eabi] ==> ignore
|
|
||||||
arg [-dynamic-linker] ==> ignore
|
|
||||||
arg [/system/bin/linker] ==> ignore
|
|
||||||
arg [-o] ==> ignore
|
|
||||||
arg [cmTC_290ed] ==> ignore
|
|
||||||
arg [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtbegin_dynamic.o] ==> ignore
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--warn-shared-textrel] ==> ignore
|
|
||||||
arg [--fatal-warnings] ==> ignore
|
|
||||||
arg [--fix-cortex-a8] ==> ignore
|
|
||||||
arg [--no-undefined] ==> ignore
|
|
||||||
arg [-znoexecstack] ==> ignore
|
|
||||||
arg [-zrelro] ==> ignore
|
|
||||||
arg [-znow] ==> ignore
|
|
||||||
arg [--gc-sections] ==> ignore
|
|
||||||
arg [-znocopyreloc] ==> ignore
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--warn-shared-textrel] ==> ignore
|
|
||||||
arg [--fatal-warnings] ==> ignore
|
|
||||||
arg [--fix-cortex-a8] ==> ignore
|
|
||||||
arg [--no-undefined] ==> ignore
|
|
||||||
arg [-znoexecstack] ==> ignore
|
|
||||||
arg [-zrelro] ==> ignore
|
|
||||||
arg [-znow] ==> ignore
|
|
||||||
arg [--gc-sections] ==> ignore
|
|
||||||
arg [-znocopyreloc] ==> ignore
|
|
||||||
arg [CMakeFiles/cmTC_290ed.dir/CMakeCCompilerABI.c.o] ==> ignore
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-ldl] ==> lib [dl]
|
|
||||||
arg [-lc] ==> lib [c]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-ldl] ==> lib [dl]
|
|
||||||
arg [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtend_android.o] ==> ignore
|
|
||||||
remove lib [gcc]
|
|
||||||
remove lib [gcc]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
implicit libs: [dl;c;dl]
|
|
||||||
implicit dirs: [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x;/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib;/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
implicit fwks: []
|
|
||||||
|
|
||||||
|
|
||||||
Determining if the CXX compiler works passed with the following output:
|
|
||||||
Change Dir: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a/CMakeFiles/CMakeTmp
|
|
||||||
|
|
||||||
Run Build Command:"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja" "cmTC_13a8e"
|
|
||||||
[1/2] Building CXX object CMakeFiles/cmTC_13a8e.dir/testCXXCompiler.cxx.o
|
|
||||||
[2/2] Linking CXX executable cmTC_13a8e
|
|
||||||
|
|
||||||
|
|
||||||
Detecting CXX compiler ABI info compiled with the following output:
|
|
||||||
Change Dir: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a/CMakeFiles/CMakeTmp
|
|
||||||
|
|
||||||
Run Build Command:"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja" "cmTC_807a8"
|
|
||||||
[1/2] Building CXX object CMakeFiles/cmTC_807a8.dir/CMakeCXXCompilerABI.cpp.o
|
|
||||||
[2/2] Linking CXX executable cmTC_807a8
|
|
||||||
Android clang version 3.8.256229 (based on LLVM 3.8.256229)
|
|
||||||
Target: armv7-none-linux-android
|
|
||||||
Thread model: posix
|
|
||||||
InstalledDir: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin
|
|
||||||
Found candidate GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x
|
|
||||||
Selected GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x
|
|
||||||
Candidate multilib: .;@m32
|
|
||||||
Selected multilib: .;@m32
|
|
||||||
"/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld" --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm -pie -z relro -X --build-id --eh-frame-hdr -m armelf_linux_eabi -dynamic-linker /system/bin/linker -o cmTC_807a8 /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtbegin_dynamic.o -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc CMakeFiles/cmTC_807a8.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc -lgcc -ldl -lc -lgcc -lgcc -ldl /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtend_android.o
|
|
||||||
|
|
||||||
|
|
||||||
Parsed CXX implicit link information from above output:
|
|
||||||
link line regex: [^( *|.*[/\])(arm-linux-androideabi-ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
|
||||||
ignore line: [Change Dir: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a/CMakeFiles/CMakeTmp]
|
|
||||||
ignore line: []
|
|
||||||
ignore line: [Run Build Command:"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja" "cmTC_807a8"]
|
|
||||||
ignore line: [[1/2] Building CXX object CMakeFiles/cmTC_807a8.dir/CMakeCXXCompilerABI.cpp.o]
|
|
||||||
ignore line: [[2/2] Linking CXX executable cmTC_807a8]
|
|
||||||
ignore line: [Android clang version 3.8.256229 (based on LLVM 3.8.256229)]
|
|
||||||
ignore line: [Target: armv7-none-linux-android]
|
|
||||||
ignore line: [Thread model: posix]
|
|
||||||
ignore line: [InstalledDir: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin]
|
|
||||||
ignore line: [Found candidate GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
ignore line: [Selected GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
ignore line: [Candidate multilib: .]
|
|
||||||
ignore line: [@m32]
|
|
||||||
ignore line: [Selected multilib: .]
|
|
||||||
ignore line: [@m32]
|
|
||||||
link line: [ "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld" --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm -pie -z relro -X --build-id --eh-frame-hdr -m armelf_linux_eabi -dynamic-linker /system/bin/linker -o cmTC_807a8 /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtbegin_dynamic.o -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc CMakeFiles/cmTC_807a8.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc -lgcc -ldl -lc -lgcc -lgcc -ldl /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtend_android.o]
|
|
||||||
arg [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld] ==> ignore
|
|
||||||
arg [--sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm] ==> ignore
|
|
||||||
arg [-pie] ==> ignore
|
|
||||||
arg [-zrelro] ==> ignore
|
|
||||||
arg [-X] ==> ignore
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--eh-frame-hdr] ==> ignore
|
|
||||||
arg [-m] ==> ignore
|
|
||||||
arg [armelf_linux_eabi] ==> ignore
|
|
||||||
arg [-dynamic-linker] ==> ignore
|
|
||||||
arg [/system/bin/linker] ==> ignore
|
|
||||||
arg [-o] ==> ignore
|
|
||||||
arg [cmTC_807a8] ==> ignore
|
|
||||||
arg [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtbegin_dynamic.o] ==> ignore
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--warn-shared-textrel] ==> ignore
|
|
||||||
arg [--fatal-warnings] ==> ignore
|
|
||||||
arg [--fix-cortex-a8] ==> ignore
|
|
||||||
arg [--no-undefined] ==> ignore
|
|
||||||
arg [-znoexecstack] ==> ignore
|
|
||||||
arg [-zrelro] ==> ignore
|
|
||||||
arg [-znow] ==> ignore
|
|
||||||
arg [--gc-sections] ==> ignore
|
|
||||||
arg [-znocopyreloc] ==> ignore
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--warn-shared-textrel] ==> ignore
|
|
||||||
arg [--fatal-warnings] ==> ignore
|
|
||||||
arg [--fix-cortex-a8] ==> ignore
|
|
||||||
arg [--no-undefined] ==> ignore
|
|
||||||
arg [-znoexecstack] ==> ignore
|
|
||||||
arg [-zrelro] ==> ignore
|
|
||||||
arg [-znow] ==> ignore
|
|
||||||
arg [--gc-sections] ==> ignore
|
|
||||||
arg [-znocopyreloc] ==> ignore
|
|
||||||
arg [CMakeFiles/cmTC_807a8.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
|
||||||
arg [-lstdc++] ==> lib [stdc++]
|
|
||||||
arg [-lm] ==> lib [m]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-ldl] ==> lib [dl]
|
|
||||||
arg [-lc] ==> lib [c]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-ldl] ==> lib [dl]
|
|
||||||
arg [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtend_android.o] ==> ignore
|
|
||||||
remove lib [gcc]
|
|
||||||
remove lib [gcc]
|
|
||||||
remove lib [gcc]
|
|
||||||
remove lib [gcc]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
implicit libs: [stdc++;m;dl;c;dl]
|
|
||||||
implicit dirs: [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x;/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib;/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
implicit fwks: []
|
|
||||||
|
|
||||||
|
|
@@ -1,3 +0,0 @@
|
|||||||
/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a/CMakeFiles/edit_cache.dir
|
|
||||||
/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a/CMakeFiles/rebuild_cache.dir
|
|
||||||
/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a/CMakeFiles/hello-jni.dir
|
|
@@ -1 +0,0 @@
|
|||||||
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
|
@@ -1,41 +0,0 @@
|
|||||||
|
|
||||||
{
|
|
||||||
"buildFiles" :
|
|
||||||
[
|
|
||||||
"/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp/CMakeLists.txt"
|
|
||||||
],
|
|
||||||
"cFileExtensions" : [ "c" ],
|
|
||||||
"cleanCommands" :
|
|
||||||
[
|
|
||||||
"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake --build /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a --target clean"
|
|
||||||
],
|
|
||||||
"libraries" :
|
|
||||||
{
|
|
||||||
"hello-jni-Debug-armeabi-v7a" :
|
|
||||||
{
|
|
||||||
"abi" : "armeabi-v7a",
|
|
||||||
"artifactName" : "hello-jni",
|
|
||||||
"buildCommand" : "/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake --build /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a --target hello-jni",
|
|
||||||
"buildType" : "debug",
|
|
||||||
"files" :
|
|
||||||
[
|
|
||||||
|
|
||||||
{
|
|
||||||
"flags" : " -target armv7-none-linux-androideabi -gcc-toolchain /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm -Dhello_jni_EXPORTS -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -O0 -fno-limit-debug-info -O0 -fno-limit-debug-info -fPIC -c ",
|
|
||||||
"src" : "/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp/hello-jni.c",
|
|
||||||
"workingDirectory" : "/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"output" : "/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/debug/obj/armeabi-v7a/libhello-jni.so",
|
|
||||||
"toolchain" : "523690286300862196"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"toolchains" :
|
|
||||||
{
|
|
||||||
"523690286300862196" :
|
|
||||||
{
|
|
||||||
"cCompilerExecutable" : "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang",
|
|
||||||
"cppCompilerExecutable" : "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,122 +0,0 @@
|
|||||||
# CMAKE generated file: DO NOT EDIT!
|
|
||||||
# Generated by "Ninja" Generator, CMake Version 3.6
|
|
||||||
|
|
||||||
# This file contains all the build statements describing the
|
|
||||||
# compilation DAG.
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Write statements declared in CMakeLists.txt:
|
|
||||||
#
|
|
||||||
# Which is the root file.
|
|
||||||
# =============================================================================
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Project: Project
|
|
||||||
# Configuration: Debug
|
|
||||||
# =============================================================================
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Minimal version of Ninja required by this file
|
|
||||||
|
|
||||||
ninja_required_version = 1.5
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Include auxiliary files.
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Include rules file.
|
|
||||||
|
|
||||||
include rules.ninja
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Utility command for edit_cache
|
|
||||||
|
|
||||||
build CMakeFiles/edit_cache.util: CUSTOM_COMMAND
|
|
||||||
COMMAND = cd /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a && /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
|
||||||
DESC = No interactive CMake dialog available...
|
|
||||||
restat = 1
|
|
||||||
build edit_cache: phony CMakeFiles/edit_cache.util
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Utility command for rebuild_cache
|
|
||||||
|
|
||||||
build CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
|
|
||||||
COMMAND = cd /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a && /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake -H/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp -B/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a
|
|
||||||
DESC = Running CMake to regenerate build system...
|
|
||||||
pool = console
|
|
||||||
restat = 1
|
|
||||||
build rebuild_cache: phony CMakeFiles/rebuild_cache.util
|
|
||||||
# =============================================================================
|
|
||||||
# Object build statements for SHARED_LIBRARY target hello-jni
|
|
||||||
|
|
||||||
build CMakeFiles/hello-jni.dir/hello-jni.c.o: C_COMPILER__hello-jni /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp/hello-jni.c
|
|
||||||
DEFINES = -Dhello_jni_EXPORTS
|
|
||||||
DEP_FILE = CMakeFiles/hello-jni.dir/hello-jni.c.o.d
|
|
||||||
FLAGS = -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -O0 -fno-limit-debug-info -O0 -fno-limit-debug-info -fPIC
|
|
||||||
IN_ABS = /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp/hello-jni.c
|
|
||||||
OBJECT_DIR = CMakeFiles/hello-jni.dir
|
|
||||||
OBJECT_FILE_DIR = CMakeFiles/hello-jni.dir
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Link build statements for SHARED_LIBRARY target hello-jni
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Link the shared library /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/debug/obj/armeabi-v7a/libhello-jni.so
|
|
||||||
|
|
||||||
build /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/debug/obj/armeabi-v7a/libhello-jni.so: C_SHARED_LIBRARY_LINKER__hello-jni CMakeFiles/hello-jni.dir/hello-jni.c.o
|
|
||||||
LANGUAGE_COMPILE_FLAGS = -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -O0 -fno-limit-debug-info -O0 -fno-limit-debug-info
|
|
||||||
LINK_FLAGS = -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now
|
|
||||||
LINK_LIBRARIES = -landroid -llog -lm
|
|
||||||
OBJECT_DIR = CMakeFiles/hello-jni.dir
|
|
||||||
POST_BUILD = :
|
|
||||||
PRE_LINK = :
|
|
||||||
SONAME = libhello-jni.so
|
|
||||||
SONAME_FLAG = -Wl,-soname,
|
|
||||||
TARGET_FILE = /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/debug/obj/armeabi-v7a/libhello-jni.so
|
|
||||||
TARGET_PDB = hello-jni.so.dbg
|
|
||||||
# =============================================================================
|
|
||||||
# Target aliases.
|
|
||||||
|
|
||||||
build hello-jni: phony /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/debug/obj/armeabi-v7a/libhello-jni.so
|
|
||||||
build libhello-jni.so: phony /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/debug/obj/armeabi-v7a/libhello-jni.so
|
|
||||||
# =============================================================================
|
|
||||||
# Folder targets.
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# =============================================================================
|
|
||||||
# Built-in targets
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# The main all target.
|
|
||||||
|
|
||||||
build all: phony /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/debug/obj/armeabi-v7a/libhello-jni.so
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Make the all target the default.
|
|
||||||
|
|
||||||
default all
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Re-run CMake if any of its inputs changed.
|
|
||||||
|
|
||||||
build build.ninja: RERUN_CMAKE | /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCCompiler.cmake.in /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCCompilerABI.c /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCXXCompiler.cmake.in /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCXXCompilerABI.cpp /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCXXInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCommonLanguageInclude.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCXXCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCompileFeatures.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCompilerABI.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineSystem.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeFindBinUtils.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeGenericSystem.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeLanguageInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeParseImplicitLinkInfo.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeSystem.cmake.in /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeSystemSpecificInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeSystemSpecificInitialize.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeTestCCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeTestCXXCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeTestCompilerCommon.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/Clang-C.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/Clang-CXX.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/Clang.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/GNU.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Internal/FeatureTesting.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Platform/Android.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Platform/Linux.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Platform/UnixPaths.cmake /data/marc/Software/android-sdk-linux/ndk-bundle/build/cmake/android.toolchain.cmake /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp/CMakeLists.txt CMakeCache.txt CMakeFiles/3.6.0-rc2/CMakeCCompiler.cmake CMakeFiles/3.6.0-rc2/CMakeCXXCompiler.cmake CMakeFiles/3.6.0-rc2/CMakeSystem.cmake
|
|
||||||
pool = console
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# A missing CMake input file is not an error.
|
|
||||||
|
|
||||||
build /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCCompiler.cmake.in /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCCompilerABI.c /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCXXCompiler.cmake.in /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCXXCompilerABI.cpp /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCXXInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCommonLanguageInclude.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCXXCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCompileFeatures.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCompilerABI.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineSystem.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeFindBinUtils.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeGenericSystem.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeLanguageInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeParseImplicitLinkInfo.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeSystem.cmake.in /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeSystemSpecificInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeSystemSpecificInitialize.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeTestCCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeTestCXXCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeTestCompilerCommon.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/Clang-C.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/Clang-CXX.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/Clang.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/GNU.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Internal/FeatureTesting.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Platform/Android.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Platform/Linux.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Platform/UnixPaths.cmake /data/marc/Software/android-sdk-linux/ndk-bundle/build/cmake/android.toolchain.cmake /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp/CMakeLists.txt CMakeCache.txt CMakeFiles/3.6.0-rc2/CMakeCCompiler.cmake CMakeFiles/3.6.0-rc2/CMakeCXXCompiler.cmake CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: phony
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Clean all the built files.
|
|
||||||
|
|
||||||
build clean: CLEAN
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Print all primary targets available.
|
|
||||||
|
|
||||||
build help: HELP
|
|
@@ -1,15 +0,0 @@
|
|||||||
Executable : /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake
|
|
||||||
arguments :
|
|
||||||
-H/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp
|
|
||||||
-B/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a
|
|
||||||
-GAndroid Gradle - Ninja
|
|
||||||
-DANDROID_ABI=armeabi-v7a
|
|
||||||
-DANDROID_NDK=/data/marc/Software/android-sdk-linux/ndk-bundle
|
|
||||||
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/debug/obj/armeabi-v7a
|
|
||||||
-DCMAKE_BUILD_TYPE=Debug
|
|
||||||
-DCMAKE_MAKE_PROGRAM=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=/data/marc/Software/android-sdk-linux/ndk-bundle/build/cmake/android.toolchain.cmake
|
|
||||||
-DANDROID_NATIVE_API_LEVEL=19
|
|
||||||
-DANDROID_TOOLCHAIN=clang
|
|
||||||
jvmArgs :
|
|
||||||
|
|
@@ -1,15 +0,0 @@
|
|||||||
-- Check for working C compiler: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
|
|
||||||
-- Check for working C compiler: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works
|
|
||||||
-- Detecting C compiler ABI info
|
|
||||||
-- Detecting C compiler ABI info - done
|
|
||||||
-- Detecting C compile features
|
|
||||||
-- Detecting C compile features - done
|
|
||||||
-- Check for working CXX compiler: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
|
|
||||||
-- Check for working CXX compiler: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works
|
|
||||||
-- Detecting CXX compiler ABI info
|
|
||||||
-- Detecting CXX compiler ABI info - done
|
|
||||||
-- Detecting CXX compile features
|
|
||||||
-- Detecting CXX compile features - done
|
|
||||||
-- Configuring done
|
|
||||||
-- Generating done
|
|
||||||
-- Build files have been written to: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a
|
|
@@ -1,44 +0,0 @@
|
|||||||
# Install script for directory: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp
|
|
||||||
|
|
||||||
# Set the install prefix
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
|
||||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
|
||||||
endif()
|
|
||||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
|
||||||
|
|
||||||
# Set the install configuration name.
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
|
||||||
if(BUILD_TYPE)
|
|
||||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
|
||||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_CONFIG_NAME "Debug")
|
|
||||||
endif()
|
|
||||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Set the component getting installed.
|
|
||||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
|
||||||
if(COMPONENT)
|
|
||||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
|
||||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_COMPONENT)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Install shared libraries without execute permission?
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
|
||||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_INSTALL_COMPONENT)
|
|
||||||
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
||||||
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
||||||
file(WRITE "/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a/${CMAKE_INSTALL_MANIFEST}"
|
|
||||||
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
@@ -1,64 +0,0 @@
|
|||||||
# CMAKE generated file: DO NOT EDIT!
|
|
||||||
# Generated by "Ninja" Generator, CMake Version 3.6
|
|
||||||
|
|
||||||
# This file contains all the rules used to get the outputs files
|
|
||||||
# built from the input files.
|
|
||||||
# It is included in the main 'build.ninja'.
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Project: Project
|
|
||||||
# Configuration: Debug
|
|
||||||
# =============================================================================
|
|
||||||
# =============================================================================
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for running custom commands.
|
|
||||||
|
|
||||||
rule CUSTOM_COMMAND
|
|
||||||
command = $COMMAND
|
|
||||||
description = $DESC
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for compiling C files.
|
|
||||||
|
|
||||||
rule C_COMPILER__hello-jni
|
|
||||||
depfile = $DEP_FILE
|
|
||||||
deps = gcc
|
|
||||||
command = /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7-none-linux-androideabi -gcc-toolchain /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS
|
|
||||||
description = Building C object $out
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for linking C shared library.
|
|
||||||
|
|
||||||
rule C_SHARED_LIBRARY_LINKER__hello-jni
|
|
||||||
command = $PRE_LINK && /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7-none-linux-androideabi -gcc-toolchain /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
|
||||||
description = Linking C shared library $TARGET_FILE
|
|
||||||
restat = $RESTAT
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for re-running cmake.
|
|
||||||
|
|
||||||
rule RERUN_CMAKE
|
|
||||||
command = /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake -H/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp -B/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Debug/armeabi-v7a
|
|
||||||
description = Re-running CMake...
|
|
||||||
generator = 1
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for cleaning all built files.
|
|
||||||
|
|
||||||
rule CLEAN
|
|
||||||
command = /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja -t clean
|
|
||||||
description = Cleaning all built files...
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for printing all primary targets available.
|
|
||||||
|
|
||||||
rule HELP
|
|
||||||
command = /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja -t targets
|
|
||||||
description = All primary targets available:
|
|
||||||
|
|
@@ -1,316 +0,0 @@
|
|||||||
# This is the CMakeCache file.
|
|
||||||
# For build in directory: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a
|
|
||||||
# It was generated by CMake: /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake
|
|
||||||
# You can edit this file to change values found and used by cmake.
|
|
||||||
# If you do not want to change any of the values, simply exit the editor.
|
|
||||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
|
||||||
# The syntax for the file is as follows:
|
|
||||||
# KEY:TYPE=VALUE
|
|
||||||
# KEY is the name of a variable in the cache.
|
|
||||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
|
||||||
# VALUE is the current value for the KEY.
|
|
||||||
|
|
||||||
########################
|
|
||||||
# EXTERNAL cache entries
|
|
||||||
########################
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
ANDROID_ABI:UNINITIALIZED=armeabi-v7a
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
ANDROID_NATIVE_API_LEVEL:UNINITIALIZED=19
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
ANDROID_NDK:UNINITIALIZED=/data/marc/Software/android-sdk-linux/ndk-bundle
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
ANDROID_TOOLCHAIN:UNINITIALIZED=clang
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_AR:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar
|
|
||||||
|
|
||||||
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
|
|
||||||
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
|
|
||||||
CMAKE_BUILD_TYPE:STRING=Release
|
|
||||||
|
|
||||||
//Flags used by the compiler during all build types.
|
|
||||||
CMAKE_CXX_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during debug builds.
|
|
||||||
CMAKE_CXX_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds for minimum
|
|
||||||
// size.
|
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds.
|
|
||||||
CMAKE_CXX_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds with debug info.
|
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
||||||
|
|
||||||
//Libraries linked by default with all C++ applications.
|
|
||||||
CMAKE_CXX_STANDARD_LIBRARIES:STRING=-lm "/data/marc/Software/android-sdk-linux/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_static.a"
|
|
||||||
|
|
||||||
//Flags used by the compiler during all build types.
|
|
||||||
CMAKE_C_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during debug builds.
|
|
||||||
CMAKE_C_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds for minimum
|
|
||||||
// size.
|
|
||||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds.
|
|
||||||
CMAKE_C_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds with debug info.
|
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
||||||
|
|
||||||
//Libraries linked by default with all C applications.
|
|
||||||
CMAKE_C_STANDARD_LIBRARIES:STRING=-lm
|
|
||||||
|
|
||||||
//Flags used by the linker.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Enable/Disable output of compile commands during generation.
|
|
||||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
|
|
||||||
|
|
||||||
//Install path prefix, prepended onto install directories.
|
|
||||||
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
CMAKE_LIBRARY_OUTPUT_DIRECTORY:UNINITIALIZED=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/release/obj/armeabi-v7a
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_LINKER:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_NM:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_OBJCOPY:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-objcopy
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_OBJDUMP:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-objdump
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_NAME:STATIC=Project
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_RANLIB:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of dll's.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//If set, runtime paths are not added when installing shared libraries,
|
|
||||||
// but are added when building.
|
|
||||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
|
||||||
|
|
||||||
//If set, runtime paths are not added when using shared libraries.
|
|
||||||
CMAKE_SKIP_RPATH:BOOL=NO
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_STRIP:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip
|
|
||||||
|
|
||||||
//The CMake toolchain file
|
|
||||||
CMAKE_TOOLCHAIN_FILE:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/build/cmake/android.toolchain.cmake
|
|
||||||
|
|
||||||
//If this value is on, makefiles will be generated without the
|
|
||||||
// .SILENT directive, and all commands will be echoed to the console
|
|
||||||
// during the make. This is useful for debugging only. With Visual
|
|
||||||
// Studio IDE projects all commands are done without /nologo.
|
|
||||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
Project_BINARY_DIR:STATIC=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
Project_SOURCE_DIR:STATIC=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
hello-jni_LIB_DEPENDS:STATIC=general;android;general;log;
|
|
||||||
|
|
||||||
|
|
||||||
########################
|
|
||||||
# INTERNAL cache entries
|
|
||||||
########################
|
|
||||||
|
|
||||||
//ADVANCED property for variable: CMAKE_AR
|
|
||||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
|
||||||
//This is the directory where this CMakeCache.txt was created
|
|
||||||
CMAKE_CACHEFILE_DIR:INTERNAL=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a
|
|
||||||
//Major version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
|
||||||
//Minor version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=6
|
|
||||||
//Patch version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
|
|
||||||
//Path to CMake executable.
|
|
||||||
CMAKE_COMMAND:INTERNAL=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake
|
|
||||||
//Path to cpack program executable.
|
|
||||||
CMAKE_CPACK_COMMAND:INTERNAL=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cpack
|
|
||||||
//Path to ctest program executable.
|
|
||||||
CMAKE_CTEST_COMMAND:INTERNAL=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ctest
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
|
||||||
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
|
||||||
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
|
||||||
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
|
|
||||||
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS
|
|
||||||
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
|
||||||
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
|
||||||
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
|
|
||||||
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
|
||||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
|
||||||
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
|
||||||
//Name of external makefile project generator.
|
|
||||||
CMAKE_EXTRA_GENERATOR:INTERNAL=Android Gradle
|
|
||||||
//Name of generator.
|
|
||||||
CMAKE_GENERATOR:INTERNAL=Ninja
|
|
||||||
//Name of generator platform.
|
|
||||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
|
||||||
//Name of generator toolset.
|
|
||||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
|
||||||
//Source directory with the top level CMakeLists.txt file for this
|
|
||||||
// project
|
|
||||||
CMAKE_HOME_DIRECTORY:INTERNAL=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp
|
|
||||||
//Install .so files without execute permission.
|
|
||||||
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_LINKER
|
|
||||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_NM
|
|
||||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
|
||||||
//number of local generators
|
|
||||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
|
||||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
|
||||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_RANLIB
|
|
||||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
|
||||||
//Path to CMake installation.
|
|
||||||
CMAKE_ROOT:INTERNAL=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
|
||||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
|
||||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STRIP
|
|
||||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
|
||||||
//uname command
|
|
||||||
CMAKE_UNAME:INTERNAL=/bin/uname
|
|
||||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
|
||||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
|
||||||
|
|
@@ -1,67 +0,0 @@
|
|||||||
set(CMAKE_C_COMPILER "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang")
|
|
||||||
set(CMAKE_C_COMPILER_ARG1 "")
|
|
||||||
set(CMAKE_C_COMPILER_ID "Clang")
|
|
||||||
set(CMAKE_C_COMPILER_VERSION "")
|
|
||||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
|
||||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "")
|
|
||||||
set(CMAKE_C_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_C90_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_C99_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_C11_COMPILE_FEATURES "")
|
|
||||||
|
|
||||||
set(CMAKE_C_PLATFORM_ID "")
|
|
||||||
set(CMAKE_C_SIMULATE_ID "")
|
|
||||||
set(CMAKE_C_SIMULATE_VERSION "")
|
|
||||||
|
|
||||||
set(CMAKE_AR "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar")
|
|
||||||
set(CMAKE_RANLIB "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib")
|
|
||||||
set(CMAKE_LINKER "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld")
|
|
||||||
set(CMAKE_COMPILER_IS_GNUCC )
|
|
||||||
set(CMAKE_C_COMPILER_LOADED 1)
|
|
||||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
|
||||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
|
||||||
set(CMAKE_COMPILER_IS_MINGW )
|
|
||||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
|
||||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
|
||||||
set(CYGWIN 1)
|
|
||||||
set(UNIX 1)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_MINGW)
|
|
||||||
set(MINGW 1)
|
|
||||||
endif()
|
|
||||||
set(CMAKE_C_COMPILER_ID_RUN 1)
|
|
||||||
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
|
||||||
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
|
||||||
set(CMAKE_C_LINKER_PREFERENCE 10)
|
|
||||||
|
|
||||||
# Save compiler ABI information.
|
|
||||||
set(CMAKE_C_SIZEOF_DATA_PTR "4")
|
|
||||||
set(CMAKE_C_COMPILER_ABI "ELF")
|
|
||||||
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
|
|
||||||
|
|
||||||
if(CMAKE_C_SIZEOF_DATA_PTR)
|
|
||||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_C_COMPILER_ABI)
|
|
||||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
|
||||||
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
|
||||||
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
|
||||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "dl;c;dl")
|
|
||||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x;/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib;/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib")
|
|
||||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
|
@@ -1,68 +0,0 @@
|
|||||||
set(CMAKE_CXX_COMPILER "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++")
|
|
||||||
set(CMAKE_CXX_COMPILER_ARG1 "")
|
|
||||||
set(CMAKE_CXX_COMPILER_ID "Clang")
|
|
||||||
set(CMAKE_CXX_COMPILER_VERSION "")
|
|
||||||
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
|
||||||
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "")
|
|
||||||
set(CMAKE_CXX_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_CXX98_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_CXX11_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_CXX14_COMPILE_FEATURES "")
|
|
||||||
|
|
||||||
set(CMAKE_CXX_PLATFORM_ID "")
|
|
||||||
set(CMAKE_CXX_SIMULATE_ID "")
|
|
||||||
set(CMAKE_CXX_SIMULATE_VERSION "")
|
|
||||||
|
|
||||||
set(CMAKE_AR "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar")
|
|
||||||
set(CMAKE_RANLIB "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib")
|
|
||||||
set(CMAKE_LINKER "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld")
|
|
||||||
set(CMAKE_COMPILER_IS_GNUCXX )
|
|
||||||
set(CMAKE_CXX_COMPILER_LOADED 1)
|
|
||||||
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
|
||||||
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
|
||||||
set(CMAKE_COMPILER_IS_MINGW )
|
|
||||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
|
||||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
|
||||||
set(CYGWIN 1)
|
|
||||||
set(UNIX 1)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_MINGW)
|
|
||||||
set(MINGW 1)
|
|
||||||
endif()
|
|
||||||
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
|
||||||
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
|
||||||
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
|
|
||||||
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
|
||||||
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
|
||||||
|
|
||||||
# Save compiler ABI information.
|
|
||||||
set(CMAKE_CXX_SIZEOF_DATA_PTR "4")
|
|
||||||
set(CMAKE_CXX_COMPILER_ABI "ELF")
|
|
||||||
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
|
|
||||||
|
|
||||||
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
|
||||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_CXX_COMPILER_ABI)
|
|
||||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
|
||||||
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
|
||||||
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
|
||||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;dl;c;dl")
|
|
||||||
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x;/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib;/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib")
|
|
||||||
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
|
Binary file not shown.
Binary file not shown.
@@ -1,15 +0,0 @@
|
|||||||
set(CMAKE_HOST_SYSTEM "Linux-3.13.0-95-generic")
|
|
||||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
|
||||||
set(CMAKE_HOST_SYSTEM_VERSION "3.13.0-95-generic")
|
|
||||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
|
||||||
|
|
||||||
include("/data/marc/Software/android-sdk-linux/ndk-bundle/build/cmake/android.toolchain.cmake")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM "Android-19")
|
|
||||||
set(CMAKE_SYSTEM_NAME "Android")
|
|
||||||
set(CMAKE_SYSTEM_VERSION "19")
|
|
||||||
set(CMAKE_SYSTEM_PROCESSOR "armv7-a")
|
|
||||||
|
|
||||||
set(CMAKE_CROSSCOMPILING "TRUE")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM_LOADED 1)
|
|
@@ -1,210 +0,0 @@
|
|||||||
The target system is: Android - 19 - armv7-a
|
|
||||||
The host system is: Linux - 3.13.0-95-generic - x86_64
|
|
||||||
Determining if the C compiler works passed with the following output:
|
|
||||||
Change Dir: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a/CMakeFiles/CMakeTmp
|
|
||||||
|
|
||||||
Run Build Command:"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja" "cmTC_8362c"
|
|
||||||
[1/2] Building C object CMakeFiles/cmTC_8362c.dir/testCCompiler.c.o
|
|
||||||
[2/2] Linking C executable cmTC_8362c
|
|
||||||
|
|
||||||
|
|
||||||
Detecting C compiler ABI info compiled with the following output:
|
|
||||||
Change Dir: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a/CMakeFiles/CMakeTmp
|
|
||||||
|
|
||||||
Run Build Command:"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja" "cmTC_5604c"
|
|
||||||
[1/2] Building C object CMakeFiles/cmTC_5604c.dir/CMakeCCompilerABI.c.o
|
|
||||||
[2/2] Linking C executable cmTC_5604c
|
|
||||||
Android clang version 3.8.256229 (based on LLVM 3.8.256229)
|
|
||||||
Target: armv7-none-linux-android
|
|
||||||
Thread model: posix
|
|
||||||
InstalledDir: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin
|
|
||||||
Found candidate GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x
|
|
||||||
Selected GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x
|
|
||||||
Candidate multilib: .;@m32
|
|
||||||
Selected multilib: .;@m32
|
|
||||||
"/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld" --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm -pie -z relro -X --build-id --eh-frame-hdr -m armelf_linux_eabi -dynamic-linker /system/bin/linker -o cmTC_5604c /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtbegin_dynamic.o -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc CMakeFiles/cmTC_5604c.dir/CMakeCCompilerABI.c.o -lgcc -ldl -lc -lgcc -ldl /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtend_android.o
|
|
||||||
|
|
||||||
|
|
||||||
Parsed C implicit link information from above output:
|
|
||||||
link line regex: [^( *|.*[/\])(arm-linux-androideabi-ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
|
||||||
ignore line: [Change Dir: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a/CMakeFiles/CMakeTmp]
|
|
||||||
ignore line: []
|
|
||||||
ignore line: [Run Build Command:"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja" "cmTC_5604c"]
|
|
||||||
ignore line: [[1/2] Building C object CMakeFiles/cmTC_5604c.dir/CMakeCCompilerABI.c.o]
|
|
||||||
ignore line: [[2/2] Linking C executable cmTC_5604c]
|
|
||||||
ignore line: [Android clang version 3.8.256229 (based on LLVM 3.8.256229)]
|
|
||||||
ignore line: [Target: armv7-none-linux-android]
|
|
||||||
ignore line: [Thread model: posix]
|
|
||||||
ignore line: [InstalledDir: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin]
|
|
||||||
ignore line: [Found candidate GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
ignore line: [Selected GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
ignore line: [Candidate multilib: .]
|
|
||||||
ignore line: [@m32]
|
|
||||||
ignore line: [Selected multilib: .]
|
|
||||||
ignore line: [@m32]
|
|
||||||
link line: [ "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld" --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm -pie -z relro -X --build-id --eh-frame-hdr -m armelf_linux_eabi -dynamic-linker /system/bin/linker -o cmTC_5604c /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtbegin_dynamic.o -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc CMakeFiles/cmTC_5604c.dir/CMakeCCompilerABI.c.o -lgcc -ldl -lc -lgcc -ldl /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtend_android.o]
|
|
||||||
arg [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld] ==> ignore
|
|
||||||
arg [--sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm] ==> ignore
|
|
||||||
arg [-pie] ==> ignore
|
|
||||||
arg [-zrelro] ==> ignore
|
|
||||||
arg [-X] ==> ignore
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--eh-frame-hdr] ==> ignore
|
|
||||||
arg [-m] ==> ignore
|
|
||||||
arg [armelf_linux_eabi] ==> ignore
|
|
||||||
arg [-dynamic-linker] ==> ignore
|
|
||||||
arg [/system/bin/linker] ==> ignore
|
|
||||||
arg [-o] ==> ignore
|
|
||||||
arg [cmTC_5604c] ==> ignore
|
|
||||||
arg [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtbegin_dynamic.o] ==> ignore
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--warn-shared-textrel] ==> ignore
|
|
||||||
arg [--fatal-warnings] ==> ignore
|
|
||||||
arg [--fix-cortex-a8] ==> ignore
|
|
||||||
arg [--no-undefined] ==> ignore
|
|
||||||
arg [-znoexecstack] ==> ignore
|
|
||||||
arg [-zrelro] ==> ignore
|
|
||||||
arg [-znow] ==> ignore
|
|
||||||
arg [--gc-sections] ==> ignore
|
|
||||||
arg [-znocopyreloc] ==> ignore
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--warn-shared-textrel] ==> ignore
|
|
||||||
arg [--fatal-warnings] ==> ignore
|
|
||||||
arg [--fix-cortex-a8] ==> ignore
|
|
||||||
arg [--no-undefined] ==> ignore
|
|
||||||
arg [-znoexecstack] ==> ignore
|
|
||||||
arg [-zrelro] ==> ignore
|
|
||||||
arg [-znow] ==> ignore
|
|
||||||
arg [--gc-sections] ==> ignore
|
|
||||||
arg [-znocopyreloc] ==> ignore
|
|
||||||
arg [CMakeFiles/cmTC_5604c.dir/CMakeCCompilerABI.c.o] ==> ignore
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-ldl] ==> lib [dl]
|
|
||||||
arg [-lc] ==> lib [c]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-ldl] ==> lib [dl]
|
|
||||||
arg [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtend_android.o] ==> ignore
|
|
||||||
remove lib [gcc]
|
|
||||||
remove lib [gcc]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
implicit libs: [dl;c;dl]
|
|
||||||
implicit dirs: [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x;/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib;/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
implicit fwks: []
|
|
||||||
|
|
||||||
|
|
||||||
Determining if the CXX compiler works passed with the following output:
|
|
||||||
Change Dir: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a/CMakeFiles/CMakeTmp
|
|
||||||
|
|
||||||
Run Build Command:"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja" "cmTC_44d66"
|
|
||||||
[1/2] Building CXX object CMakeFiles/cmTC_44d66.dir/testCXXCompiler.cxx.o
|
|
||||||
[2/2] Linking CXX executable cmTC_44d66
|
|
||||||
|
|
||||||
|
|
||||||
Detecting CXX compiler ABI info compiled with the following output:
|
|
||||||
Change Dir: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a/CMakeFiles/CMakeTmp
|
|
||||||
|
|
||||||
Run Build Command:"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja" "cmTC_d628c"
|
|
||||||
[1/2] Building CXX object CMakeFiles/cmTC_d628c.dir/CMakeCXXCompilerABI.cpp.o
|
|
||||||
[2/2] Linking CXX executable cmTC_d628c
|
|
||||||
Android clang version 3.8.256229 (based on LLVM 3.8.256229)
|
|
||||||
Target: armv7-none-linux-android
|
|
||||||
Thread model: posix
|
|
||||||
InstalledDir: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin
|
|
||||||
Found candidate GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x
|
|
||||||
Selected GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x
|
|
||||||
Candidate multilib: .;@m32
|
|
||||||
Selected multilib: .;@m32
|
|
||||||
"/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld" --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm -pie -z relro -X --build-id --eh-frame-hdr -m armelf_linux_eabi -dynamic-linker /system/bin/linker -o cmTC_d628c /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtbegin_dynamic.o -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc CMakeFiles/cmTC_d628c.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc -lgcc -ldl -lc -lgcc -lgcc -ldl /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtend_android.o
|
|
||||||
|
|
||||||
|
|
||||||
Parsed CXX implicit link information from above output:
|
|
||||||
link line regex: [^( *|.*[/\])(arm-linux-androideabi-ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
|
||||||
ignore line: [Change Dir: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a/CMakeFiles/CMakeTmp]
|
|
||||||
ignore line: []
|
|
||||||
ignore line: [Run Build Command:"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja" "cmTC_d628c"]
|
|
||||||
ignore line: [[1/2] Building CXX object CMakeFiles/cmTC_d628c.dir/CMakeCXXCompilerABI.cpp.o]
|
|
||||||
ignore line: [[2/2] Linking CXX executable cmTC_d628c]
|
|
||||||
ignore line: [Android clang version 3.8.256229 (based on LLVM 3.8.256229)]
|
|
||||||
ignore line: [Target: armv7-none-linux-android]
|
|
||||||
ignore line: [Thread model: posix]
|
|
||||||
ignore line: [InstalledDir: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin]
|
|
||||||
ignore line: [Found candidate GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
ignore line: [Selected GCC installation: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
ignore line: [Candidate multilib: .]
|
|
||||||
ignore line: [@m32]
|
|
||||||
ignore line: [Selected multilib: .]
|
|
||||||
ignore line: [@m32]
|
|
||||||
link line: [ "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld" --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm -pie -z relro -X --build-id --eh-frame-hdr -m armelf_linux_eabi -dynamic-linker /system/bin/linker -o cmTC_d628c /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtbegin_dynamic.o -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib -L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc --build-id --warn-shared-textrel --fatal-warnings --fix-cortex-a8 --no-undefined -z noexecstack -z relro -z now --gc-sections -z nocopyreloc CMakeFiles/cmTC_d628c.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc -lgcc -ldl -lc -lgcc -lgcc -ldl /data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtend_android.o]
|
|
||||||
arg [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld] ==> ignore
|
|
||||||
arg [--sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm] ==> ignore
|
|
||||||
arg [-pie] ==> ignore
|
|
||||||
arg [-zrelro] ==> ignore
|
|
||||||
arg [-X] ==> ignore
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--eh-frame-hdr] ==> ignore
|
|
||||||
arg [-m] ==> ignore
|
|
||||||
arg [armelf_linux_eabi] ==> ignore
|
|
||||||
arg [-dynamic-linker] ==> ignore
|
|
||||||
arg [/system/bin/linker] ==> ignore
|
|
||||||
arg [-o] ==> ignore
|
|
||||||
arg [cmTC_d628c] ==> ignore
|
|
||||||
arg [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtbegin_dynamic.o] ==> ignore
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib]
|
|
||||||
arg [-L/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib] ==> dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--warn-shared-textrel] ==> ignore
|
|
||||||
arg [--fatal-warnings] ==> ignore
|
|
||||||
arg [--fix-cortex-a8] ==> ignore
|
|
||||||
arg [--no-undefined] ==> ignore
|
|
||||||
arg [-znoexecstack] ==> ignore
|
|
||||||
arg [-zrelro] ==> ignore
|
|
||||||
arg [-znow] ==> ignore
|
|
||||||
arg [--gc-sections] ==> ignore
|
|
||||||
arg [-znocopyreloc] ==> ignore
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--warn-shared-textrel] ==> ignore
|
|
||||||
arg [--fatal-warnings] ==> ignore
|
|
||||||
arg [--fix-cortex-a8] ==> ignore
|
|
||||||
arg [--no-undefined] ==> ignore
|
|
||||||
arg [-znoexecstack] ==> ignore
|
|
||||||
arg [-zrelro] ==> ignore
|
|
||||||
arg [-znow] ==> ignore
|
|
||||||
arg [--gc-sections] ==> ignore
|
|
||||||
arg [-znocopyreloc] ==> ignore
|
|
||||||
arg [CMakeFiles/cmTC_d628c.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
|
||||||
arg [-lstdc++] ==> lib [stdc++]
|
|
||||||
arg [-lm] ==> lib [m]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-ldl] ==> lib [dl]
|
|
||||||
arg [-lc] ==> lib [c]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-ldl] ==> lib [dl]
|
|
||||||
arg [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib/crtend_android.o] ==> ignore
|
|
||||||
remove lib [gcc]
|
|
||||||
remove lib [gcc]
|
|
||||||
remove lib [gcc]
|
|
||||||
remove lib [gcc]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib/../lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib]
|
|
||||||
collapse library dir [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib] ==> [/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
implicit libs: [stdc++;m;dl;c;dl]
|
|
||||||
implicit dirs: [/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x;/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib;/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm/usr/lib]
|
|
||||||
implicit fwks: []
|
|
||||||
|
|
||||||
|
|
@@ -1,3 +0,0 @@
|
|||||||
/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a/CMakeFiles/edit_cache.dir
|
|
||||||
/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a/CMakeFiles/rebuild_cache.dir
|
|
||||||
/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a/CMakeFiles/hello-jni.dir
|
|
@@ -1 +0,0 @@
|
|||||||
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
|
@@ -1,41 +0,0 @@
|
|||||||
|
|
||||||
{
|
|
||||||
"buildFiles" :
|
|
||||||
[
|
|
||||||
"/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp/CMakeLists.txt"
|
|
||||||
],
|
|
||||||
"cFileExtensions" : [ "c" ],
|
|
||||||
"cleanCommands" :
|
|
||||||
[
|
|
||||||
"/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake --build /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a --target clean"
|
|
||||||
],
|
|
||||||
"libraries" :
|
|
||||||
{
|
|
||||||
"hello-jni-Release-armeabi-v7a" :
|
|
||||||
{
|
|
||||||
"abi" : "armeabi-v7a",
|
|
||||||
"artifactName" : "hello-jni",
|
|
||||||
"buildCommand" : "/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake --build /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a --target hello-jni",
|
|
||||||
"buildType" : "release",
|
|
||||||
"files" :
|
|
||||||
[
|
|
||||||
|
|
||||||
{
|
|
||||||
"flags" : " -target armv7-none-linux-androideabi -gcc-toolchain /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm -Dhello_jni_EXPORTS -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -Os -DNDEBUG -Os -DNDEBUG -fPIC -c ",
|
|
||||||
"src" : "/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp/hello-jni.c",
|
|
||||||
"workingDirectory" : "/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"output" : "/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/release/obj/armeabi-v7a/libhello-jni.so",
|
|
||||||
"toolchain" : "523690286300862196"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"toolchains" :
|
|
||||||
{
|
|
||||||
"523690286300862196" :
|
|
||||||
{
|
|
||||||
"cCompilerExecutable" : "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang",
|
|
||||||
"cppCompilerExecutable" : "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,122 +0,0 @@
|
|||||||
# CMAKE generated file: DO NOT EDIT!
|
|
||||||
# Generated by "Ninja" Generator, CMake Version 3.6
|
|
||||||
|
|
||||||
# This file contains all the build statements describing the
|
|
||||||
# compilation DAG.
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Write statements declared in CMakeLists.txt:
|
|
||||||
#
|
|
||||||
# Which is the root file.
|
|
||||||
# =============================================================================
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Project: Project
|
|
||||||
# Configuration: Release
|
|
||||||
# =============================================================================
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Minimal version of Ninja required by this file
|
|
||||||
|
|
||||||
ninja_required_version = 1.5
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Include auxiliary files.
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Include rules file.
|
|
||||||
|
|
||||||
include rules.ninja
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Utility command for edit_cache
|
|
||||||
|
|
||||||
build CMakeFiles/edit_cache.util: CUSTOM_COMMAND
|
|
||||||
COMMAND = cd /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a && /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
|
||||||
DESC = No interactive CMake dialog available...
|
|
||||||
restat = 1
|
|
||||||
build edit_cache: phony CMakeFiles/edit_cache.util
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Utility command for rebuild_cache
|
|
||||||
|
|
||||||
build CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
|
|
||||||
COMMAND = cd /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a && /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake -H/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp -B/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a
|
|
||||||
DESC = Running CMake to regenerate build system...
|
|
||||||
pool = console
|
|
||||||
restat = 1
|
|
||||||
build rebuild_cache: phony CMakeFiles/rebuild_cache.util
|
|
||||||
# =============================================================================
|
|
||||||
# Object build statements for SHARED_LIBRARY target hello-jni
|
|
||||||
|
|
||||||
build CMakeFiles/hello-jni.dir/hello-jni.c.o: C_COMPILER__hello-jni /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp/hello-jni.c
|
|
||||||
DEFINES = -Dhello_jni_EXPORTS
|
|
||||||
DEP_FILE = CMakeFiles/hello-jni.dir/hello-jni.c.o.d
|
|
||||||
FLAGS = -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -Os -DNDEBUG -Os -DNDEBUG -fPIC
|
|
||||||
IN_ABS = /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp/hello-jni.c
|
|
||||||
OBJECT_DIR = CMakeFiles/hello-jni.dir
|
|
||||||
OBJECT_FILE_DIR = CMakeFiles/hello-jni.dir
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Link build statements for SHARED_LIBRARY target hello-jni
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Link the shared library /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/release/obj/armeabi-v7a/libhello-jni.so
|
|
||||||
|
|
||||||
build /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/release/obj/armeabi-v7a/libhello-jni.so: C_SHARED_LIBRARY_LINKER__hello-jni CMakeFiles/hello-jni.dir/hello-jni.c.o
|
|
||||||
LANGUAGE_COMPILE_FLAGS = -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -Os -DNDEBUG -Os -DNDEBUG
|
|
||||||
LINK_FLAGS = -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now
|
|
||||||
LINK_LIBRARIES = -landroid -llog -lm
|
|
||||||
OBJECT_DIR = CMakeFiles/hello-jni.dir
|
|
||||||
POST_BUILD = :
|
|
||||||
PRE_LINK = :
|
|
||||||
SONAME = libhello-jni.so
|
|
||||||
SONAME_FLAG = -Wl,-soname,
|
|
||||||
TARGET_FILE = /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/release/obj/armeabi-v7a/libhello-jni.so
|
|
||||||
TARGET_PDB = hello-jni.so.dbg
|
|
||||||
# =============================================================================
|
|
||||||
# Target aliases.
|
|
||||||
|
|
||||||
build hello-jni: phony /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/release/obj/armeabi-v7a/libhello-jni.so
|
|
||||||
build libhello-jni.so: phony /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/release/obj/armeabi-v7a/libhello-jni.so
|
|
||||||
# =============================================================================
|
|
||||||
# Folder targets.
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# =============================================================================
|
|
||||||
# Built-in targets
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# The main all target.
|
|
||||||
|
|
||||||
build all: phony /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/release/obj/armeabi-v7a/libhello-jni.so
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Make the all target the default.
|
|
||||||
|
|
||||||
default all
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Re-run CMake if any of its inputs changed.
|
|
||||||
|
|
||||||
build build.ninja: RERUN_CMAKE | /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCCompiler.cmake.in /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCCompilerABI.c /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCXXCompiler.cmake.in /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCXXCompilerABI.cpp /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCXXInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCommonLanguageInclude.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCXXCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCompileFeatures.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCompilerABI.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineSystem.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeFindBinUtils.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeGenericSystem.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeLanguageInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeParseImplicitLinkInfo.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeSystem.cmake.in /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeSystemSpecificInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeSystemSpecificInitialize.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeTestCCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeTestCXXCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeTestCompilerCommon.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/Clang-C.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/Clang-CXX.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/Clang.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/GNU.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Internal/FeatureTesting.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Platform/Android.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Platform/Linux.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Platform/UnixPaths.cmake /data/marc/Software/android-sdk-linux/ndk-bundle/build/cmake/android.toolchain.cmake /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp/CMakeLists.txt CMakeCache.txt CMakeFiles/3.6.0-rc2/CMakeCCompiler.cmake CMakeFiles/3.6.0-rc2/CMakeCXXCompiler.cmake CMakeFiles/3.6.0-rc2/CMakeSystem.cmake
|
|
||||||
pool = console
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# A missing CMake input file is not an error.
|
|
||||||
|
|
||||||
build /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCCompiler.cmake.in /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCCompilerABI.c /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCXXCompiler.cmake.in /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCXXCompilerABI.cpp /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCXXInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeCommonLanguageInclude.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCXXCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCompileFeatures.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineCompilerABI.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeDetermineSystem.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeFindBinUtils.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeGenericSystem.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeLanguageInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeParseImplicitLinkInfo.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeSystem.cmake.in /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeSystemSpecificInformation.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeSystemSpecificInitialize.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeTestCCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeTestCXXCompiler.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/CMakeTestCompilerCommon.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/Clang-C.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/Clang-CXX.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/Clang.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Compiler/GNU.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Internal/FeatureTesting.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Platform/Android.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Platform/Linux.cmake /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6/Modules/Platform/UnixPaths.cmake /data/marc/Software/android-sdk-linux/ndk-bundle/build/cmake/android.toolchain.cmake /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp/CMakeLists.txt CMakeCache.txt CMakeFiles/3.6.0-rc2/CMakeCCompiler.cmake CMakeFiles/3.6.0-rc2/CMakeCXXCompiler.cmake CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: phony
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Clean all the built files.
|
|
||||||
|
|
||||||
build clean: CLEAN
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Print all primary targets available.
|
|
||||||
|
|
||||||
build help: HELP
|
|
@@ -1,15 +0,0 @@
|
|||||||
Executable : /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake
|
|
||||||
arguments :
|
|
||||||
-H/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp
|
|
||||||
-B/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a
|
|
||||||
-GAndroid Gradle - Ninja
|
|
||||||
-DANDROID_ABI=armeabi-v7a
|
|
||||||
-DANDROID_NDK=/data/marc/Software/android-sdk-linux/ndk-bundle
|
|
||||||
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm7/release/obj/armeabi-v7a
|
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
|
||||||
-DCMAKE_MAKE_PROGRAM=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=/data/marc/Software/android-sdk-linux/ndk-bundle/build/cmake/android.toolchain.cmake
|
|
||||||
-DANDROID_NATIVE_API_LEVEL=19
|
|
||||||
-DANDROID_TOOLCHAIN=clang
|
|
||||||
jvmArgs :
|
|
||||||
|
|
@@ -1,15 +0,0 @@
|
|||||||
-- Check for working C compiler: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
|
|
||||||
-- Check for working C compiler: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works
|
|
||||||
-- Detecting C compiler ABI info
|
|
||||||
-- Detecting C compiler ABI info - done
|
|
||||||
-- Detecting C compile features
|
|
||||||
-- Detecting C compile features - done
|
|
||||||
-- Check for working CXX compiler: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
|
|
||||||
-- Check for working CXX compiler: /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works
|
|
||||||
-- Detecting CXX compiler ABI info
|
|
||||||
-- Detecting CXX compiler ABI info - done
|
|
||||||
-- Detecting CXX compile features
|
|
||||||
-- Detecting CXX compile features - done
|
|
||||||
-- Configuring done
|
|
||||||
-- Generating done
|
|
||||||
-- Build files have been written to: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a
|
|
@@ -1,44 +0,0 @@
|
|||||||
# Install script for directory: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp
|
|
||||||
|
|
||||||
# Set the install prefix
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
|
||||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
|
||||||
endif()
|
|
||||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
|
||||||
|
|
||||||
# Set the install configuration name.
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
|
||||||
if(BUILD_TYPE)
|
|
||||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
|
||||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_CONFIG_NAME "Release")
|
|
||||||
endif()
|
|
||||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Set the component getting installed.
|
|
||||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
|
||||||
if(COMPONENT)
|
|
||||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
|
||||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_COMPONENT)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Install shared libraries without execute permission?
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
|
||||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_INSTALL_COMPONENT)
|
|
||||||
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
||||||
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
||||||
file(WRITE "/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a/${CMAKE_INSTALL_MANIFEST}"
|
|
||||||
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
@@ -1,64 +0,0 @@
|
|||||||
# CMAKE generated file: DO NOT EDIT!
|
|
||||||
# Generated by "Ninja" Generator, CMake Version 3.6
|
|
||||||
|
|
||||||
# This file contains all the rules used to get the outputs files
|
|
||||||
# built from the input files.
|
|
||||||
# It is included in the main 'build.ninja'.
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Project: Project
|
|
||||||
# Configuration: Release
|
|
||||||
# =============================================================================
|
|
||||||
# =============================================================================
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for running custom commands.
|
|
||||||
|
|
||||||
rule CUSTOM_COMMAND
|
|
||||||
command = $COMMAND
|
|
||||||
description = $DESC
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for compiling C files.
|
|
||||||
|
|
||||||
rule C_COMPILER__hello-jni
|
|
||||||
depfile = $DEP_FILE
|
|
||||||
deps = gcc
|
|
||||||
command = /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7-none-linux-androideabi -gcc-toolchain /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS
|
|
||||||
description = Building C object $out
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for linking C shared library.
|
|
||||||
|
|
||||||
rule C_SHARED_LIBRARY_LINKER__hello-jni
|
|
||||||
command = $PRE_LINK && /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7-none-linux-androideabi -gcc-toolchain /data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 --sysroot=/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-19/arch-arm -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
|
||||||
description = Linking C shared library $TARGET_FILE
|
|
||||||
restat = $RESTAT
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for re-running cmake.
|
|
||||||
|
|
||||||
rule RERUN_CMAKE
|
|
||||||
command = /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake -H/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp -B/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a
|
|
||||||
description = Re-running CMake...
|
|
||||||
generator = 1
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for cleaning all built files.
|
|
||||||
|
|
||||||
rule CLEAN
|
|
||||||
command = /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja -t clean
|
|
||||||
description = Cleaning all built files...
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for printing all primary targets available.
|
|
||||||
|
|
||||||
rule HELP
|
|
||||||
command = /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja -t targets
|
|
||||||
description = All primary targets available:
|
|
||||||
|
|
@@ -1,316 +0,0 @@
|
|||||||
# This is the CMakeCache file.
|
|
||||||
# For build in directory: /data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm8Debug/arm64-v8a
|
|
||||||
# It was generated by CMake: /data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake
|
|
||||||
# You can edit this file to change values found and used by cmake.
|
|
||||||
# If you do not want to change any of the values, simply exit the editor.
|
|
||||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
|
||||||
# The syntax for the file is as follows:
|
|
||||||
# KEY:TYPE=VALUE
|
|
||||||
# KEY is the name of a variable in the cache.
|
|
||||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
|
||||||
# VALUE is the current value for the KEY.
|
|
||||||
|
|
||||||
########################
|
|
||||||
# EXTERNAL cache entries
|
|
||||||
########################
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
ANDROID_ABI:UNINITIALIZED=arm64-v8a
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
ANDROID_NATIVE_API_LEVEL:UNINITIALIZED=21
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
ANDROID_NDK:UNINITIALIZED=/data/marc/Software/android-sdk-linux/ndk-bundle
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
ANDROID_TOOLCHAIN:UNINITIALIZED=clang
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_AR:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-ar
|
|
||||||
|
|
||||||
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
|
|
||||||
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
|
|
||||||
CMAKE_BUILD_TYPE:STRING=Debug
|
|
||||||
|
|
||||||
//Flags used by the compiler during all build types.
|
|
||||||
CMAKE_CXX_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during debug builds.
|
|
||||||
CMAKE_CXX_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds for minimum
|
|
||||||
// size.
|
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds.
|
|
||||||
CMAKE_CXX_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds with debug info.
|
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
||||||
|
|
||||||
//Libraries linked by default with all C++ applications.
|
|
||||||
CMAKE_CXX_STANDARD_LIBRARIES:STRING=-lm "/data/marc/Software/android-sdk-linux/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/libgnustl_static.a"
|
|
||||||
|
|
||||||
//Flags used by the compiler during all build types.
|
|
||||||
CMAKE_C_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during debug builds.
|
|
||||||
CMAKE_C_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds for minimum
|
|
||||||
// size.
|
|
||||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds.
|
|
||||||
CMAKE_C_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds with debug info.
|
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
||||||
|
|
||||||
//Libraries linked by default with all C applications.
|
|
||||||
CMAKE_C_STANDARD_LIBRARIES:STRING=-lm
|
|
||||||
|
|
||||||
//Flags used by the linker.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Enable/Disable output of compile commands during generation.
|
|
||||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
|
|
||||||
|
|
||||||
//Install path prefix, prepended onto install directories.
|
|
||||||
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
CMAKE_LIBRARY_OUTPUT_DIRECTORY:UNINITIALIZED=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/build/intermediates/cmake/arm8/debug/obj/arm64-v8a
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_LINKER:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-ld
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ninja
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_NM:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-nm
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_OBJCOPY:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-objcopy
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_OBJDUMP:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-objdump
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_NAME:STATIC=Project
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_RANLIB:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-ranlib
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of dll's.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//If set, runtime paths are not added when installing shared libraries,
|
|
||||||
// but are added when building.
|
|
||||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
|
||||||
|
|
||||||
//If set, runtime paths are not added when using shared libraries.
|
|
||||||
CMAKE_SKIP_RPATH:BOOL=NO
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_STRIP:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip
|
|
||||||
|
|
||||||
//The CMake toolchain file
|
|
||||||
CMAKE_TOOLCHAIN_FILE:FILEPATH=/data/marc/Software/android-sdk-linux/ndk-bundle/build/cmake/android.toolchain.cmake
|
|
||||||
|
|
||||||
//If this value is on, makefiles will be generated without the
|
|
||||||
// .SILENT directive, and all commands will be echoed to the console
|
|
||||||
// during the make. This is useful for debugging only. With Visual
|
|
||||||
// Studio IDE projects all commands are done without /nologo.
|
|
||||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
Project_BINARY_DIR:STATIC=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm8Debug/arm64-v8a
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
Project_SOURCE_DIR:STATIC=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
hello-jni_LIB_DEPENDS:STATIC=general;android;general;log;
|
|
||||||
|
|
||||||
|
|
||||||
########################
|
|
||||||
# INTERNAL cache entries
|
|
||||||
########################
|
|
||||||
|
|
||||||
//ADVANCED property for variable: CMAKE_AR
|
|
||||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
|
||||||
//This is the directory where this CMakeCache.txt was created
|
|
||||||
CMAKE_CACHEFILE_DIR:INTERNAL=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/.externalNativeBuild/cmake/arm8Debug/arm64-v8a
|
|
||||||
//Major version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
|
||||||
//Minor version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=6
|
|
||||||
//Patch version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
|
|
||||||
//Path to CMake executable.
|
|
||||||
CMAKE_COMMAND:INTERNAL=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cmake
|
|
||||||
//Path to cpack program executable.
|
|
||||||
CMAKE_CPACK_COMMAND:INTERNAL=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/cpack
|
|
||||||
//Path to ctest program executable.
|
|
||||||
CMAKE_CTEST_COMMAND:INTERNAL=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/bin/ctest
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
|
||||||
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
|
||||||
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
|
||||||
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
|
|
||||||
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS
|
|
||||||
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
|
||||||
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
|
||||||
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
|
|
||||||
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
|
||||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
|
||||||
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
|
||||||
//Name of external makefile project generator.
|
|
||||||
CMAKE_EXTRA_GENERATOR:INTERNAL=Android Gradle
|
|
||||||
//Name of generator.
|
|
||||||
CMAKE_GENERATOR:INTERNAL=Ninja
|
|
||||||
//Name of generator platform.
|
|
||||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
|
||||||
//Name of generator toolset.
|
|
||||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
|
||||||
//Source directory with the top level CMakeLists.txt file for this
|
|
||||||
// project
|
|
||||||
CMAKE_HOME_DIRECTORY:INTERNAL=/data/marc/Work/my_wa_tests/revent/vsync/HelloJNI/app/src/main/cpp
|
|
||||||
//Install .so files without execute permission.
|
|
||||||
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_LINKER
|
|
||||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_NM
|
|
||||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
|
||||||
//number of local generators
|
|
||||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
|
||||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
|
||||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_RANLIB
|
|
||||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
|
||||||
//Path to CMake installation.
|
|
||||||
CMAKE_ROOT:INTERNAL=/data/marc/Software/android-sdk-linux/cmake/3.6.3155560/share/cmake-3.6
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
|
||||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
|
||||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STRIP
|
|
||||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
|
||||||
//uname command
|
|
||||||
CMAKE_UNAME:INTERNAL=/bin/uname
|
|
||||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
|
||||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
|
||||||
|
|
@@ -1,67 +0,0 @@
|
|||||||
set(CMAKE_C_COMPILER "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang")
|
|
||||||
set(CMAKE_C_COMPILER_ARG1 "")
|
|
||||||
set(CMAKE_C_COMPILER_ID "Clang")
|
|
||||||
set(CMAKE_C_COMPILER_VERSION "")
|
|
||||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
|
||||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "")
|
|
||||||
set(CMAKE_C_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_C90_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_C99_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_C11_COMPILE_FEATURES "")
|
|
||||||
|
|
||||||
set(CMAKE_C_PLATFORM_ID "")
|
|
||||||
set(CMAKE_C_SIMULATE_ID "")
|
|
||||||
set(CMAKE_C_SIMULATE_VERSION "")
|
|
||||||
|
|
||||||
set(CMAKE_AR "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-ar")
|
|
||||||
set(CMAKE_RANLIB "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-ranlib")
|
|
||||||
set(CMAKE_LINKER "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-ld")
|
|
||||||
set(CMAKE_COMPILER_IS_GNUCC )
|
|
||||||
set(CMAKE_C_COMPILER_LOADED 1)
|
|
||||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
|
||||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
|
||||||
set(CMAKE_COMPILER_IS_MINGW )
|
|
||||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
|
||||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
|
||||||
set(CYGWIN 1)
|
|
||||||
set(UNIX 1)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_MINGW)
|
|
||||||
set(MINGW 1)
|
|
||||||
endif()
|
|
||||||
set(CMAKE_C_COMPILER_ID_RUN 1)
|
|
||||||
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
|
||||||
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
|
||||||
set(CMAKE_C_LINKER_PREFERENCE 10)
|
|
||||||
|
|
||||||
# Save compiler ABI information.
|
|
||||||
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
|
||||||
set(CMAKE_C_COMPILER_ABI "ELF")
|
|
||||||
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
|
|
||||||
|
|
||||||
if(CMAKE_C_SIZEOF_DATA_PTR)
|
|
||||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_C_COMPILER_ABI)
|
|
||||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
|
||||||
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
|
||||||
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
|
||||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "dl;c;dl")
|
|
||||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x;/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/aarch64-linux-android/lib64;/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/aarch64-linux-android/lib;/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-21/arch-arm64/usr/lib")
|
|
||||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
|
@@ -1,68 +0,0 @@
|
|||||||
set(CMAKE_CXX_COMPILER "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++")
|
|
||||||
set(CMAKE_CXX_COMPILER_ARG1 "")
|
|
||||||
set(CMAKE_CXX_COMPILER_ID "Clang")
|
|
||||||
set(CMAKE_CXX_COMPILER_VERSION "")
|
|
||||||
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
|
||||||
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "")
|
|
||||||
set(CMAKE_CXX_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_CXX98_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_CXX11_COMPILE_FEATURES "")
|
|
||||||
set(CMAKE_CXX14_COMPILE_FEATURES "")
|
|
||||||
|
|
||||||
set(CMAKE_CXX_PLATFORM_ID "")
|
|
||||||
set(CMAKE_CXX_SIMULATE_ID "")
|
|
||||||
set(CMAKE_CXX_SIMULATE_VERSION "")
|
|
||||||
|
|
||||||
set(CMAKE_AR "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-ar")
|
|
||||||
set(CMAKE_RANLIB "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-ranlib")
|
|
||||||
set(CMAKE_LINKER "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-ld")
|
|
||||||
set(CMAKE_COMPILER_IS_GNUCXX )
|
|
||||||
set(CMAKE_CXX_COMPILER_LOADED 1)
|
|
||||||
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
|
||||||
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
|
||||||
set(CMAKE_COMPILER_IS_MINGW )
|
|
||||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
|
||||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
|
||||||
set(CYGWIN 1)
|
|
||||||
set(UNIX 1)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_MINGW)
|
|
||||||
set(MINGW 1)
|
|
||||||
endif()
|
|
||||||
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
|
||||||
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
|
||||||
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
|
|
||||||
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
|
||||||
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
|
||||||
|
|
||||||
# Save compiler ABI information.
|
|
||||||
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
|
||||||
set(CMAKE_CXX_COMPILER_ABI "ELF")
|
|
||||||
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
|
|
||||||
|
|
||||||
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
|
||||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_CXX_COMPILER_ABI)
|
|
||||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
|
||||||
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
|
||||||
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
|
||||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;dl;c;dl")
|
|
||||||
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x;/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/aarch64-linux-android/lib64;/data/marc/Software/android-sdk-linux/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/aarch64-linux-android/lib;/data/marc/Software/android-sdk-linux/ndk-bundle/platforms/android-21/arch-arm64/usr/lib")
|
|
||||||
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
|
Binary file not shown.
Binary file not shown.
@@ -1,15 +0,0 @@
|
|||||||
set(CMAKE_HOST_SYSTEM "Linux-3.13.0-95-generic")
|
|
||||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
|
||||||
set(CMAKE_HOST_SYSTEM_VERSION "3.13.0-95-generic")
|
|
||||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
|
||||||
|
|
||||||
include("/data/marc/Software/android-sdk-linux/ndk-bundle/build/cmake/android.toolchain.cmake")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM "Android-21")
|
|
||||||
set(CMAKE_SYSTEM_NAME "Android")
|
|
||||||
set(CMAKE_SYSTEM_VERSION "21")
|
|
||||||
set(CMAKE_SYSTEM_PROCESSOR "aarch64")
|
|
||||||
|
|
||||||
set(CMAKE_CROSSCOMPILING "TRUE")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM_LOADED 1)
|
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user