Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
lf
build
Commits
ea14d2e6
Commit
ea14d2e6
authored
12 years ago
by
Michael Vines
Browse files
Options
Downloads
Patches
Plain Diff
Default GAIA_DOMAIN to example.com for all build variants
Change-Id: I48cfa222105284e4064ff528b64e8c919f06f11c
parent
2234b027
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.config
+5
-8
5 additions, 8 deletions
.config
Android.mk
+2
-5
2 additions, 5 deletions
Android.mk
with
7 additions
and
13 deletions
.config
+
5
−
8
View file @
ea14d2e6
...
...
@@ -18,16 +18,13 @@ GAIA_PATH=${ANDROID_BUILD_TOP}/gaia
GECKO_OBJDIR
=${
ANDROID_BUILD_TOP
}/
out
/
target
/
product
/${
DEVICE
}/
obj
/
objdir
-
gecko
# If this is not a user/userdebug build redefine GAIA_DOMAIN away from
# gaiamobile.org to prevent the UI from automatically updating itself,
# which can be somewhat undesirable while in the middle of a debug session.
# Default GAIA_DOMAIN away from gaiamobile.org to prevent the UI from
# automatically updating itself to an unknown version
#
# TODO: This GAIA_DOMAIN logic is duplicated in Android.mk. Fragile.
if
[
"${TARGET_BUILD_VARIANT}"
!=
"userdebug"
-
a
"${TARGET_BUILD_VARIANT}"
!=
"user"
];
then
: ${
GAIA_DOMAIN
:=
example
.
com
}
# 'export' need to propagate the variable into |flash gaia|
export
GAIA_DOMAIN
fi
: ${
GAIA_DOMAIN
:=
example
.
com
}
# 'export' need to propagate the variable into |flash gaia|
export
GAIA_DOMAIN
flash_fastboot_ext4
()
...
...
This diff is collapsed.
Click to expand it.
Android.mk
+
2
−
5
View file @
ea14d2e6
...
...
@@ -26,16 +26,13 @@
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# If this is not a user/userdebug build redefine GAIA_DOMAIN away from
# gaiamobile.org to prevent the UI from automatically updating itself,
# which can be somewhat undesirable while in the middle of a debug session.
# Default GAIA_DOMAIN away from gaiamobile.org to prevent the UI from
# automatically updating itself to an unknown version
#
# TODO: This GAIA_DOMAIN logic is duplicated in .config. Fragile.
ifeq
(,$(filter userdebug user,$(TARGET_BUILD_VARIANT)))
GAIA_DOMAIN
?=
example.com
# 'export' need to propagate the variable into the Gaia sub-make
export
GAIA_DOMAIN
endif
LOCAL_PATH
:=
$(
call my-dir
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment