diff options
author | Utkarsh Sanghi <usanghi@google.com> | 2015-09-14 08:20:27 -0700 |
---|---|---|
committer | Utkarsh Sanghi <usanghi@google.com> | 2015-09-14 08:20:27 -0700 |
commit | 52513d3e03bcefe0d9fe2248cfdd39f955f328ec (patch) | |
tree | 09e02829225deb52d33216303151bcd74427a389 | |
parent | bbef5dff2b94fef72012e721cd6124cd87621af4 (diff) | |
download | tpm-52513d3e03bcefe0d9fe2248cfdd39f955f328ec.tar.gz |
trunks: Build from AOSP
This CL allows for trunks to compile from its new source code location.
This CL also removes the common.mk symbolic link from trunks source code
directories.
Bug: 23901950
TEST=emerge-rambi trunks
Change-Id: Ie3e60b7183afe7e4b8a622ad58bf1252803099dc
l--------- | common.mk | 1 | ||||
-rw-r--r-- | trunks.gyp | 11 |
2 files changed, 8 insertions, 4 deletions
diff --git a/common.mk b/common.mk deleted file mode 120000 index 126e5b8..0000000 --- a/common.mk +++ /dev/null @@ -1 +0,0 @@ -../common-mk/common.mk
\ No newline at end of file @@ -16,7 +16,7 @@ { 'target_defaults': { - 'includes': ['../common-mk/common.gypi'], + 'includes': ['../../../platform2/common-mk/common.gypi'], 'variables': { 'deps': [ # This is a list of pkg-config dependencies 'libchrome-<(libbase_ver)', @@ -25,6 +25,11 @@ 'protobuf-lite', ], }, + 'include_dirs': [ + # We need this include dir because we include all the local code as + # "trunks/...". + '<(platform2_root)/../aosp/system/', + ], }, 'targets': [ { @@ -37,7 +42,7 @@ 'sources': [ '<(proto_in_dir)/dbus_interface.proto', ], - 'includes': ['../common-mk/protoc.gypi'], + 'includes': ['../../../platform2/common-mk/protoc.gypi'], }, { 'target_name': 'trunks', @@ -134,7 +139,7 @@ { 'target_name': 'trunks_testrunner', 'type': 'executable', - 'includes': ['../common-mk/common_test.gypi'], + 'includes': ['../../../platform2/common-mk/common_test.gypi'], 'sources': [ 'background_command_transceiver_test.cc', 'hmac_authorization_delegate_unittest.cc', |