Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #96 from jlebar/b2g-info
Browse files Browse the repository at this point in the history
Bug 864597: Adding b2g-info, a tool which displays information about B2G processes.  r=dhylands
  • Loading branch information
jlebar committed Jun 17, 2013
2 parents 302869c + e68666a commit 2083064
Show file tree
Hide file tree
Showing 12 changed files with 1,675 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Android.mk
Expand Up @@ -14,6 +14,10 @@

LOCAL_PATH:= $(call my-dir)

gonk_misc_LOCAL_PATH := $(LOCAL_PATH)
include $(call all-subdir-makefiles)
LOCAL_PATH := $(gonk_misc_LOCAL_PATH)

ifneq ($(TARGET_PROVIDES_B2G_INIT_RC),true)
include $(CLEAR_VARS)
LOCAL_MODULE := init.rc
Expand Down
25 changes: 25 additions & 0 deletions b2g-info/Android.mk
@@ -0,0 +1,25 @@
# Copyright (C) 2013 Mozilla Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := b2g-info
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_SRC_FILES := b2g-info.cpp process.cpp processlist.cpp table.cpp utils.cpp
LOCAL_FORCE_STATIC_EXECUTABLE := false
LOCAL_SHARED_LIBRARIES := libstlport
LOCAL_CFLAGS := -I prebuilt/ndk/android-ndk-r7/sources/cxx-stl/stlport/stlport
include $(BUILD_EXECUTABLE)

0 comments on commit 2083064

Please sign in to comment.