Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This file contains steps for "building" a C/C++ SDK. It is processed by | 5 # This file contains steps for "building" a C/C++ SDK. It is processed by |
| 6 # //mojo/sdk_build/build_sdk.py. | 6 # //mojo/sdk_build/build_sdk.py. |
| 7 # TODO(vtl): This isn't done yet. | 7 # TODO(vtl): This isn't done yet. |
| 8 | 8 |
| 9 EXCLUDE_FILES=[".*", "*.gn", "*.gni", "PRESUBMIT.py", "*_win.*"] | 9 EXCLUDE_FILES=[".*", "*.gn", "*.gni", "PRESUBMIT.py", "*_win.*"] |
| 10 EXCLUDE_PATHS=["*/tests/"] | 10 EXCLUDE_PATHS=["*/tests/*"] |
| 11 | |
| 12 CopyFiles("mojo/public", "third_party/mojo/public", recursive=False, | |
| 13 exclude_file_patterns=EXCLUDE_FILES) | |
| 11 | 14 |
| 12 CopyFiles("mojo/public/c", "third_party/mojo/public/c", recursive=True, | 15 CopyFiles("mojo/public/c", "third_party/mojo/public/c", recursive=True, |
| 13 exclude_file_patterns=EXCLUDE_FILES, | 16 exclude_file_patterns=EXCLUDE_FILES, |
| 14 exclude_path_patterns=EXCLUDE_PATHS) | 17 exclude_path_patterns=EXCLUDE_PATHS) |
| 15 CopyFiles("mojo/public/cpp", "third_party/mojo/public/cpp", recursive=True, | 18 CopyFiles("mojo/public/cpp", "third_party/mojo/public/cpp", recursive=True, |
| 16 exclude_file_patterns=EXCLUDE_FILES, | 19 exclude_file_patterns=EXCLUDE_FILES, |
| 17 exclude_path_patterns=EXCLUDE_PATHS+ | 20 exclude_path_patterns=EXCLUDE_PATHS+ |
| 18 ["mojo/public/cpp/test_support/*"]) | 21 ["mojo/public/cpp/test_support/*"]) |
| 19 CopyFiles("mojo/public", "third_party/mojo/public", recursive=False, | 22 |
| 20 exclude_file_patterns=EXCLUDE_FILES) | 23 # For simplicity, copy all of the bindings generators, even though we really |
| 24 # only need/want C++. | |
| 25 CopyFiles("mojo/public/tools/bindings", "third_party/mojo/tools/bindings", | |
|
vardhan
2016/02/17 22:31:08
do we need to include the mojo/public/third_party/
| |
| 26 recursive=True, | |
| 27 exclude_file_patterns=EXCLUDE_FILES, | |
| 28 exclude_path_patterns=EXCLUDE_PATHS+["*/mojom_tests/*"]) | |
| OLD | NEW |