зеркало из https://github.com/mozilla/gecko-dev.git
19 строки
555 B
Makefile
19 строки
555 B
Makefile
#
|
|
# 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/.
|
|
|
|
export:: mozilla_api_key google_api_key
|
|
|
|
EXTRA_PP_COMPONENTS_FLAGS = -I mozilla_api_key -I google_api_key
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
mozilla_api_key:
|
|
@echo '#define MOZ_MOZILLA_API_KEY $(MOZ_MOZILLA_API_KEY)' > $@
|
|
|
|
google_api_key:
|
|
@echo '#define MOZ_GOOGLE_API_KEY $(MOZ_GOOGLE_API_KEY)' > $@
|
|
|
|
GARBAGE += google_api_key moz_google_api_key
|