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

Commit

Permalink
Move frameworks/base/tools/ off AndroidConfig.h.
Browse files Browse the repository at this point in the history
Change-Id: Ibc7abb67a56945a9618bc91ccdbebe4c806879a5
  • Loading branch information
enh-google committed Jul 29, 2015
1 parent 7d71d88 commit 9ec96f9
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/aapt/CrunchCache.cpp
Expand Up @@ -5,6 +5,7 @@
// This file defines functions laid out and documented in
// CrunchCache.h

#include <utils/Compat.h>
#include <utils/Vector.h>
#include <utils/String8.h>

Expand Down
1 change: 1 addition & 0 deletions tools/aapt/Main.cpp
Expand Up @@ -6,6 +6,7 @@
#include "Main.h"
#include "Bundle.h"

#include <utils/Compat.h>
#include <utils/Log.h>
#include <utils/threads.h>
#include <utils/List.h>
Expand Down
1 change: 1 addition & 0 deletions tools/aidl/aidl.cpp
@@ -1,6 +1,7 @@

#include "aidl_language.h"
#include "options.h"
#include "os.h"
#include "search_path.h"
#include "Type.h"
#include "generate_java.h"
Expand Down
26 changes: 26 additions & 0 deletions tools/aidl/os.h
@@ -0,0 +1,26 @@
/*
* Copyright 2015, The Android Open Source Project
*
* 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.
*/

#ifndef _FRAMEWORKS_BASE_TOOLS_AIDL_OS_SEP_H_
#define _FRAMEWORKS_BASE_TOOLS_AIDL_OS_SEP_H_

#if defined(_WIN32)
#define OS_PATH_SEPARATOR '\\'
#else
#define OS_PATH_SEPARATOR '/'
#endif

#endif
1 change: 1 addition & 0 deletions tools/aidl/search_path.cpp
@@ -1,6 +1,7 @@
#include <unistd.h>
#include "search_path.h"
#include "options.h"
#include "os.h"
#include <string.h>

#ifdef HAVE_MS_C_RUNTIME
Expand Down

0 comments on commit 9ec96f9

Please sign in to comment.