Created
November 20, 2020 11:54
-
-
Save kolanski/cfdf543ff4588960bfc45af489a88539 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00000000 23 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 |# Copyright (C) | | |
00000010 32 30 31 31 20 54 68 65 20 41 6e 64 72 6f 69 64 |2011 The Android| | |
00000020 20 4f 70 65 6e 20 53 6f 75 72 63 65 20 50 72 6f | Open Source Pro| | |
00000030 6a 65 63 74 0d 0a 23 0d 0a 23 20 4c 69 63 65 6e |ject..#..# Licen| | |
00000040 73 65 64 20 75 6e 64 65 72 20 74 68 65 20 41 70 |sed under the Ap| | |
00000050 61 63 68 65 20 4c 69 63 65 6e 73 65 2c 20 56 65 |ache License, Ve| | |
00000060 72 73 69 6f 6e 20 32 2e 30 20 28 74 68 65 20 22 |rsion 2.0 (the "| | |
00000070 4c 69 63 65 6e 73 65 22 29 3b 0d 0a 23 20 79 6f |License");..# yo| | |
00000080 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 |u may not use th| | |
00000090 69 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 69 |is file except i| | |
000000a0 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 |n compliance wit| | |
000000b0 68 20 74 68 65 20 4c 69 63 65 6e 73 65 2e 0d 0a |h the License...| | |
000000c0 23 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e |# You may obtain| | |
000000d0 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c | a copy of the L| | |
000000e0 69 63 65 6e 73 65 20 61 74 0d 0a 23 0d 0a 23 20 |icense at..#..# | | |
000000f0 20 20 20 20 20 68 74 74 70 3a 2f 2f 77 77 77 2e | http://www.| | |
00000100 61 70 61 63 68 65 2e 6f 72 67 2f 6c 69 63 65 6e |apache.org/licen| | |
00000110 73 65 73 2f 4c 49 43 45 4e 53 45 2d 32 2e 30 0d |ses/LICENSE-2.0.| | |
00000120 0a 23 0d 0a 23 20 55 6e 6c 65 73 73 20 72 65 71 |.#..# Unless req| | |
00000130 75 69 72 65 64 20 62 79 20 61 70 70 6c 69 63 61 |uired by applica| | |
00000140 62 6c 65 20 6c 61 77 20 6f 72 20 61 67 72 65 65 |ble law or agree| | |
00000150 64 20 74 6f 20 69 6e 20 77 72 69 74 69 6e 67 2c |d to in writing,| | |
00000160 20 73 6f 66 74 77 61 72 65 0d 0a 23 20 64 69 73 | software..# dis| | |
00000170 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 |tributed under t| | |
00000180 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 |he License is di| | |
00000190 73 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 |stributed on an | | |
000001a0 22 41 53 20 49 53 22 20 42 41 53 49 53 2c 0d 0a |"AS IS" BASIS,..| | |
000001b0 23 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e |# WITHOUT WARRAN| | |
000001c0 54 49 45 53 20 4f 52 20 43 4f 4e 44 49 54 49 4f |TIES OR CONDITIO| | |
000001d0 4e 53 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 |NS OF ANY KIND, | | |
000001e0 65 69 74 68 65 72 20 65 78 70 72 65 73 73 20 6f |either express o| | |
000001f0 72 20 69 6d 70 6c 69 65 64 2e 0d 0a 23 20 53 65 |r implied...# Se| | |
00000200 65 20 74 68 65 20 4c 69 63 65 6e 73 65 20 66 6f |e the License fo| | |
00000210 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c |r the specific l| | |
00000220 61 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e |anguage governin| | |
00000230 67 20 70 65 72 6d 69 73 73 69 6f 6e 73 20 61 6e |g permissions an| | |
00000240 64 0d 0a 23 20 6c 69 6d 69 74 61 74 69 6f 6e 73 |d..# limitations| | |
00000250 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e | under the Licen| | |
00000260 73 65 2e 0d 0a 0d 0a 4c 4f 43 41 4c 5f 50 41 54 |se.....LOCAL_PAT| | |
00000270 48 20 3a 3d 20 24 28 63 61 6c 6c 20 6d 79 2d 64 |H := $(call my-d| | |
00000280 69 72 29 0d 0a 0d 0a 69 6e 63 6c 75 64 65 20 24 |ir)....include $| | |
00000290 28 43 4c 45 41 52 5f 56 41 52 53 29 0d 0a 0d 0a |(CLEAR_VARS)....| | |
000002a0 4c 4f 43 41 4c 5f 4d 4f 44 55 4c 45 5f 50 41 54 |LOCAL_MODULE_PAT| | |
000002b0 48 20 3a 3d 20 24 28 54 41 52 47 45 54 5f 4f 55 |H := $(TARGET_OU| | |
000002c0 54 5f 53 48 41 52 45 44 5f 4c 49 42 52 41 52 49 |T_SHARED_LIBRARI| | |
000002d0 45 53 29 2f 68 77 0d 0a 4c 4f 43 41 4c 5f 43 46 |ES)/hw..LOCAL_CF| | |
000002e0 4c 41 47 53 20 2b 3d 20 2d 57 6e 6f 2d 75 6e 75 |LAGS += -Wno-unu| | |
000002f0 73 65 64 2d 70 61 72 61 6d 65 74 65 72 0d 0a 69 |sed-parameter..i| | |
00000300 66 6e 65 71 20 28 24 28 55 53 45 5f 4e 44 4b 29 |fneq ($(USE_NDK)| | |
00000310 2c 29 0d 0a 4c 4f 43 41 4c 5f 43 46 4c 41 47 53 |,)..LOCAL_CFLAGS| | |
00000320 20 2b 3d 20 2d 44 55 53 45 5f 4e 44 4b 20 2d 57 | += -DUSE_NDK -W| | |
00000330 61 6c 6c 0d 0a 4c 4f 43 41 4c 5f 4c 44 4c 49 42 |all..LOCAL_LDLIB| | |
00000340 53 20 2b 3d 20 2d 6c 6c 6f 67 0d 0a 65 6c 73 65 |S += -llog..else| | |
00000350 0d 0a 4c 4f 43 41 4c 5f 53 48 41 52 45 44 5f 4c |..LOCAL_SHARED_L| | |
00000360 49 42 52 41 52 49 45 53 20 3a 3d 20 6c 69 62 6c |IBRARIES := libl| | |
00000370 6f 67 20 6c 69 62 63 75 74 69 6c 73 0d 0a 65 6e |og libcutils..en| | |
00000380 64 69 66 0d 0a 4c 4f 43 41 4c 5f 53 52 43 5f 46 |dif..LOCAL_SRC_F| | |
00000390 49 4c 45 53 20 3a 3d 20 67 70 73 5f 71 6c 2e 63 |ILES := gps_ql.c| | |
000003a0 20 5c 0d 0a 09 71 6c 2d 6c 6f 67 2e 63 20 5c 0d | \...ql-log.c \.| | |
000003b0 0a 09 63 6f 6e 66 69 67 2e 63 20 5c 0d 0a 09 65 |..config.c \...e| | |
000003c0 78 74 72 61 63 74 2e 63 20 5c 0d 0a 09 67 70 73 |xtract.c \...gps| | |
000003d0 5f 69 32 63 2e 63 0d 0a 0d 0a 4c 4f 43 41 4c 5f |_i2c.c....LOCAL_| | |
000003e0 4d 4f 44 55 4c 45 5f 54 41 47 53 20 3a 3d 20 6f |MODULE_TAGS := o| | |
000003f0 70 74 69 6f 6e 61 6c 0d 0a 0d 0a 4c 4f 43 41 4c |ptional....LOCAL| | |
00000400 5f 4d 4f 44 55 4c 45 20 3a 3d 20 67 70 73 2e 64 |_MODULE := gps.d| | |
00000410 65 66 61 75 6c 74 0d 0a 69 6e 63 6c 75 64 65 20 |efault..include | | |
00000420 24 28 42 55 49 4c 44 5f 53 48 41 52 45 44 5f 4c |$(BUILD_SHARED_L| | |
00000430 49 42 52 41 52 59 29 0d 0a 0d 0a 69 66 65 71 20 |IBRARY)....ifeq | | |
00000440 28 31 2c 30 29 0d 0a 69 6e 63 6c 75 64 65 20 24 |(1,0)..include $| | |
00000450 28 43 4c 45 41 52 5f 56 41 52 53 29 0d 0a 4c 4f |(CLEAR_VARS)..LO| | |
00000460 43 41 4c 5f 53 48 41 52 45 44 5f 4c 49 42 52 41 |CAL_SHARED_LIBRA| | |
00000470 52 49 45 53 20 3a 3d 20 6c 69 62 6c 6f 67 20 6c |RIES := liblog l| | |
00000480 69 62 63 75 74 69 6c 73 0d 0a 4c 4f 43 41 4c 5f |ibcutils..LOCAL_| | |
00000490 53 52 43 5f 46 49 4c 45 53 20 3a 3d 20 67 70 73 |SRC_FILES := gps| | |
000004a0 5f 71 6c 2e 63 20 5c 0d 0a 09 71 6c 2d 6c 6f 67 |_ql.c \...ql-log| | |
000004b0 2e 63 20 5c 0d 0a 09 63 6f 6e 66 69 67 2e 63 0d |.c \...config.c.| | |
000004c0 0a 4c 4f 43 41 4c 5f 43 46 4c 41 47 53 20 2b 3d |.LOCAL_CFLAGS +=| | |
000004d0 20 2d 44 4d 41 49 4e 5f 54 45 53 54 0d 0a 4c 4f | -DMAIN_TEST..LO| | |
000004e0 43 41 4c 5f 4d 4f 44 55 4c 45 5f 54 41 47 53 20 |CAL_MODULE_TAGS | | |
000004f0 3a 3d 20 6f 70 74 69 6f 6e 61 6c 0d 0a 4c 4f 43 |:= optional..LOC| | |
00000500 41 4c 5f 4d 4f 44 55 4c 45 20 3a 3d 20 67 70 73 |AL_MODULE := gps| | |
00000510 5f 71 6c 0d 0a 69 6e 63 6c 75 64 65 20 24 28 42 |_ql..include $(B| | |
00000520 55 49 4c 44 5f 45 58 45 43 55 54 41 42 4c 45 29 |UILD_EXECUTABLE)| | |
00000530 0d 0a 65 6e 64 69 66 0d 0a |..endif..| | |
00000539 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment