Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
build
Commits
888f30aa
Commit
888f30aa
authored
9 years ago
by
Ying Wang
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Download
Plain Diff
Merge "Fix "make product-graph" and "make dump-products"."
parents
49d8c519
67132baa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
3 deletions
+18
-3
core/Makefile
core/Makefile
+2
-0
core/main.mk
core/main.mk
+2
-1
core/product-graph.mk
core/product-graph.mk
+1
-1
core/product_config.mk
core/product_config.mk
+13
-1
No files found.
core/Makefile
View file @
888f30aa
...
...
@@ -1971,6 +1971,8 @@ include $(sort $(wildcard $(BUILD_SYSTEM)/tasks/*.mk))
-include
$(sort $(wildcard device/*/*/build/tasks/*.mk))
endif
include
$(BUILD_SYSTEM)/product-graph.mk
# -----------------------------------------------------------------
# Create SDK repository packages. Must be done after tasks/* since
# we need the addon rules defined.
...
...
This diff is collapsed.
Click to expand it.
core/main.mk
View file @
888f30aa
...
...
@@ -80,7 +80,8 @@ dont_bother_goals := clean clobber dataclean installclean \
vendorimage-nodeps
\
ramdisk-nodeps
\
bootimage-nodeps
\
recoveryimage-nodeps
recoveryimage-nodeps
\
product-graph dump-products
ifneq
($(filter $(dont_bother_goals), $(MAKECMDGOALS)),)
dont_bother
:=
true
...
...
This diff is collapsed.
Click to expand it.
core/
tasks/
product-graph.mk
→
core/product-graph.mk
View file @
888f30aa
...
...
@@ -34,7 +34,7 @@ define all-products-inner
endef
this_makefile
:=
build/core/
tasks/
product-graph.mk
this_makefile
:=
build/core/product-graph.mk
products_svg
:=
$(OUT_DIR)
/products.svg
products_pdf
:=
$(OUT_DIR)
/products.pdf
...
...
This diff is collapsed.
Click to expand it.
core/product_config.mk
View file @
888f30aa
...
...
@@ -213,7 +213,19 @@ _cpm_word2 :=
current_product_makefile
:=
$(
strip
$(current_product_makefile)
)
all_product_makefiles
:=
$(
strip
$(all_product_makefiles)
)
ifneq
(,$(filter product-graph dump-products, $(MAKECMDGOALS)))
load_all_product_makefiles
:=
ifneq
(,$(filter product-graph, $(MAKECMDGOALS)))
ifeq
($(ANDROID_PRODUCT_GRAPH),--all)
load_all_product_makefiles
:=
true
endif
endif
ifneq
(,$(filter dump-products,$(MAKECMDGOALS)))
ifeq
($(ANDROID_DUMP_PRODUCTS),all)
load_all_product_makefiles
:=
true
endif
endif
ifeq
($(load_all_product_makefiles),true)
# Import all product makefiles.
$(call
import-products,
$(all_product_makefiles))
else
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment