2013-07-01 16:51:46 +04:00
|
|
|
#
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2014-02-26 04:06:51 +04:00
|
|
|
export:: mozilla_api_key google_api_key
|
2013-07-01 16:51:46 +04:00
|
|
|
|
2014-02-26 04:06:51 +04:00
|
|
|
EXTRA_PP_COMPONENTS_FLAGS = -I mozilla_api_key -I google_api_key
|
2013-07-01 16:51:46 +04:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2014-02-26 04:06:51 +04:00
|
|
|
mozilla_api_key:
|
|
|
|
@echo '#define MOZ_MOZILLA_API_KEY $(MOZ_MOZILLA_API_KEY)' > $@
|
|
|
|
|
2013-07-01 16:51:46 +04:00
|
|
|
google_api_key:
|
2013-12-03 01:34:21 +04:00
|
|
|
@echo '#define MOZ_GOOGLE_API_KEY $(MOZ_GOOGLE_API_KEY)' > $@
|
2013-07-01 16:51:46 +04:00
|
|
|
|
2014-02-26 04:06:51 +04:00
|
|
|
GARBAGE += google_api_key moz_google_api_key
|