zoukankan      html  css  js  c++  java
  • android C/C++ source files 全局宏定义 .

    systemcoreincludearchlinux-arm

    AndroidConfig.h

     * ===========================================================================
     *                              !!! IMPORTANT !!!
     * ===========================================================================
     *
     * This file is included by ALL C/C++ source files.  Don't put anything in
     * here unless you are absolutely certain it can't go anywhere else.
     *
     * Any C++ stuff must be wrapped with "#ifdef __cplusplus".  Do not use "//"
     * comments.
     */

    /*
     * Define if we have Linux's inotify in <sys/inotify.h>.
     */
    #define HAVE_INOTIFY 1

    --------------------------------------------------------

    #if HAVE_INOTIFY
            // readNotify() will modify mFDs and mFDCount, so this must be done after
            // processing all other events.
            if(mFDs[0].revents & POLLIN) {
                readNotify(mFDs[0].fd);
                mFDs[0].revents = 0;
                continue; // report added or removed devices immediately
            }
    #endif

    ==============================

    ifeq ($(BOARD_USES_HDMI),true)
    LOCAL_C_INCLUDES +=
        device/samsung/proprietary/libhdmi

    LOCAL_SHARED_LIBRARIES += libhdmiservice

    LOCAL_CFLAGS     += -DBOARD_USES_HDMI
    endif

    -------------

    devicesamsungsmdkv210BoardConfig.mk

    BOARD_USES_HDMI :=true

    BOARD_KERNEL_BASE := 0x30000000
    BOARD_KERNEL_PAGESIZE := 4096
    BOARD_KERNEL_CMDLINE := console=ttyFIQ0 no_console_suspend

  • 相关阅读:
    POJ1579Function Run Fun
    C++ 程序员必读书目清单
    zoj2100Seeding(水题)
    接口开发及技术负责
    哪些需求最重要
    地址
    哪些需求最重要
    setTimeOut与 setInterval区别
    项目管理简介
    项目管理简介
  • 原文地址:https://www.cnblogs.com/ljf181275034/p/3303725.html
Copyright © 2011-2022 走看看